Function hacl::aead::encrypt_in_place
source ยท pub fn encrypt_in_place(
alg: Algorithm,
k: &[u8],
payload: &mut [u8],
iv: &[u8],
aad: &Aad,
) -> Result<Vec<u8>, Error>
Expand description
Single-shot API for in place AEAD encryption.