HomeFreeBSD

crypto: Fix the NULL_HMAC finalizer

Description

crypto: Fix the NULL_HMAC finalizer

The current implementation leaves the digest buffer partially
uninitialized.

Reported by: syzkaller
Reviewed by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35547

Details

Provenance
markjAuthored on Jul 1 2022, 3:04 PM
Reviewer
jhb
Differential Revision
D35547: crypto: Fix the NULL_HMAC finalizer
Parents
rGb72f1f451689: ena: Make first_interrupt a uint8_t
Branches
Unknown
Tags
Unknown