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
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 8179db52c2c8692cdabf818bf1b7fdf3ad43b2db)

Details

Provenance
markjAuthored on Jul 1 2022, 3:04 PM
Parents
rGa6bc861c2090: rc.subr: use _pidcmd to determine pid for protect
Branches
Unknown
Tags
Unknown