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)
Tue, Sep 24, 3:15 AM
Unknown Object (File)
Tue, Sep 24, 3:15 AM
Unknown Object (File)
Tue, Sep 17, 2:52 AM
Unknown Object (File)
Sun, Sep 15, 10:25 PM
Unknown Object (File)
Wed, Sep 11, 3:44 PM
Unknown Object (File)
Tue, Sep 10, 2:54 AM
Unknown Object (File)
Sun, Sep 8, 9:18 PM
Unknown Object (File)
Fri, Sep 6, 4:03 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
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 43206
Build 40094: arc lint + arc unit