8c62d9dd8b
Change-Id: Id94e71bce4dca25e77f52f38c07e0489ca072d2d Reviewed-on: https://boringssl-review.googlesource.com/15027 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: Adam Langley <agl@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
# Test vectors from FIPS-197, Appendix C.
|
|
|
|
Mode = Raw
|
|
Key = 000102030405060708090a0b0c0d0e0f
|
|
Plaintext = 00112233445566778899aabbccddeeff
|
|
Ciphertext = 69c4e0d86a7b0430d8cdb78070b4c55a
|
|
|
|
Mode = Raw
|
|
Key = 000102030405060708090a0b0c0d0e0f1011121314151617
|
|
Plaintext = 00112233445566778899aabbccddeeff
|
|
Ciphertext = dda97ca4864cdfe06eaf70a0ec0d7191
|
|
|
|
Mode = Raw
|
|
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
|
|
Plaintext = 00112233445566778899aabbccddeeff
|
|
Ciphertext = 8ea2b7ca516745bfeafc49904b496089
|
|
|
|
|
|
# Test vectors from
|
|
# http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf
|
|
|
|
Mode = KeyWrap
|
|
Key = 000102030405060708090a0b0c0d0e0f
|
|
Plaintext = 00112233445566778899aabbccddeeff
|
|
Ciphertext = 1fa68b0a8112b447aef34bd8fb5a7b829d3e862371d2cfe5
|
|
|
|
Mode = KeyWrap
|
|
Key = 000102030405060708090a0b0c0d0e0f1011121314151617
|
|
Plaintext = 00112233445566778899aabbccddeeff
|
|
Ciphertext = 96778b25ae6ca435f92b5b97c050aed2468ab8a17ad84e5d
|
|
|
|
Mode = KeyWrap
|
|
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
|
|
Plaintext = 00112233445566778899aabbccddeeff
|
|
Ciphertext = 64e8c3f9ce0f5ba263e9777905818a2a93c8191e7d6e8ae7
|
|
|
|
Mode = KeyWrap
|
|
Key = 000102030405060708090a0b0c0d0e0f1011121314151617
|
|
Plaintext = 00112233445566778899aabbccddeeff0001020304050607
|
|
Ciphertext = 031d33264e15d33268f24ec260743edce1c6c7ddee725a936ba814915c6762d2
|
|
|
|
Mode = KeyWrap
|
|
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
|
|
Plaintext = 00112233445566778899aabbccddeeff0001020304050607
|
|
Ciphertext = a8f9bc1612c68b3ff6e6f4fbe30e71e4769c8b80a32cb8958cd5d17d6b254da1
|
|
|
|
Mode = KeyWrap
|
|
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
|
|
Plaintext = 00112233445566778899aabbccddeeff000102030405060708090a0b0c0d0e0f
|
|
Ciphertext = 28c9f404c4b810f4cbccb35cfb87f8263f5786e2d80ed326cbc7f0e71a99f43bfb988b9b7a02dd21
|