rust-crypto
rust-crypto copied to clipboard
AeadEncryptor::encrypt() does not actually have a parameter for associated data
Compare to the ad
parameter in ring.
In Rust-Crypto the associated data should be passed to the crypto::some_module::SomeAeadEncryptorAlgo::new()
function, and not the some_aead_encryptor_instance.encrypt()
.