HomeFreeBSD

Add stricter checking on mac key lengths.

Description

Add stricter checking on mac key lengths.

Negative lengths are always invalid. The key length should also
be zero for hash algorithms that do not accept a key.

admbugs: 949
Reported by: Yuval Kanarenstein <yuvalk@ssd-disclosure.com>
Reviewed by: cem
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D23094

Details

Provenance
jhbAuthored on
Reviewer
cem
Differential Revision
D23094: Add stricter checking on mac key lengths.
Parents
rS356560: Add note to remind me there are three choices for arm32 floating point.
Branches
Unknown
Tags
Unknown