HomeFreeBSD

crypto: Move CBC handling into enc_xform_aes_cbc.

Description

crypto: Move CBC handling into enc_xform_aes_cbc.

Add an IV to the context that is initialized by the reinit hook.
Encrypt and decrypt operations handle cipher block chaining along with
updating the IV saved in the context.

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

Details

Provenance
jhbAuthored on Dec 16 2021, 9:47 PM
Reviewer
markj
Differential Revision
D33487: crypto: Move CBC handling into enc_xform_aes_cbc.
Parents
rG246982c196f4: crypto: Consistently use AES instead of Rijndael128 for the AES-CBC cipher.
Branches
Unknown
Tags
Unknown