HomeFreeBSD

cryptosoft: Reuse 'blk' to hold the initial nonce in swcr_gmac.

Description

cryptosoft: Reuse 'blk' to hold the initial nonce in swcr_gmac.

Reusing the storage removes the need for an additional explicit_bzero.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33526

Details

Provenance
jhbAuthored on Dec 17 2021, 9:58 PM
Reviewer
markj
Differential Revision
D33526: cryptosoft: Reuse 'blk' to hold the initial nonce in swcr_gmac.
Parents
rG49bb13076532: cryptosoft: Remove unused 'iv' in swcr_ccm_cbc_mac.
Branches
Unknown
Tags
Unknown