Skip to main content

ccm_decrypt

Function ccm_decrypt 

Source
pub fn ccm_decrypt(
    key: &Key,
    nonce: &[u8; 13],
    aad: &[u8],
    sealed: &[u8],
    mic_len: usize,
) -> Option<Vec<u8>>
Expand description

AES-CCM decryption of ciphertext then MIC; None when it does not authenticate.