Function hacl::aead::decrypt

source ยท
pub fn decrypt(
    alg: Algorithm,
    k: &[u8],
    ctxt: &[u8],
    tag: &[u8],
    iv: &[u8],
    aad: &Aad,
) -> Result<Vec<u8>, Error>
Expand description

Single-shot API for AEAD decryption.