boringssl/crypto/cipher/aes_256_key_wrap_tests.txt
Adam Langley 93a3dcd572 Add AES Key Wrap mode.
This is needed in order to support Web Crypto.

https://code.google.com/p/chromium/issues/detail?id=396407

Change-Id: I900d8cad2716c2e3341eeae153659502326c9173
Reviewed-on: https://boringssl-review.googlesource.com/1335
Reviewed-by: Adam Langley <agl@google.com>
2014-07-28 21:32:39 +00:00

24 lines
740 B
Plaintext

# These test vectors have been taken from
# http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf
KEY: 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
NONCE:
IN: 00112233445566778899AABBCCDDEEFF
AD:
CT: 64E8C3F9CE0F5BA263E9777905818A2A
TAG: 93C8191E7D6E8AE7
KEY: 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
NONCE:
IN: 00112233445566778899AABBCCDDEEFF0001020304050607
AD:
CT: A8F9BC1612C68B3FF6E6F4FBE30E71E4769C8B80A32CB895
TAG: 8CD5D17D6B254DA1
KEY: 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
NONCE:
IN: 00112233445566778899AABBCCDDEEFF000102030405060708090A0B0C0D0E0F
AD:
CT: 28C9F404C4B810F4CBCCB35CFB87F8263F5786E2D80ED326CBC7F0E71A99F43B
TAG: FB988B9B7A02DD21