HomeFreeBSD

cryptosoft: Consolidate calls to explicit_bzero.

Description

cryptosoft: Consolidate calls to explicit_bzero.

Group sensitive on-stack variables into anonymous structs so that they
can be cleared with a single call to explicit_bzero rather than
multiple calls.

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

Details

Provenance
jhbAuthored on Dec 17 2021, 9:58 PM
Reviewer
markj
Differential Revision
D33527: cryptosoft: Consolidate calls to explicit_bzero.
Parents
rG1c9b25a5e8b5: cryptosoft: Reuse 'blk' to hold the initial nonce in swcr_gmac.
Branches
Unknown
Tags
Unknown