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

Details

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