HomeFreeBSD

crypto: Refactor software support for AEAD ciphers.

Description

crypto: Refactor software support for AEAD ciphers.

Extend struct enc_xform to add new members to handle auth operations
for AEAD ciphers. In particular, AEAD operations in cryptosoft no
longer use a struct auth_hash. Instead, the setkey and reinit methods
of struct enc_xform are responsible for initializing both the cipher
and auth state.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33196

Details

Provenance
jhbAuthored on Dec 9 2021, 7:52 PM
Reviewer
markj
Differential Revision
D33196: crypto: Refactor software support for AEAD ciphers.
Parents
rG356c922f74bf: GMAC: Reset initial hash value and counter in AES_GMAC_Reinit().
Branches
Unknown
Tags
Unknown