Page MenuHomeFreeBSD

GMAC: Reset initial hash value and counter in AES_GMAC_Reinit().
ClosedPublic

Authored by jhb on Dec 7 2021, 12:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 11:27 AM
Unknown Object (File)
Fri, Nov 28, 12:29 AM
Unknown Object (File)
Fri, Nov 28, 12:28 AM
Unknown Object (File)
Tue, Nov 25, 5:31 AM
Unknown Object (File)
Nov 19 2025, 6:24 AM
Unknown Object (File)
Nov 14 2025, 11:33 PM
Unknown Object (File)
Oct 27 2025, 11:10 PM
Unknown Object (File)
Oct 27 2025, 2:16 AM
Subscribers

Details

Summary

Previously, these values were only cleared in AES_GMAC_Init(), so a
second set of operations could reuse the final hash as the initial
hash. Currently this bug does not trigger in cryptosoft as existing
GMAC and GCM operations always use an on-stack auth context
initialized from a template context.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable