HomeFreeBSD

ccp, ccr: Simplify drivers to assume an AES-GCM IV length of 12.

Description

ccp, ccr: Simplify drivers to assume an AES-GCM IV length of 12.

While here, use crypto_read_iv() in a few more places in ccr(4) that I
missed previously.

Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D32104

(cherry picked from commit cb128893b92994456107d6ca722fdf6e5028eacc)

Details

Provenance
jhbAuthored on Oct 6 2021, 9:08 PM
Differential Revision
D32104: ccp, ccr: Simplify drivers to assume an AES-GCM IV length of 12.
Parents
rG11db133ecad7: cryptodev: Use 'csp' in the handlers for requests.
Branches
Unknown
Tags
Unknown