gcm_decrypt

Function gcm_decrypt 

Source
fn gcm_decrypt<Aes, NonceSize, TagSize>(
    key: &Key<Aes>,
    ciphertext: &[u8],
    iv: &[u8],
    additional_data: &[u8],
) -> Result<Vec<u8>, Error>
where Aes: BlockCipher + BlockSizeUser<BlockSize = U16> + BlockEncrypt + KeyInit, NonceSize: ArrayLength<u8>, TagSize: TagSize,
Expand description