HomeFreeBSD

crypto: Move CBC handling into enc_xform_camellia.

Description

crypto: Move CBC handling into enc_xform_camellia.

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/D33488

Details

Provenance
jhbAuthored on Dec 16 2021, 9:48 PM
Reviewer
markj
Differential Revision
D33488: crypto: Move CBC handling into enc_xform_camellia.
Parents
rGd55df8dcf7ec: crypto: Move CBC handling into enc_xform_aes_cbc.
Branches
Unknown
Tags
Unknown