Negative lengths are always invalid. The key length should also
be zero for hash algorithms that do not accept a key.
Details
Details
- Reviewers
cem jmg - Commits
- rS356561: Add stricter checking on mac key lengths.
- cryptocheck passes
- test program that provokes a panic with a length of -1 now fails with an error
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable