Function hacl::hazmat::chacha20_poly1305::decrypt

source ยท
pub fn decrypt(
    key: &Chacha20Key,
    ctxt_msg: &mut [u8],
    iv: Iv,
    aad: &[u8],
    tag: &Tag,
) -> Result<(), Error>
Expand description

Portable 32-bit in-place decrypt.

There are no special hardware requirements to call this function.