boringssl/crypto/fipsmodule/aes
David Benjamin 179c4e257a Update Wycheproof, add keywrap tests, and fix a bug.
The bug, courtesy of Wycheproof, is that AES key wrap requires the input
be at least two blocks, not one. This also matches the OpenSSL behavior
of those two APIs.

Update-Note: AES_wrap_key with in_len = 8 and AES_unwrap_key with
in_len = 16 will no longer work.

Change-Id: I5fc63ebc16920c2f9fd488afe8c544e0647d7507
Reviewed-on: https://boringssl-review.googlesource.com/27925
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2018-05-04 17:08:44 +00:00
..
asm Always use adr with __thumb2__. 2018-02-22 22:28:15 +00:00
aes_test.cc Update Wycheproof, add keywrap tests, and fix a bug. 2018-05-04 17:08:44 +00:00
aes_tests.txt
aes.c Drop FULL_UNROLL code in aes.c. 2018-05-03 16:10:14 +00:00
internal.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
key_wrap.c Update Wycheproof, add keywrap tests, and fix a bug. 2018-05-04 17:08:44 +00:00
mode_wrappers.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00