source: trunk/src-cryptopp/TestVectors/gcm.txt

Last change on this file was e230cb0, checked in by David Stainton <dstainton415@…>, at 2016-10-12T13:27:29Z

Add cryptopp from tag CRYPTOPP_5_6_5

  • Property mode set to 100644
File size: 11.0 KB
Line 
1AlgorithmType: AuthenticatedSymmetricCipher
2Name: AES/GCM
3Source: aes-modes-src-07-10-08/Testvals/gcm.1, Basic Tests for GCM (compiled by B. R. Gladman)
4Key: 00000000000000000000000000000000
5IV:  000000000000000000000000
6MAC: 00000000000000000000000000000000
7Test: NotVerify
8Key: 00000000000000000000000000000000
9IV:  000000000000000000000000
10MAC: 58e2fccefa7e3061367f1d57a4e7455a
11Test: Encrypt
12Key: 00000000000000000000000000000000
13IV:  000000000000000000000000
14Plaintext: 00000000000000000000000000000000
15Ciphertext: 0388dace60b6a392f328c2b971b2fe78
16MAC: ab6e47d42cec13bdf53a67b21257bddf
17Test: Encrypt
18Key: feffe9928665731c6d6a8f9467308308
19IV:  cafebabefacedbaddecaf888
20Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
21Ciphertext: 42831ec2217774244b7221b784d0d49ce3aa212f2c02a4e035c17e2329aca12e 21d514b25466931c7d8f6a5aac84aa051ba30b396a0aac973d58e091473f5985
22MAC: 4d5c2af327cd64a62cf35abd2ba6fab4
23Test: Encrypt
24Key: feffe9928665731c6d6a8f9467308308
25IV:  cafebabefacedbaddecaf888
26Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
27Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
28Ciphertext: 42831ec2217774244b7221b784d0d49ce3aa212f2c02a4e035c17e2329aca12e 21d514b25466931c7d8f6a5aac84aa051ba30b396a0aac973d58e091
29MAC: 5bc94fbc3221a5db94fae95ae7121a47
30Test: Encrypt
31Key: feffe9928665731c6d6a8f9467308308
32IV:  cafebabefacedbad
33Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
34Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
35Ciphertext: 61353b4c2806934a777ff51fa22a4755699b2a714fcdc6f83766e5f97b6c7423 73806900e49f24b22b097544d4896b424989b5e1ebac0f07c23f4598
36MAC: 3612d2e79e3b0785561be14aaca2fccb
37Test: Encrypt
38Key: feffe9928665731c6d6a8f9467308308
39IV:  9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728 c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
40Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
41Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
42Ciphertext: 8ce24998625615b603a033aca13fb894be9112a5c3a211a8ba262a3cca7e2ca7 01e4a9a4fba43c90ccdcb281d48c7c6fd62875d2aca417034c34aee5
43MAC: 619cc5aefffe0bfa462af43c1699d050
44Test: Encrypt
45Header:
46Plaintext:
47Ciphertext:
48Key: 000000000000000000000000000000000000000000000000
49IV:  000000000000000000000000
50MAC: cd33b28ac773f74ba00ed1f312572435
51Test: Encrypt
52Key: 000000000000000000000000000000000000000000000000
53IV:  000000000000000000000000
54Plaintext: 00000000000000000000000000000000
55Ciphertext: 98e7247c07f0fe411c267e4384b0f600
56MAC: 2ff58d80033927ab8ef4d4587514f0fb
57Test: Encrypt
58Key: feffe9928665731c6d6a8f9467308308feffe9928665731c
59IV:  cafebabefacedbaddecaf888
60Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
61Ciphertext: 3980ca0b3c00e841eb06fac4872a2757859e1ceaa6efd984628593b40ca1e19c 7d773d00c144c525ac619d18c84a3f4718e2448b2fe324d9ccda2710acade256
62MAC: 9924a7c8587336bfb118024db8674a14
63Test: Encrypt
64Key: feffe9928665731c6d6a8f9467308308feffe9928665731c
65IV:  cafebabefacedbaddecaf888
66Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
67Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
68Ciphertext: 3980ca0b3c00e841eb06fac4872a2757859e1ceaa6efd984628593b40ca1e19c 7d773d00c144c525ac619d18c84a3f4718e2448b2fe324d9ccda2710
69MAC: 2519498e80f1478f37ba55bd6d27618c
70Test: Encrypt
71Key: feffe9928665731c6d6a8f9467308308feffe9928665731c
72IV:  cafebabefacedbad
73Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
74Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
75Ciphertext: 0f10f599ae14a154ed24b36e25324db8c566632ef2bbb34f8347280fc4507057 fddc29df9a471f75c66541d4d4dad1c9e93a19a58e8b473fa0f062f7
76MAC: 65dcc57fcf623a24094fcca40d3533f8
77Test: Encrypt
78Key: feffe9928665731c6d6a8f9467308308feffe9928665731c
79IV:  9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728 c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
80Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
81Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
82Ciphertext: d27e88681ce3243c4830165a8fdcf9ff1de9a1d8e6b447ef6ef7b79828666e45 81e79012af34ddd9e2f037589b292db3e67c036745fa22e7e9b7373b
83MAC: dcf566ff291c25bbb8568fc3d376a6d9
84Test: Encrypt
85Header:
86Plaintext:
87Ciphertext:
88Key: 0000000000000000000000000000000000000000000000000000000000000000
89IV:  000000000000000000000000
90MAC: 530f8afbc74536b9a963b4f1c4cb738b
91Test: Encrypt
92Key: 0000000000000000000000000000000000000000000000000000000000000000
93IV:  000000000000000000000000
94Plaintext: 00000000000000000000000000000000
95Ciphertext: cea7403d4d606b6e074ec5d3baf39d18
96MAC: d0d1c8a799996bf0265b98b5d48ab919
97Test: Encrypt
98Key: feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
99IV:  cafebabefacedbaddecaf888
100Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b391aafd255
101Ciphertext: 522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa 8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662898015ad
102MAC: b094dac5d93471bdec1a502270e3cc6c
103Test: Encrypt
104Key: feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
105IV:  cafebabefacedbaddecaf888
106Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
107Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
108Ciphertext: 522dc1f099567d07f47f37a32a84427d643a8cdcbfe5c0c97598a2bd2555d1aa 8cb08e48590dbb3da7b08b1056828838c5f61e6393ba7a0abcc9f662
109MAC: 76fc6ece0f4e1768cddf8853bb2d551b
110Test: Encrypt
111Key: feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
112IV:  cafebabefacedbad
113Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
114Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
115Ciphertext: c3762df1ca787d32ae47c13bf19844cbaf1ae14d0b976afac52ff7d79bba9de0 feb582d33934a4f0954cc2363bc73f7862ac430e64abe499f47c9b1f
116MAC: 3a337dbf46a792c45e454913fe2ea8f2
117Test: Encrypt
118Key: feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
119IV:  9313225df88406e555909c5aff5269aa6a7a9538534f7da1e4c303d2a318a728 c3c0c95156809539fcf0e2429a6b525416aedbf5a0de6a57a637b39b
120Header: feedfacedeadbeeffeedfacedeadbeefabaddad2
121Plaintext: d9313225f88406e5a55909c5aff5269a86a7a9531534f7da2e4c303d8a318a72 1c3c0c95956809532fcf0e2449a6b525b16aedf5aa0de657ba637b39
122Ciphertext: 5a8def2f0c9e53f1f75d7853659e2a20eeb2b22aafde6419a058ab4f6f746bf4 0fc0c3b780f244452da3ebf1c5d82cdea2418997200ef82e44ae7e3f
123MAC: a44a8266ee1c8eb0c8b5d4cf5ae9f19a
124Test: Encrypt
125Header:
126Plaintext:
127Ciphertext:
128Key: 00000000000000000000000000000000
129IV:  000000000000000000000000
130Plaintext: 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f 404142434445464748494a4b4c4d4e4f 505152535455565758595a5b5c5d5e5f 606162636465666768696a6b6c6d6e6f 707172737475767778797a7b7c7d7e7f 808182838485868788898a8b8c8d8e8f 909192939495969798999a9b9c9d9e9f a0a1a2a3a4a5a6a7a8a9aaabacadaeaf b0b1b2b3b4b5b6b7b8b9babbbcbdbebf c0c1c2c3c4c5c6c7c8c9cacbcccdcecf d0d1d2d3d4d5d6d7d8d9dadbdcdddedf
131Ciphertext: 0389d8cd64b3a595fb21c8b27dbff077 e784b8b85d5e4f34efe493e48896dfff 002333026a56b2fd08a09c87fcbe85cf f97c902a25bb1f4a43478687f5feb6cd ca9f3fc6ecab732627386ee2996a4cde c5e91f48c293c6a87774b950aeb1d7bf 62321a0d76006297b2d06623cf6e4fb1 433494c3326b0ae914120085a195413f 5e3278e4107d7b08dd2107405610e67d 83ed5b5ba0b591e9e46b1029f5f6936f fdb0e788fc09f60d861a0b3e1ab6294a 76ebdf6663421ef7dd6c1bc448dfcdb7 a0c38bae72fa627ed327f2b46fcec25a 77ee5fd7e3354788643c0d7df15075d5
132MAC: 6b385f3012eafda4189da7ad3b6eafbf
133Test: Encrypt
134Key: 00000000000000000000000000000000
135IV:  000000000000000000000000
136Plaintext: 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f 404142434445464748494a4b4c4d4e4f 505152535455565758595a5b5c5d5e5f 606162636465666768696a6b6c6d6e6f 707172737475767778797a7b7c7d7e7f 808182838485868788898a8b8c8d8e8f 909192939495969798999a9b9c9d9e9f a0a1a2a3a4a5a6a7a8a9aaabacadaeaf b0b1b2b3b4b5b6b7b8b9babbbcbdbebf c0c1c2c3c4c5c6c7c8c9cacbcccdcecf d0d1d2d3d4d5d6d7d8d9dadbdcdddedf
137Ciphertext: 0389d8cd64b3a595fb21c8b27dbff077 e784b8b85d5e4f34efe493e48896dfff 002333026a56b2fd08a09c87fcbe85cf f97c902a25bb1f4a43478687f5feb6cd ca9f3fc6ecab732627386ee2996a4cde c5e91f48c293c6a87774b950aeb1d7bf 62321a0d76006297b2d06623cf6e4fb1 433494c3326b0ae914120085a195413f 5e3278e4107d7b08dd2107405610e67d 83ed5b5ba0b591e9e46b1029f5f6936f fdb0e788fc09f60d861a0b3e1ab6294a 76ebdf6663421ef7dd6c1bc448dfcdb7 a0c38bae72fa627ed327f2b46fcec25a 77ee5fd7e3354788643c0d7df15075d5
138MAC: 6b385f3012eafda4189da7ad3b6eafbf
139Test: Encrypt
140
141AlgorithmType: AuthenticatedSymmetricCipher
142Name: AES/GCM
143Source: Generated by Crypto++ 5.6.1
144Comment: long test vector with odd length
145IV: f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
146Plaintext: r11 006bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710
147Key: 2b7e151628aed2a6abf7158809cf4f3c
148Ciphertext: BD70C168B0D4371B0A85B4B5D65D92569B17        \
149F9A3D0A25B9F608E2C34621CF4D37357845431E04E585CDAAD7527BF8A2426DEEF451320C78D5EF0        \
1509F5B11A8B8C700CD329A3D4CDED92C20F6BF28CB3627681C5B0AF2B5692CC7EC9049008ACBBD127A        \
1519CD8DEF00425697E0BCF67E05AEE70EA1A5D7EE95E3B88FBAF3C196AAAECB73E09BDF057AF701A02        \
15242394BCC104FF4F75F15D287325FCFFDB7E7FF3A939A80A6A3A9D7570E6EF6AD0BBE6E291338938D        \
1532FEBBC7D5EE95CD73E752ACD48915DCAE0A0807E6F4B2ADADBD945667318264EF7D8C2ECC0B8FB67        \
154A43614C5F5EA51CADD4AEE91DC371A7FC5A3B4581D1D9DD99608CD2BB0338F82933C19F5B8EBAD6B        \
155BA583835FBD29136302BAC163F86CA9E3E6F3B5BFDEFAB3E4B019190AE2EBC0B71034EA9BF882879        \
156139FFE76DD997F6729425F3D5C5392762C245769D18CC963C92211B71F564203AFBF68626C083303        \
1571D449B02DFA5C0F09FAFCE951FE35F4AD8122AB682A4AF28931113F75615E12DB05DD9247973F1C6        \
158057666848C13EDE41192F38948366D468D84CAF896EFF724082D2BAB2376E2813B41A014999B0EE7        \
159377758715D9554926AB3514EEB96A0ABD501D94A05692D858190D5AD307CEB6E6C8A63841A8257BE        \
160C2527C4B937840AA51292E15834AB801F0275A6A4B1B6E969B7A7FCE217D6F823CDE1760F847E8F4        \
1616CBDE152A24F2319EC2A7089D2954259D30332089FF928034391D1B0B8AFD7C8A5D4F8E0DAB5883C        \
162A7D581F78E4848DC3B01E5F2A5C01BA8910D0F144BC494E29450271174B866868EE8DC6B0DD396ED        \
1639D72F83DE3BB6DE6FEBC64178961E011D0D746C2CE3A0FBD05CDF8FA79AC03E94C88368BD903E142        \
1647FCFC30C9D100E220B4CB9B7BA242DA49D334E930B6C4EB877D1DF2C0F8CF4AF7813E2F295929707        \
16519846FC52A47FCE6E71DC5E58FC5F49C91BDE56B7A2A68CFA994D6BFA5357A8403A2B37C69A6A0A4        \
16635E4AB4C9E450473AF0CDFDBCC238A2DD7
167MAC: 4FEA89D75727E82B3A9F9EEB5E217A3E
168Test: Encrypt
Note: See TracBrowser for help on using the repository browser.