Skip to main content

gcm_encrypt_in_place

Function gcm_encrypt_in_place 

Source
fn gcm_encrypt_in_place(
    key: &[u8],
    iv: &[u8; 12],
    aad: &[u8],
    buf: &mut [u8],
) -> Result<[u8; 12], CipherError>
Expand description

Encrypts buf in place and returns the 12-octet authentication tag.