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