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