HomeFreeBSD

crypto: Encrypt the XORed input block for Camellia-CBC.

Description

crypto: Encrypt the XORed input block for Camellia-CBC.

This fixes a regression in the previous change to move CBC chaining
into enc_xform_camellia which passed the raw input into the encrypt
function (thus not actually doing the chaining). This still works
when using the same buffer for input and output which is why my
initial testing with cryptocheck didn't catch it.

Fixes: f84d708b484b crypto: Move CBC handling into enc_xform_camellia.
Sponsored by: The FreeBSD Foundation

Details

Provenance
jhbAuthored on Dec 18 2021, 12:46 AM
Parents
rG04781697f8e6: cryptosoft: Use POLY1305_BLOCK_LEN instead of a magic number.
Branches
Unknown
Tags
Unknown