HomeFreeBSD

crypto: Support multiple nonce lengths for AES-CCM.

Description

crypto: Support multiple nonce lengths for AES-CCM.

Permit nonces of lengths 7 through 13 in the OCF framework and the
cryptosoft driver. A helper function (ccm_max_payload_length) can be
used in OCF drivers to reject CCM requests which are too large for the
specified nonce length.

Reviewed by: sef
Sponsored by: Chelsio Communications, The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32111

(cherry picked from commit ae18720d2792287c9ec658404f1a3173014d4979)

Details

Provenance
jhbAuthored on Oct 6 2021, 9:08 PM
Reviewer
sef
Differential Revision
D32111: crypto: Support multiple nonce lengths for AES-CCM.
Parents
rG8581b350dda4: cryptocheck: Support multiple IV sizes for AES-CCM.
Branches
Unknown
Tags
Unknown