Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

cipher_test.txt 22 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  1. # RC4 tests (from rc4test)
  2. Cipher = RC4
  3. Key = 0123456789abcdef0123456789abcdef
  4. Plaintext = 0123456789abcdef
  5. Ciphertext = 75b7878099e0c596
  6. Cipher = RC4
  7. Key = 0123456789abcdef0123456789abcdef
  8. Plaintext = 0000000000000000
  9. Ciphertext = 7494c2e7104b0879
  10. Cipher = RC4
  11. Key = 00000000000000000000000000000000
  12. Plaintext = 0000000000000000
  13. Ciphertext = de188941a3375d3a
  14. Cipher = RC4
  15. Key = ef012345ef012345ef012345ef012345
  16. Plaintext = 0000000000000000000000000000000000000000
  17. Ciphertext = d6a141a7ec3c38dfbd615a1162e1c7ba36b67858
  18. Cipher = RC4
  19. Key = 0123456789abcdef0123456789abcdef
  20. Plaintext = 123456789ABCDEF0123456789ABCDEF0123456789ABCDEF012345678
  21. Ciphertext = 66a0949f8af7d6891f7f832ba833c00c892ebe30143ce28740011ecf
  22. Cipher = RC4
  23. Key = ef012345ef012345ef012345ef012345
  24. Plaintext = 00000000000000000000
  25. Ciphertext = d6a141a7ec3c38dfbd61
  26. # DES EDE3 CBC tests (from destest)
  27. Cipher = DES-EDE3-CBC
  28. Key = 0123456789abcdeff1e0d3c2b5a49786fedcba9876543210
  29. IV = fedcba9876543210
  30. Plaintext = 37363534333231204E6F77206973207468652074696D6520666F722000000000
  31. Ciphertext = 3FE301C962AC01D02213763C1CBD4CDC799657C064ECF5D41C673812CFDE9675
  32. # AES 128 ECB tests (from FIPS-197 test vectors, encrypt)
  33. Cipher = AES-128-ECB
  34. Key = 000102030405060708090A0B0C0D0E0F
  35. Operation = ENCRYPT
  36. Plaintext = 00112233445566778899AABBCCDDEEFF
  37. Ciphertext = 69C4E0D86A7B0430D8CDB78070B4C55A
  38. # AES 256 ECB tests (from FIPS-197 test vectors, encrypt)
  39. Cipher = AES-256-ECB
  40. Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
  41. Operation = ENCRYPT
  42. Plaintext = 00112233445566778899AABBCCDDEEFF
  43. Ciphertext = 8EA2B7CA516745BFEAFC49904B496089
  44. # AES tests from NIST document SP800-38A
  45. # For all ECB encrypts and decrypts, the transformed sequence is
  46. # AES-bits-ECB:key::plaintext:ciphertext:encdec
  47. # ECB-AES128.Encrypt and ECB-AES128.Decrypt
  48. Cipher = AES-128-ECB
  49. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  50. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  51. Ciphertext = 3AD77BB40D7A3660A89ECAF32466EF97
  52. Cipher = AES-128-ECB
  53. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  54. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  55. Ciphertext = F5D3D58503B9699DE785895A96FDBAAF
  56. Cipher = AES-128-ECB
  57. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  58. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  59. Ciphertext = 43B1CD7F598ECE23881B00E3ED030688
  60. Cipher = AES-128-ECB
  61. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  62. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  63. Ciphertext = 7B0C785E27E8AD3F8223207104725DD4
  64. # ECB-AES256.Encrypt and ECB-AES256.Decrypt
  65. Cipher = AES-256-ECB
  66. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  67. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  68. Ciphertext = F3EED1BDB5D2A03C064B5A7E3DB181F8
  69. Cipher = AES-256-ECB
  70. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  71. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  72. Ciphertext = 591CCB10D410ED26DC5BA74A31362870
  73. Cipher = AES-256-ECB
  74. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  75. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  76. Ciphertext = B6ED21B99CA6F4F9F153E7B1BEAFED1D
  77. Cipher = AES-256-ECB
  78. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  79. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  80. Ciphertext = 23304B7A39F9F3FF067D8D8F9E24ECC7
  81. # For all CBC encrypts and decrypts, the transformed sequence is
  82. # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
  83. # CBC-AES128.Encrypt and CBC-AES128.Decrypt
  84. Cipher = AES-128-CBC
  85. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  86. IV = 000102030405060708090A0B0C0D0E0F
  87. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  88. Ciphertext = 7649ABAC8119B246CEE98E9B12E9197D
  89. Cipher = AES-128-CBC
  90. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  91. IV = 7649ABAC8119B246CEE98E9B12E9197D
  92. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  93. Ciphertext = 5086CB9B507219EE95DB113A917678B2
  94. Cipher = AES-128-CBC
  95. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  96. IV = 5086CB9B507219EE95DB113A917678B2
  97. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  98. Ciphertext = 73BED6B8E3C1743B7116E69E22229516
  99. Cipher = AES-128-CBC
  100. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  101. IV = 73BED6B8E3C1743B7116E69E22229516
  102. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  103. Ciphertext = 3FF1CAA1681FAC09120ECA307586E1A7
  104. # CBC-AES256.Encrypt and CBC-AES256.Decrypt
  105. Cipher = AES-256-CBC
  106. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  107. IV = 000102030405060708090A0B0C0D0E0F
  108. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  109. Ciphertext = F58C4C04D6E5F1BA779EABFB5F7BFBD6
  110. Cipher = AES-256-CBC
  111. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  112. IV = F58C4C04D6E5F1BA779EABFB5F7BFBD6
  113. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  114. Ciphertext = 9CFC4E967EDB808D679F777BC6702C7D
  115. Cipher = AES-256-CBC
  116. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  117. IV = 9CFC4E967EDB808D679F777BC6702C7D
  118. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  119. Ciphertext = 39F23369A9D9BACFA530E26304231461
  120. Cipher = AES-256-CBC
  121. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  122. IV = 39F23369A9D9BACFA530E26304231461
  123. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  124. Ciphertext = B2EB05E2C39BE9FCDA6C19078C6A9D1B
  125. # AES Counter test vectors from RFC3686
  126. Cipher = AES-128-CTR
  127. Key = AE6852F8121067CC4BF7A5765577F39E
  128. IV = 00000030000000000000000000000001
  129. Operation = ENCRYPT
  130. Plaintext = 53696E676C6520626C6F636B206D7367
  131. Ciphertext = E4095D4FB7A7B3792D6175A3261311B8
  132. Cipher = AES-128-CTR
  133. Key = 7E24067817FAE0D743D6CE1F32539163
  134. IV = 006CB6DBC0543B59DA48D90B00000001
  135. Operation = ENCRYPT
  136. Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
  137. Ciphertext = 5104A106168A72D9790D41EE8EDAD388EB2E1EFC46DA57C8FCE630DF9141BE28
  138. Cipher = AES-128-CTR
  139. Key = 7691BE035E5020A8AC6E618529F9A0DC
  140. IV = 00E0017B27777F3F4A1786F000000001
  141. Operation = ENCRYPT
  142. Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
  143. Ciphertext = C1CF48A89F2FFDD9CF4652E9EFDB72D74540A42BDE6D7836D59A5CEAAEF3105325B2072F
  144. Cipher = AES-256-CTR
  145. Key = 776BEFF2851DB06F4C8A0542C8696F6C6A81AF1EEC96B4D37FC1D689E6C1C104
  146. IV = 00000060DB5672C97AA8F0B200000001
  147. Operation = ENCRYPT
  148. Plaintext = 53696E676C6520626C6F636B206D7367
  149. Ciphertext = 145AD01DBF824EC7560863DC71E3E0C0
  150. Cipher = AES-256-CTR
  151. Key = F6D66D6BD52D59BB0796365879EFF886C66DD51A5B6A99744B50590C87A23884
  152. IV = 00FAAC24C1585EF15A43D87500000001
  153. Operation = ENCRYPT
  154. Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
  155. Ciphertext = F05E231B3894612C49EE000B804EB2A9B8306B508F839D6A5530831D9344AF1C
  156. Cipher = AES-256-CTR
  157. Key = FF7A617CE69148E4F1726E2F43581DE2AA62D9F805532EDFF1EED687FB54153D
  158. IV = 001CC5B751A51D70A1C1114800000001
  159. Operation = ENCRYPT
  160. Plaintext = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223
  161. Ciphertext = EB6C52821D0BBBF7CE7594462ACA4FAAB407DF866569FD07F48CC0B583D6071F1EC0E6B8
  162. # AES GCM test vectors from http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
  163. Cipher = AES-128-GCM
  164. Key = 00000000000000000000000000000000
  165. IV = 000000000000000000000000
  166. Plaintext =
  167. Ciphertext =
  168. AAD =
  169. Tag = 58e2fccefa7e3061367f1d57a4e7455a
  170. Cipher = AES-128-GCM
  171. Key = 00000000000000000000000000000000
  172. IV = 000000000000000000000000
  173. Plaintext = 00000000000000000000000000000000
  174. Ciphertext = 0388dace60b6a392f328c2b971b2fe78
  175. AAD =
  176. Tag = ab6e47d42cec13bdf53a67b21257bddf
  177. Cipher = AES-128-GCM
  178. Key = feffe9928665731c6d6a8f9467308308
  179. IV = cafebabefacedbaddecaf888
  180. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
  181. Ciphertext = 42831ec2217774244b7221b784d0d49ce3aa212f2c02a4e035c17e2329aca12e21d514b25466931c7d8f6a5aac84aa051ba30b396a0aac973d58e091473f5985
  182. AAD =
  183. Tag = 4d5c2af327cd64a62cf35abd2ba6fab4
  184. Cipher = AES-128-GCM
  185. Key = feffe9928665731c6d6a8f9467308308
  186. IV = cafebabefacedbaddecaf888
  187. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
  188. Ciphertext = 42831ec2217774244b7221b784d0d49ce3aa212f2c02a4e035c17e2329aca12e21d514b25466931c7d8f6a5aac84aa051ba30b396a0aac973d58e091
  189. AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
  190. Tag = 5bc94fbc3221a5db94fae95ae7121a47
  191. Cipher = AES-128-GCM
  192. Key = feffe9928665731c6d6a8f9467308308
  193. IV = cafebabefacedbad
  194. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
  195. Ciphertext = 61353b4c2806934a777ff51fa22a4755699b2a714fcdc6f83766e5f97b6c742373806900e49f24b22b097544d4896b424989b5e1ebac0f07c23f4598
  196. AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
  197. Tag = 3612d2e79e3b0785561be14aaca2fccb
  198. Cipher = AES-128-GCM
  199. Key = feffe9928665731c6d6a8f9467308308
  200. IV = 9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
  201. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
  202. Ciphertext = 8ce24998625615b603a033aca13fb894be9112a5c3a211a8ba262a3cca7e2ca701e4a9a4fba43c90ccdcb281d48c7c6fd62875d2aca417034c34aee5
  203. AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
  204. Tag = 619cc5aefffe0bfa462af43c1699d050
  205. Cipher = AES-256-GCM
  206. Key = 0000000000000000000000000000000000000000000000000000000000000000
  207. IV = 000000000000000000000000
  208. Plaintext =
  209. Ciphertext =
  210. AAD =
  211. Tag = 530f8afbc74536b9a963b4f1c4cb738b
  212. Cipher = AES-256-GCM
  213. Key = 0000000000000000000000000000000000000000000000000000000000000000
  214. IV = 000000000000000000000000
  215. Plaintext = 00000000000000000000000000000000
  216. Ciphertext = cea7403d4d606b6e074ec5d3baf39d18
  217. AAD =
  218. Tag = d0d1c8a799996bf0265b98b5d48ab919
  219. Cipher = AES-256-GCM
  220. Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
  221. IV = cafebabefacedbaddecaf888
  222. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
  223. Ciphertext = 522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662898015ad
  224. AAD =
  225. Tag = b094dac5d93471bdec1a502270e3cc6c
  226. Cipher = AES-256-GCM
  227. Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
  228. IV = cafebabefacedbaddecaf888
  229. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
  230. Ciphertext = 522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662
  231. AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
  232. Tag = 76fc6ece0f4e1768cddf8853bb2d551b
  233. Cipher = AES-256-GCM
  234. Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
  235. IV = cafebabefacedbad
  236. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
  237. Ciphertext = c3762df1ca787d32ae47c13bf19844cbaf1ae14d0b976afac52ff7d79bba9de0feb582d33934a4f0954cc2363bc73f7862ac430e64abe499f47c9b1f
  238. AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
  239. Tag = 3a337dbf46a792c45e454913fe2ea8f2
  240. Cipher = AES-256-GCM
  241. Key = feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
  242. IV = 9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
  243. Plaintext = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
  244. Ciphertext = 5a8def2f0c9e53f1f75d7853659e2a20eeb2b22aafde6419a058ab4f6f746bf40fc0c3b780f244452da3ebf1c5d82cdea2418997200ef82e44ae7e3f
  245. AAD = feedfacedeadbeeffeedfacedeadbeefabaddad2
  246. Tag = a44a8266ee1c8eb0c8b5d4cf5ae9f19a
  247. # local add-ons, primarily streaming ghash tests
  248. # 128 bytes aad
  249. Cipher = AES-128-GCM
  250. Key = 00000000000000000000000000000000
  251. IV = 000000000000000000000000
  252. Plaintext =
  253. Ciphertext =
  254. AAD = d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a721c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662898015ad
  255. Tag = 5fea793a2d6f974d37e68e0cb8ff9492
  256. # 48 bytes plaintext
  257. Cipher = AES-128-GCM
  258. Key = 00000000000000000000000000000000
  259. IV = 000000000000000000000000
  260. Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  261. Ciphertext = 0388dace60b6a392f328c2b971b2fe78f795aaab494b5923f7fd89ff948bc1e0200211214e7394da2089b6acd093abe0
  262. AAD =
  263. Tag = 9dd0a376b08e40eb00c35f29f9ea61a4
  264. # 80 bytes plaintext
  265. Cipher = AES-128-GCM
  266. Key = 00000000000000000000000000000000
  267. IV = 000000000000000000000000
  268. Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  269. Ciphertext = 0388dace60b6a392f328c2b971b2fe78f795aaab494b5923f7fd89ff948bc1e0200211214e7394da2089b6acd093abe0c94da219118e297d7b7ebcbcc9c388f28ade7d85a8ee35616f7124a9d5270291
  270. AAD =
  271. Tag = 98885a3a22bd4742fe7b72172193b163
  272. # 128 bytes plaintext
  273. Cipher = AES-128-GCM
  274. Key = 00000000000000000000000000000000
  275. IV = 000000000000000000000000
  276. Plaintext = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  277. Ciphertext = 0388dace60b6a392f328c2b971b2fe78f795aaab494b5923f7fd89ff948bc1e0200211214e7394da2089b6acd093abe0c94da219118e297d7b7ebcbcc9c388f28ade7d85a8ee35616f7124a9d527029195b84d1b96c690ff2f2de30bf2ec89e00253786e126504f0dab90c48a30321de3345e6b0461e7c9e6c6b7afedde83f40
  278. AAD =
  279. Tag = cac45f60e31efd3b5a43b98a22ce1aa1
  280. # 192 bytes plaintext, iv is chosen so that initial counter LSB is 0xFF
  281. Cipher = AES-128-GCM
  282. Key = 00000000000000000000000000000000
  283. IV = ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  284. Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  285. Ciphertext = 56b3373ca9ef6e4a2b64fe1e9a17b61425f10d47a75a5fce13efc6bc784af24f4141bdd48cf7c770887afd573cca5418a9aeffcd7c5ceddfc6a78397b9a85b499da558257267caab2ad0b23ca476a53cb17fb41c4b8b475cb4f3f7165094c229c9e8c4dc0a2a5ff1903e501511221376a1cdb8364c5061a20cae74bc4acd76ceb0abc9fd3217ef9f8c90be402ddf6d8697f4f880dff15bfb7a6b28241ec8fe183c2d59e3f9dfff653c7126f0acb9e64211f42bae12af462b1070bef1ab5e3606
  286. AAD =
  287. Tag = 566f8ef683078bfdeeffa869d751a017
  288. # 288 bytes plaintext, iv is chosen so that initial counter LSB is 0xFF
  289. Cipher = AES-128-GCM
  290. Key = 00000000000000000000000000000000
  291. IV = ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  292. Plaintext = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  293. Ciphertext = 56b3373ca9ef6e4a2b64fe1e9a17b61425f10d47a75a5fce13efc6bc784af24f4141bdd48cf7c770887afd573cca5418a9aeffcd7c5ceddfc6a78397b9a85b499da558257267caab2ad0b23ca476a53cb17fb41c4b8b475cb4f3f7165094c229c9e8c4dc0a2a5ff1903e501511221376a1cdb8364c5061a20cae74bc4acd76ceb0abc9fd3217ef9f8c90be402ddf6d8697f4f880dff15bfb7a6b28241ec8fe183c2d59e3f9dfff653c7126f0acb9e64211f42bae12af462b1070bef1ab5e3606872ca10dee15b3249b1a1b958f23134c4bccb7d03200bce420a2f8eb66dcf3644d1423c1b5699003c13ecef4bf38a3b60eedc34033bac1902783dc6d89e2e774188a439c7ebcc0672dbda4ddcfb2794613b0be41315ef778708a70ee7d75165c
  294. AAD =
  295. Tag = 8b307f6b33286d0ab026a9ed3fe1e85f
  296. # 80 bytes plaintext, submitted by Intel
  297. Cipher = AES-128-GCM
  298. Key = 843ffcf5d2b72694d19ed01d01249412
  299. IV = dbcca32ebf9b804617c3aa9e
  300. Plaintext = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f
  301. Ciphertext = 6268c6fa2a80b2d137467f092f657ac04d89be2beaa623d61b5a868c8f03ff95d3dcee23ad2f1ab3a6c80eaf4b140eb05de3457f0fbc111a6b43d0763aa422a3013cf1dc37fe417d1fbfc449b75d4cc5
  302. AAD = 00000000000000000000000000000000101112131415161718191a1b1c1d1e1f
  303. Tag = 3b629ccfbc1119b7319e1dce2cd6fd6d
  304. Cipher = AES-128-GCM
  305. Key = 31323334353637383930313233343536
  306. IV = 31323334353637383930313233343536
  307. Plaintext = 48656c6c6f2c20576f726c64
  308. Ciphertext = cec189d0e8419b90fb16d555
  309. Tag = 32893832a8d609224d77c2e56a922282
  310. AAD =
  311. # OFB tests from OpenSSL upstream.
  312. # OFB-AES128.Encrypt
  313. Cipher = AES-128-OFB
  314. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  315. IV = 000102030405060708090A0B0C0D0E0F
  316. Operation = ENCRYPT
  317. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  318. Ciphertext = 3B3FD92EB72DAD20333449F8E83CFB4A
  319. Cipher = AES-128-OFB
  320. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  321. IV = 50FE67CC996D32B6DA0937E99BAFEC60
  322. Operation = ENCRYPT
  323. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  324. Ciphertext = 7789508D16918F03F53C52DAC54ED825
  325. Cipher = AES-128-OFB
  326. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  327. IV = D9A4DADA0892239F6B8B3D7680E15674
  328. Operation = ENCRYPT
  329. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  330. Ciphertext = 9740051E9C5FECF64344F7A82260EDCC
  331. Cipher = AES-128-OFB
  332. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  333. IV = A78819583F0308E7A6BF36B1386ABF23
  334. Operation = ENCRYPT
  335. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  336. Ciphertext = 304C6528F659C77866A510D9C1D6AE5E
  337. # OFB-AES128.Decrypt
  338. Cipher = AES-128-OFB
  339. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  340. IV = 000102030405060708090A0B0C0D0E0F
  341. Operation = DECRYPT
  342. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  343. Ciphertext = 3B3FD92EB72DAD20333449F8E83CFB4A
  344. Cipher = AES-128-OFB
  345. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  346. IV = 50FE67CC996D32B6DA0937E99BAFEC60
  347. Operation = DECRYPT
  348. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  349. Ciphertext = 7789508D16918F03F53C52DAC54ED825
  350. Cipher = AES-128-OFB
  351. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  352. IV = D9A4DADA0892239F6B8B3D7680E15674
  353. Operation = DECRYPT
  354. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  355. Ciphertext = 9740051E9C5FECF64344F7A82260EDCC
  356. Cipher = AES-128-OFB
  357. Key = 2B7E151628AED2A6ABF7158809CF4F3C
  358. IV = A78819583F0308E7A6BF36B1386ABF23
  359. Operation = DECRYPT
  360. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  361. Ciphertext = 304C6528F659C77866A510D9C1D6AE5E
  362. # OFB-AES256.Encrypt
  363. Cipher = AES-256-OFB
  364. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  365. IV = 000102030405060708090A0B0C0D0E0F
  366. Operation = ENCRYPT
  367. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  368. Ciphertext = DC7E84BFDA79164B7ECD8486985D3860
  369. Cipher = AES-256-OFB
  370. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  371. IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
  372. Operation = ENCRYPT
  373. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  374. Ciphertext = 4FEBDC6740D20B3AC88F6AD82A4FB08D
  375. Cipher = AES-256-OFB
  376. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  377. IV = E1C656305ED1A7A6563805746FE03EDC
  378. Operation = ENCRYPT
  379. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  380. Ciphertext = 71AB47A086E86EEDF39D1C5BBA97C408
  381. Cipher = AES-256-OFB
  382. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  383. IV = 41635BE625B48AFC1666DD42A09D96E7
  384. Operation = ENCRYPT
  385. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  386. Ciphertext = 0126141D67F37BE8538F5A8BE740E484
  387. # OFB-AES256.Decrypt
  388. Cipher = AES-256-OFB
  389. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  390. IV = 000102030405060708090A0B0C0D0E0F
  391. Operation = DECRYPT
  392. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  393. Ciphertext = DC7E84BFDA79164B7ECD8486985D3860
  394. Cipher = AES-256-OFB
  395. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  396. IV = B7BF3A5DF43989DD97F0FA97EBCE2F4A
  397. Operation = DECRYPT
  398. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  399. Ciphertext = 4FEBDC6740D20B3AC88F6AD82A4FB08D
  400. Cipher = AES-256-OFB
  401. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  402. IV = E1C656305ED1A7A6563805746FE03EDC
  403. Operation = DECRYPT
  404. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  405. Ciphertext = 71AB47A086E86EEDF39D1C5BBA97C408
  406. Cipher = AES-256-OFB
  407. Key = 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4
  408. IV = 41635BE625B48AFC1666DD42A09D96E7
  409. Operation = DECRYPT
  410. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  411. Ciphertext = 0126141D67F37BE8538F5A8BE740E484
  412. # AES-192 CBC-mode test from upstream OpenSSL.
  413. Cipher = AES-192-CBC
  414. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  415. IV = 000102030405060708090A0B0C0D0E0F
  416. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  417. Ciphertext = 4F021DB243BC633D7178183A9FA071E8
  418. Cipher = AES-192-CBC
  419. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  420. IV = 4F021DB243BC633D7178183A9FA071E8
  421. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  422. Ciphertext = B4D9ADA9AD7DEDF4E5E738763F69145A
  423. Cipher = AES-192-CBC
  424. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  425. IV = B4D9ADA9AD7DEDF4E5E738763F69145A
  426. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  427. Ciphertext = 571B242012FB7AE07FA9BAAC3DF102E0
  428. Cipher = AES-192-CBC
  429. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  430. IV = 571B242012FB7AE07FA9BAAC3DF102E0
  431. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  432. Ciphertext = 08B0E27988598881D920A9E64F5615CD
  433. # AES-192-ECB tests from FIPS-197
  434. Cipher = AES-192-ECB
  435. Key = 000102030405060708090A0B0C0D0E0F1011121314151617
  436. Operation = ENCRYPT
  437. Plaintext = 00112233445566778899AABBCCDDEEFF
  438. Ciphertext = DDA97CA4864CDFE06EAF70A0EC0D7191
  439. # AES-192-ECB tests from NIST document SP800-38A
  440. Cipher = AES-192-ECB
  441. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  442. Plaintext = 6BC1BEE22E409F96E93D7E117393172A
  443. Ciphertext = BD334F1D6E45F25FF712A214571FA5CC
  444. Cipher = AES-192-ECB
  445. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  446. Plaintext = AE2D8A571E03AC9C9EB76FAC45AF8E51
  447. Ciphertext = 974104846D0AD3AD7734ECB3ECEE4EEF
  448. Cipher = AES-192-ECB
  449. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  450. Plaintext = 30C81C46A35CE411E5FBC1191A0A52EF
  451. Ciphertext = EF7AFD2270E2E60ADCE0BA2FACE6444E
  452. Cipher = AES-192-ECB
  453. Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B
  454. Plaintext = F69F2445DF4F9B17AD2B417BE66C3710
  455. Ciphertext = 9A4B41BA738D6C72FB16691603C18E0E