| # 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 |
| |
| |
| # Test vectors from https://tools.ietf.org/html/rfc5649#section-6 |
| |
| Mode = KeyWrapWithPadding |
| Key = 5840df6e29b02af1ab493b705bf16ea1ae8338f4dcc176a8 |
| Plaintext = c37b7e6492584340bed12207808941155068f738 |
| Ciphertext = 138bdeaa9b8fa7fc61f97742e72248ee5ae6ae5360d1ae6a5f54f373fa543b6a |
| |
| Mode = KeyWrapWithPadding |
| Key = 5840df6e29b02af1ab493b705bf16ea1ae8338f4dcc176a8 |
| Plaintext = 466f7250617369 |
| Ciphertext = afbeb0f07dfbf5419200f2ccb50bb24f |