You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 rivejä
1.8 KiB

  1. # Test vectors from FIPS-197, Appendix C.
  2. Mode = Raw
  3. Key = 000102030405060708090a0b0c0d0e0f
  4. Plaintext = 00112233445566778899aabbccddeeff
  5. Ciphertext = 69c4e0d86a7b0430d8cdb78070b4c55a
  6. Mode = Raw
  7. Key = 000102030405060708090a0b0c0d0e0f1011121314151617
  8. Plaintext = 00112233445566778899aabbccddeeff
  9. Ciphertext = dda97ca4864cdfe06eaf70a0ec0d7191
  10. Mode = Raw
  11. Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
  12. Plaintext = 00112233445566778899aabbccddeeff
  13. Ciphertext = 8ea2b7ca516745bfeafc49904b496089
  14. # Test vectors from
  15. # http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf
  16. Mode = KeyWrap
  17. Key = 000102030405060708090a0b0c0d0e0f
  18. Plaintext = 00112233445566778899aabbccddeeff
  19. Ciphertext = 1fa68b0a8112b447aef34bd8fb5a7b829d3e862371d2cfe5
  20. Mode = KeyWrap
  21. Key = 000102030405060708090a0b0c0d0e0f1011121314151617
  22. Plaintext = 00112233445566778899aabbccddeeff
  23. Ciphertext = 96778b25ae6ca435f92b5b97c050aed2468ab8a17ad84e5d
  24. Mode = KeyWrap
  25. Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
  26. Plaintext = 00112233445566778899aabbccddeeff
  27. Ciphertext = 64e8c3f9ce0f5ba263e9777905818a2a93c8191e7d6e8ae7
  28. Mode = KeyWrap
  29. Key = 000102030405060708090a0b0c0d0e0f1011121314151617
  30. Plaintext = 00112233445566778899aabbccddeeff0001020304050607
  31. Ciphertext = 031d33264e15d33268f24ec260743edce1c6c7ddee725a936ba814915c6762d2
  32. Mode = KeyWrap
  33. Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
  34. Plaintext = 00112233445566778899aabbccddeeff0001020304050607
  35. Ciphertext = a8f9bc1612c68b3ff6e6f4fbe30e71e4769c8b80a32cb8958cd5d17d6b254da1
  36. Mode = KeyWrap
  37. Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
  38. Plaintext = 00112233445566778899aabbccddeeff000102030405060708090a0b0c0d0e0f
  39. Ciphertext = 28c9f404c4b810f4cbccb35cfb87f8263f5786e2d80ed326cbc7f0e71a99f43bfb988b9b7a02dd21