You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works only because the implementation is not generic over block cipher. If I remember correctly the MAC issue, your code will not work for a generic GCM implementation.
Activity
tarcieri commentedon Feb 4, 2021
I'm not sure this trait is necessary/helpful as it seems
Fromis sufficient to solve the problem of converting a cipher into an AEAD?Here's an example from the
aes-gcmcrate:https://github.com/RustCrypto/AEADs/blob/4fe07ab/aes-gcm/src/lib.rs#L203-L224
newpavlov commentedon Feb 6, 2021
It works only because the implementation is not generic over block cipher. If I remember correctly the MAC issue, your code will not work for a generic GCM implementation.
build(deps): bump crypto-bigint from 0.3.0 to 0.3.2 (RustCrypto#259)