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
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 28555 Build 26605: arc lint + arc unit