source: trunk/src-cryptopp/TestVectors/ccm.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: 12.0 KB
Line 
1AlgorithmType: AuthenticatedSymmetricCipher
2Name: AES/CCM
3Source: aes-modes-src-07-10-08/Testvals/ccm.1, Basic Tests for CCM (compiled by B. R. Gladman)
4Key: 404142434445464748494a4b4c4d4e4f
5IV: 10111213141516
6Header: 0001020304050607
7Plaintext: 20212223
8Ciphertext: 7162015b
9MAC: 4dac255d
10Test: Encrypt
11Key: 404142434445464748494a4b4c4d4e4f
12IV: 1011121314151617
13Header: 000102030405060708090a0b0c0d0e0f
14Plaintext: 202122232425262728292a2b2c2d2e2f
15Ciphertext: d2a1f0e051ea5f62081a7792073d593d
16MAC: 1fc64fbfaccd
17Test: Encrypt
18Key: 404142434445464748494a4b4c4d4e4f
19IV: 101112131415161718191a1b
20Header: 000102030405060708090a0b0c0d0e0f10111213
21Plaintext: 202122232425262728292a2b2c2d2e2f3031323334353637
22Ciphertext: e3b201a9f5b71a7a9b1ceaeccd97e70b6176aad9a4428aa5
23MAC: 484392fbc1b09951
24Test: Encrypt
25Key: 404142434445464748494a4b4c4d4e4f
26IV: 101112131415161718191a1b1c
27Header: r256 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
28Plaintext: 202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f
29Ciphertext: 69915dad1e84c6376a68c2967e4dab615ae0fd1faec44cc484828529463ccf72
30MAC: b4ac6bec93e8598e7f0dadbcea5b
31Test: Encrypt
32Key: c97c1f67ce371185514a8a19f2bdd52f
33IV: 005030f1844408b5039776e70c
34Header: 08400fd2e128a57c5030f1844408abaea5b8fcba0000
35Plaintext: f8ba1a55d02f85ae967bb62fb6cda8eb7e78a050
36Ciphertext: f3d0a2fe9a3dbf2342a643e43246e80c3c04d019
37MAC: 7845ce0b16f97623
38Test: Encrypt
39Key: 8f7a053fa577a5597529272097a603d5
40IV: 00eec1762c88de31f3cbba97ea
41Header: 08c0ea100c846850eec1762c88deaf2ee9f46a070000
42Plaintext: 83a0634b5ed7627eb9df225e05740342de194117
43Ciphertext: 814b6965d05bf2b2ed38d4beb069fe82714a610b
44MAC: 542fbf8da06aa4ae
45Test: Encrypt
46Key: 40cfb7a62e88013bd6d3affcc191041e
47IV: 00b6a88adf36912fdca0f3a5ae
48Header: 88c0d9577df763c8b6a88adf3691dc4a8bca94dd00000000
49Plaintext: 2c1bd036831c95496c5f4dbf3d559e72de802a18
50Ciphertext: 89d8580340b626a0b6d4d013bf18f291b89646c8
51MAC: fd1f1f61a9fb4bb3
52Test: Encrypt
53Key: 8c89a2ebc96c7602707fcf24b32d3833
54IV: 078ef822734701f670a55a0fe3
55Header: 88c2712a9ddf11db8ef82273470159140dd646a200000700
56Plaintext: 4fad2b1c290fa5ebd872fbc3f3a074898f8b2fbb
57Ciphertext: 9d59b15f371448c230f4d739052e13ab3b1a7b10
58MAC: 31fc88004f35ee3d
59Test: Encrypt
60Key: a574d5143bb25efddeff30122fdfd066
61IV: 0bf351946bc96ba7ffe03c0e37
62Header: 88c245dec69a7480f351946bc96be276fbe6c12700000b00
63Plaintext: 28969b954f263a8018a9ef70a8b051462481922e
64Ciphertext: eb4ae4956a801da9624b7e0c18b23e615ec03af6
65MAC: ce0c3be197d305eb
66Test: Encrypt
67Key: f71eea4e1f58804b9717230ad0614641
68IV: 0dbff943b9f9a66b81eca48989
69Header: 88425af28430fdabbff943b9f9a6ab1d98c7fe7300000d00
70Plaintext: abfda22d3a0bfc9cc1fc079363c2fca143e6eb1d
71Ciphertext: 9a709b60a39d40b1dfb612e18b5f114badb6cc86
72MAC: 309a8d5c466bbb71
73Test: Encrypt
74Key: 1bdb34980e038124a1db1a892bec366a
75IV: 00efec952016915eec4073e723
76Header: 08419b50f4fd56f6efec9520169183570c4ccdee0000
77Plaintext: 98beca86f4b38da20cfdf24724c58eb835665339
78Ciphertext: 12c537ebf3ab584ef1fef9a1f3547a8c13b3225a
79MAC: 2d0957ecfabe95b9
80Test: Encrypt
81Key: 6eac1bf54bd54edb2321754303024c71
82IV: 0aca3f3aae60c4cefd996eccdd
83Header: 88c1552d5f72bb70ca3f3aae60c48ba9b5f82c2f00000a00
84Plaintext: 57cb5c0e5fcd885e9a4239e9b9cad60d64375979
85Ciphertext: 4bf281ef8ec7739f91591b97a87dc14b3fa17462
86MAC: 6dba8ef7f08087dd
87Test: Encrypt
88Key: 494b501e194675971a48d08c5bc353cb
89IV: 0aa4ad6d319985ba82e93437b3
90Header: 88c19afb798b8a4ba4ad6d319985bc429e8f0afa00000a00
91Plaintext: 25a98f9c1bd9c93cf383ab9d98152d76cb4a32c6
92Ciphertext: 561a0d068eac2eadb0c57fe2d0a6cc7398b6ddbf
93MAC: cfe438cbea61fa9a
94Test: Encrypt
95Key: 489e49bc3cfe3fce3895820e872ee1a3
96IV: 0053f869fe279acf1d3e75fea9
97Header: 084340ec29fa759b53f869fe279af0f9f8a65416000052bfd2703d24
98Plaintext: 7f91f2472d7a121c9cdd4b6c9080675a1020aa00
99Ciphertext: 25df5173835e4fba23bc05a253885ebed3ac4871
100MAC: c868a725552c5565
101Test: Encrypt
102Key: 02be5c4545672a07e4e314d70f1f9e85
103IV: 0d347ceb9aabffd2d6596e55d4
104Header: 88c3298c0baa9190347ceb9aabffd83d4886e5c20000e29d524ae1960d00
105Plaintext: f9a812e4a28af7f3714d4bf6622e5932f2184509
106Ciphertext: 6315500f924295cd3eafbdc3e151b1df46465b71
107MAC: 681fdee8513c62dc
108Test: Encrypt
109Key: 77077ed79453e4a18d60438cc6484d6e
110IV: 00d8ac5a7ec44450b01e77fd8e
111Header: 0843aa288b8435bcd8ac5a7ec444e8b46250538b0000e81402c2ee11
112Plaintext: 431981a2336d02f8cb8448d5428916be95293537
113Ciphertext: cf71b2ccbd590b20800792f359ed1cfd74d800b4
114MAC: fd0f41f426bb8f30
115Test: Encrypt
116Source: aes-modes-src-07-10-08/Testvals/ccm.2, Vectors for IEEE P1619.1 CCM Mode
117Header:
118Key: 0000000000000000000000000000000000000000000000000000000000000000
119IV: 000000000000000000000000
120Plaintext: 00000000000000000000000000000000
121Ciphertext: c1944044c8e7aa95d2de9513c7f3dd8c
122MAC: 4b0a3e5e51f151eb0ffae7c43d010fdb
123Test: Encrypt
124Plaintext:
125Ciphertext:
126Key: 0000000000000000000000000000000000000000000000000000000000000000
127IV: 000000000000000000000000
128Header: 00000000000000000000000000000000
129MAC: 904704e89fb216443cb9d584911fc3c2
130Test: Encrypt
131Key: 0000000000000000000000000000000000000000000000000000000000000000
132IV: 000000000000000000000000
133Header: 00000000000000000000000000000000
134Plaintext: 00000000000000000000000000000000
135Ciphertext: c1944044c8e7aa95d2de9513c7f3dd8c
136MAC: 87314e9c1fa01abe6a6415943dc38521
137Test: Encrypt
138Header:
139Key: fb7615b23d80891dd470980bc79584c8b2fb64ce60978f4d17fce45a49e830b7
140IV: dbd1a3636024b7b402da7d6f
141Plaintext: a845348ec8c5b5f126f50e76fefd1b1e
142Ciphertext: cc881261c6a7fa72b96a1739176b277f
143MAC: 3472e1145f2c0cbe146349062cf0e423
144Test: Encrypt
145Key: 404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f
146IV: 101112131415161718191a1b
147Header: 000102030405060708090a0b0c0d0e0f10111213
148Plaintext: 202122232425262728292a2b2c2d2e2f3031323334353637
149Ciphertext: 04f883aeb3bd0730eaf50bb6de4fa2212034e4e41b0e75e5
150MAC: 9bba3f3a107f3239bd63902923f80371
151Test: Encrypt
152Key: 404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f
153IV: 101112131415161718191a1b
154Header: r256 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
155Plaintext: 202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f
156Ciphertext: 04f883aeb3bd0730eaf50bb6de4fa2212034e4e41b0e75e577f6bf2422c0f6d2
157MAC: 3376d2cf256ef613c56454cbb5265834
158Test: Encrypt
159Key: 404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f
160IV: 101112131415161718191a1b
161Header: 202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f
162Plaintext: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f 404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f 606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f 808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f a0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebf c0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedf e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
163Ciphertext: 24d8a38e939d2710cad52b96fe6f82010014c4c43b2e55c557d69f0402e0d6f2 06c53d6cbd3f1c3c6de5dcdcad9fb74f25741dea741149fe4278a0cc24741e86 58cc0523b8d7838c60fb1de4b7c3941f5b26dea9322aa29656ec37ac18a9b108 a6f38b7917f5a9c398838b22afbd17252e96694a9e6237964a0eae21c0a6e152 15a0e82022926be97268249599e456e05029c3ebc07d78fc5b4a0862e04e68c2 9514c7bdafc4b52e04833bf30622e4eb42504a44a9dcbc774752de7bb82891ad 1eba9dc3281422a8aba8654268d3d9c81705f4c5a531ef856df5609a159af738 eb753423ed2001b8f20c23725f2bef18c409f7e52132341f27cb8f0e79894dd9
164MAC: ebb1fa9d28ccfe21bdfea7e6d91e0bab
165Test: Encrypt
166Key: fb7615b23d80891dd470980bc79584c8b2fb64ce6097878d17fce45a49e830b7
167IV: dbd1a3636024b7b402da7d6f
168Header: 36
169Plaintext: a9
170Ciphertext: 9d
171MAC: 3261b1cf931431e99a32806738ecbd2a
172Test: Encrypt
173Key: f8d476cfd646ea6c2384cb1c27d6195dfef1a9f37b9c8d21a79c21f8cb90d289
174IV: dbd1a3636024b7b402da7d6f
175Header: 7bd859a247961a21823b380e9fe8b65082ba61d3
176Plaintext: 90ae61cf7baebd4cade494c54a29ae70269aec71
177Ciphertext: 6c05313e45dc8ec10bea6c670bd94f31569386a6
178MAC: 8f3829e8e76ee23c04f566189e63c686
179Test: Encrypt
180Source: RFC 3610
181Key:            C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
182IV:             00 00 00 03  02 01 00 A0  A1 A2 A3 A4  A5
183Header:         00 01 02 03  04 05 06 07
184Plaintext:      08 09 0A 0B  0C 0D 0E 0F\
185            10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E
186Ciphertext:     58 8C 97 9A  61 C6 63 D2\
187            F0 66 D0 C2  C0 F9 89 80  6D 5F 6B 61  DA C3 84
188MAC:            17 E8 D1 2C FD  F9 26 E0
189Test: Encrypt
190MAC:            17 E8 D1 2C FD  F9 26 00
191Test: NotVerify
192Key:  C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
193IV:    00 00 00 04  03 02 01 A0  A1 A2 A3 A4  A5
194Header: 00 01 02 03  04 05 06 07
195Plaintext: 08 09 0A 0B  0C 0D 0E 0F 10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E 1F
196Ciphertext: 72 C9 1A 36  E1 35 F8 CF 29 1C A8 94  08 5C 87 E3  CC 15 C4 39  C9 E4 3A 3B
197MAC:  A0 91 D5 6E  10 40 09 16
198Test: Encrypt
199Key:  C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
200IV:    00 00 00 05  04 03 02 A0  A1 A2 A3 A4  A5
201Header:              00 01 02 03  04 05 06 07
202Plaintext: 08 09 0A 0B  0C 0D 0E 0F              10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E 1F              20
203Ciphertext:  51 B1 E5 F4  4A 19 7D 1D              A4 6B 0F 8E  2D 28 2A E8  71 E8 38 BB  64 DA 85 96              57
204MAC: 4A DA A7  6F BD 9F B0  C5
205Test: Encrypt
206Key:  C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
207IV:    00 00 00 06  05 04 03 A0  A1 A2 A3 A4  A5
208Header:          00 01 02 03  04 05 06 07  08 09 0A 0B
209Plaintext: 0C 0D 0E 0F          10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E
210Ciphertext: A2 8C 68 65          93 9A 9A 79  FA AA 5C 4C  2A 9D 4A 91  CD AC 8C
211MAC: 96          C8 61 B9 C9  E6 1E F1
212Test: Encrypt
213Key:  C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
214IV:    00 00 00 07  06 05 04 A0  A1 A2 A3 A4  A5
215Header:          00 01 02 03  04 05 06 07  08 09 0A 0B
216Plaintext:          0C 0D 0E 0F          10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E 1F
217Ciphertext:          DC F1 FB 7B          5D 9E 23 FB  9D 4E 13 12  53 65 8A D8  6E BD CA 3E
218MAC:          51 E8 3F 07  7D 9C 2D 93
219Test: Encrypt
220Key:  C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
221IV:    00 00 00 08  07 06 05 A0  A1 A2 A3 A4  A5
222Header:          00 01 02 03  04 05 06 07  08 09 0A 0B
223Plaintext:          0C 0D 0E 0F          10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E 1F          20
224Ciphertext:           6F C1 B0 11          F0 06 56 8B  51 71 A4 2D  95 3D 46 9B  25 70 A4 BD          87
225MAC:          40 5A 04  43 AC 91 CB  94
226Test: Encrypt
227Key:  C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
228IV:    00 00 00 09  08 07 06 A0  A1 A2 A3 A4  A5
229Header:          00 01 02 03  04 05 06 07
230Plaintext:          08 09 0A 0B  0C 0D 0E 0F          10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E
231Ciphertext:           01 35 D1 B2  C9 5F 41 D5          D1 D4 FE C1  85 D1 66 B8  09 4E 99 9D  FE D9 6C
232MAC:          04          8C 56 60 2C  97 AC BB 74  90
233Test: Encrypt
234Key:  C0 C1 C2 C3  C4 C5 C6 C7  C8 C9 CA CB  CC CD CE CF
235IV:    00 00 00 0A  09 08 07 A0  A1 A2 A3 A4  A5
236Header:         00 01 02 03  04 05 06 07
237Plaintext:          08 09 0A 0B  0C 0D 0E 0F          10 11 12 13  14 15 16 17  18 19 1A 1B  1C 1D 1E 1F
238Ciphertext:           7B 75 39 9A  C0 83 1D D2          F0 BB D7 58  79 A2 FD 8F  6C AE 6B 6C  D9 B7 DB 24
239MAC:          C1 7B 44 33  F4 34 96 3F  34 B4
240Test: Encrypt
Note: See TracBrowser for help on using the repository browser.