3 * Copyright (c) 2020 Project CHIP Authors
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 * @file - This file contains AES-CCM test vectors.
22 #ifndef _AES_CCM_256_TEST_VECTORS_H_
23 #define _AES_CCM_256_TEST_VECTORS_H_
25 typedef struct ccm_test_vector
43 static const uint8_t chiptest_12cb0ed34854_key_1[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
44 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
45 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
46 static const uint8_t chiptest_12cb0ed34854_pt_2[] = {};
47 static const uint8_t chiptest_12cb0ed34854_ct_3[] = {};
48 static const uint8_t chiptest_12cb0ed34854_iv_4[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
49 static const uint8_t chiptest_12cb0ed34854_aad_5[] = {};
50 static const uint8_t chiptest_12cb0ed34854_tag_6[] = { 0xfd, 0x9c, 0x65, 0x82, 0xe4, 0x1c, 0xfa, 0x32 };
51 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_7 = { .key = chiptest_12cb0ed34854_key_1,
53 .pt = chiptest_12cb0ed34854_pt_2,
55 .ct = chiptest_12cb0ed34854_ct_3,
57 .iv = chiptest_12cb0ed34854_iv_4,
59 .aad = chiptest_12cb0ed34854_aad_5,
61 .tag = chiptest_12cb0ed34854_tag_6,
65 static const uint8_t chiptest_12cb0ed34854_key_8[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
66 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
67 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
68 static const uint8_t chiptest_12cb0ed34854_pt_9[] = {};
69 static const uint8_t chiptest_12cb0ed34854_ct_10[] = {};
70 static const uint8_t chiptest_12cb0ed34854_iv_11[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
71 static const uint8_t chiptest_12cb0ed34854_aad_12[] = {};
72 static const uint8_t chiptest_12cb0ed34854_tag_13[] = { 0x0d, 0xf6, 0xaa, 0x1e, 0xe8, 0x81, 0x20, 0x1f, 0x44, 0xd4, 0x84, 0x54 };
73 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_14 = { .key = chiptest_12cb0ed34854_key_8,
75 .pt = chiptest_12cb0ed34854_pt_9,
77 .ct = chiptest_12cb0ed34854_ct_10,
79 .iv = chiptest_12cb0ed34854_iv_11,
81 .aad = chiptest_12cb0ed34854_aad_12,
83 .tag = chiptest_12cb0ed34854_tag_13,
87 static const uint8_t chiptest_12cb0ed34854_key_15[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
88 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
89 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
90 static const uint8_t chiptest_12cb0ed34854_pt_16[] = {};
91 static const uint8_t chiptest_12cb0ed34854_ct_17[] = {};
92 static const uint8_t chiptest_12cb0ed34854_iv_18[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
93 static const uint8_t chiptest_12cb0ed34854_aad_19[] = {};
94 static const uint8_t chiptest_12cb0ed34854_tag_20[] = { 0xe6, 0x85, 0x9c, 0x92, 0xca, 0x23, 0x66, 0xbe,
95 0x08, 0xb5, 0xaa, 0xbd, 0x0e, 0x21, 0x96, 0xc1 };
96 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_21 = { .key = chiptest_12cb0ed34854_key_15,
98 .pt = chiptest_12cb0ed34854_pt_16,
100 .ct = chiptest_12cb0ed34854_ct_17,
102 .iv = chiptest_12cb0ed34854_iv_18,
104 .aad = chiptest_12cb0ed34854_aad_19,
106 .tag = chiptest_12cb0ed34854_tag_20,
110 static const uint8_t chiptest_12cb0ed34854_key_22[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
111 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
112 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
113 static const uint8_t chiptest_12cb0ed34854_pt_23[] = {};
114 static const uint8_t chiptest_12cb0ed34854_ct_24[] = {};
115 static const uint8_t chiptest_12cb0ed34854_iv_25[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
116 static const uint8_t chiptest_12cb0ed34854_aad_26[] = { 0x7c };
117 static const uint8_t chiptest_12cb0ed34854_tag_27[] = { 0xe7, 0xbc, 0x88, 0x63, 0xab, 0x75, 0x31, 0x12 };
118 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_28 = { .key = chiptest_12cb0ed34854_key_22,
120 .pt = chiptest_12cb0ed34854_pt_23,
122 .ct = chiptest_12cb0ed34854_ct_24,
124 .iv = chiptest_12cb0ed34854_iv_25,
126 .aad = chiptest_12cb0ed34854_aad_26,
128 .tag = chiptest_12cb0ed34854_tag_27,
132 static const uint8_t chiptest_12cb0ed34854_key_29[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
133 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
134 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
135 static const uint8_t chiptest_12cb0ed34854_pt_30[] = {};
136 static const uint8_t chiptest_12cb0ed34854_ct_31[] = {};
137 static const uint8_t chiptest_12cb0ed34854_iv_32[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
138 static const uint8_t chiptest_12cb0ed34854_aad_33[] = { 0x7c };
139 static const uint8_t chiptest_12cb0ed34854_tag_34[] = { 0x96, 0xe8, 0x1c, 0x45, 0xea, 0xe6, 0x9a, 0xbe, 0x1e, 0x0c, 0x90, 0xe4 };
140 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_35 = { .key = chiptest_12cb0ed34854_key_29,
142 .pt = chiptest_12cb0ed34854_pt_30,
144 .ct = chiptest_12cb0ed34854_ct_31,
146 .iv = chiptest_12cb0ed34854_iv_32,
148 .aad = chiptest_12cb0ed34854_aad_33,
150 .tag = chiptest_12cb0ed34854_tag_34,
154 static const uint8_t chiptest_12cb0ed34854_key_36[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
155 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
156 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
157 static const uint8_t chiptest_12cb0ed34854_pt_37[] = {};
158 static const uint8_t chiptest_12cb0ed34854_ct_38[] = {};
159 static const uint8_t chiptest_12cb0ed34854_iv_39[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
160 static const uint8_t chiptest_12cb0ed34854_aad_40[] = { 0x7c };
161 static const uint8_t chiptest_12cb0ed34854_tag_41[] = { 0xfd, 0xe6, 0xa4, 0x32, 0x05, 0xb1, 0xe2, 0x74,
162 0x20, 0x4c, 0x6e, 0x3f, 0x66, 0xd0, 0x69, 0xbd };
163 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_42 = { .key = chiptest_12cb0ed34854_key_36,
165 .pt = chiptest_12cb0ed34854_pt_37,
167 .ct = chiptest_12cb0ed34854_ct_38,
169 .iv = chiptest_12cb0ed34854_iv_39,
171 .aad = chiptest_12cb0ed34854_aad_40,
173 .tag = chiptest_12cb0ed34854_tag_41,
177 static const uint8_t chiptest_12cb0ed34854_key_43[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
178 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
179 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
180 static const uint8_t chiptest_12cb0ed34854_pt_44[] = {};
181 static const uint8_t chiptest_12cb0ed34854_ct_45[] = {};
182 static const uint8_t chiptest_12cb0ed34854_iv_46[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
183 static const uint8_t chiptest_12cb0ed34854_aad_47[] = { 0xa1, 0xd0, 0x44, 0x40, 0xaa, 0x76, 0x31, 0x6e, 0x97, 0xdd, 0x6c,
184 0xcb, 0x7f, 0x2e, 0xb2, 0x1f, 0x1f, 0x1d, 0x9d, 0x6b, 0x73, 0xde,
185 0xeb, 0x56, 0x04, 0xab, 0xb5, 0x6e, 0x45, 0x45, 0x54, 0x4d };
186 static const uint8_t chiptest_12cb0ed34854_tag_48[] = { 0xcd, 0x32, 0xdf, 0x9d, 0xa5, 0xb5, 0x53, 0x2c };
187 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_49 = { .key = chiptest_12cb0ed34854_key_43,
189 .pt = chiptest_12cb0ed34854_pt_44,
191 .ct = chiptest_12cb0ed34854_ct_45,
193 .iv = chiptest_12cb0ed34854_iv_46,
195 .aad = chiptest_12cb0ed34854_aad_47,
197 .tag = chiptest_12cb0ed34854_tag_48,
201 static const uint8_t chiptest_12cb0ed34854_key_50[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
202 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
203 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
204 static const uint8_t chiptest_12cb0ed34854_pt_51[] = {};
205 static const uint8_t chiptest_12cb0ed34854_ct_52[] = {};
206 static const uint8_t chiptest_12cb0ed34854_iv_53[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
207 static const uint8_t chiptest_12cb0ed34854_aad_54[] = { 0xa1, 0xd0, 0x44, 0x40, 0xaa, 0x76, 0x31, 0x6e, 0x97, 0xdd, 0x6c,
208 0xcb, 0x7f, 0x2e, 0xb2, 0x1f, 0x1f, 0x1d, 0x9d, 0x6b, 0x73, 0xde,
209 0xeb, 0x56, 0x04, 0xab, 0xb5, 0x6e, 0x45, 0x45, 0x54, 0x4d };
210 static const uint8_t chiptest_12cb0ed34854_tag_55[] = { 0x98, 0x1b, 0x39, 0xe4, 0xd9, 0x48, 0xd0, 0x6c, 0x5c, 0x73, 0x24, 0x5f };
211 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_56 = { .key = chiptest_12cb0ed34854_key_50,
213 .pt = chiptest_12cb0ed34854_pt_51,
215 .ct = chiptest_12cb0ed34854_ct_52,
217 .iv = chiptest_12cb0ed34854_iv_53,
219 .aad = chiptest_12cb0ed34854_aad_54,
221 .tag = chiptest_12cb0ed34854_tag_55,
225 static const uint8_t chiptest_12cb0ed34854_key_57[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
226 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
227 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
228 static const uint8_t chiptest_12cb0ed34854_pt_58[] = {};
229 static const uint8_t chiptest_12cb0ed34854_ct_59[] = {};
230 static const uint8_t chiptest_12cb0ed34854_iv_60[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
231 static const uint8_t chiptest_12cb0ed34854_aad_61[] = { 0xa1, 0xd0, 0x44, 0x40, 0xaa, 0x76, 0x31, 0x6e, 0x97, 0xdd, 0x6c,
232 0xcb, 0x7f, 0x2e, 0xb2, 0x1f, 0x1f, 0x1d, 0x9d, 0x6b, 0x73, 0xde,
233 0xeb, 0x56, 0x04, 0xab, 0xb5, 0x6e, 0x45, 0x45, 0x54, 0x4d };
234 static const uint8_t chiptest_12cb0ed34854_tag_62[] = { 0x3c, 0x0e, 0xc0, 0x5f, 0xa3, 0xbd, 0x3b, 0x44,
235 0xd8, 0x91, 0x6d, 0x91, 0x0a, 0xb5, 0x65, 0xd9 };
236 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_63 = { .key = chiptest_12cb0ed34854_key_57,
238 .pt = chiptest_12cb0ed34854_pt_58,
240 .ct = chiptest_12cb0ed34854_ct_59,
242 .iv = chiptest_12cb0ed34854_iv_60,
244 .aad = chiptest_12cb0ed34854_aad_61,
246 .tag = chiptest_12cb0ed34854_tag_62,
250 static const uint8_t chiptest_12cb0ed34854_key_64[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
251 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
252 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
253 static const uint8_t chiptest_12cb0ed34854_pt_65[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
254 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
255 static const uint8_t chiptest_12cb0ed34854_ct_66[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
256 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
257 static const uint8_t chiptest_12cb0ed34854_iv_67[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
258 static const uint8_t chiptest_12cb0ed34854_aad_68[] = {};
259 static const uint8_t chiptest_12cb0ed34854_tag_69[] = { 0xdc, 0xd2, 0x22, 0xd3, 0xa8, 0xfe, 0x64, 0x31 };
260 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_70 = { .key = chiptest_12cb0ed34854_key_64,
262 .pt = chiptest_12cb0ed34854_pt_65,
264 .ct = chiptest_12cb0ed34854_ct_66,
266 .iv = chiptest_12cb0ed34854_iv_67,
268 .aad = chiptest_12cb0ed34854_aad_68,
270 .tag = chiptest_12cb0ed34854_tag_69,
274 static const uint8_t chiptest_12cb0ed34854_key_71[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
275 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
276 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
277 static const uint8_t chiptest_12cb0ed34854_pt_72[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
278 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
279 static const uint8_t chiptest_12cb0ed34854_ct_73[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
280 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
281 static const uint8_t chiptest_12cb0ed34854_iv_74[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
282 static const uint8_t chiptest_12cb0ed34854_aad_75[] = {};
283 static const uint8_t chiptest_12cb0ed34854_tag_76[] = { 0xdf, 0x33, 0xdd, 0x45, 0x15, 0x16, 0x84, 0x18, 0x2e, 0x30, 0x64, 0x27 };
284 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_77 = { .key = chiptest_12cb0ed34854_key_71,
286 .pt = chiptest_12cb0ed34854_pt_72,
288 .ct = chiptest_12cb0ed34854_ct_73,
290 .iv = chiptest_12cb0ed34854_iv_74,
292 .aad = chiptest_12cb0ed34854_aad_75,
294 .tag = chiptest_12cb0ed34854_tag_76,
298 static const uint8_t chiptest_12cb0ed34854_key_78[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
299 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
300 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
301 static const uint8_t chiptest_12cb0ed34854_pt_79[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
302 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
303 static const uint8_t chiptest_12cb0ed34854_ct_80[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
304 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
305 static const uint8_t chiptest_12cb0ed34854_iv_81[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
306 static const uint8_t chiptest_12cb0ed34854_aad_82[] = {};
307 static const uint8_t chiptest_12cb0ed34854_tag_83[] = { 0xdd, 0x5c, 0xac, 0xb1, 0x27, 0x41, 0xf5, 0x2b,
308 0xa4, 0x51, 0xef, 0x8b, 0x5e, 0x66, 0xac, 0x9e };
309 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_84 = { .key = chiptest_12cb0ed34854_key_78,
311 .pt = chiptest_12cb0ed34854_pt_79,
313 .ct = chiptest_12cb0ed34854_ct_80,
315 .iv = chiptest_12cb0ed34854_iv_81,
317 .aad = chiptest_12cb0ed34854_aad_82,
319 .tag = chiptest_12cb0ed34854_tag_83,
323 static const uint8_t chiptest_12cb0ed34854_key_85[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
324 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
325 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
326 static const uint8_t chiptest_12cb0ed34854_pt_86[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
327 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
328 static const uint8_t chiptest_12cb0ed34854_ct_87[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
329 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
330 static const uint8_t chiptest_12cb0ed34854_iv_88[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
331 static const uint8_t chiptest_12cb0ed34854_aad_89[] = { 0xda };
332 static const uint8_t chiptest_12cb0ed34854_tag_90[] = { 0x84, 0x8d, 0x7b, 0xc1, 0x4a, 0x42, 0xbb, 0x56 };
333 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_91 = { .key = chiptest_12cb0ed34854_key_85,
335 .pt = chiptest_12cb0ed34854_pt_86,
337 .ct = chiptest_12cb0ed34854_ct_87,
339 .iv = chiptest_12cb0ed34854_iv_88,
341 .aad = chiptest_12cb0ed34854_aad_89,
343 .tag = chiptest_12cb0ed34854_tag_90,
347 static const uint8_t chiptest_12cb0ed34854_key_92[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
348 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
349 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
350 static const uint8_t chiptest_12cb0ed34854_pt_93[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
351 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
352 static const uint8_t chiptest_12cb0ed34854_ct_94[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
353 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
354 static const uint8_t chiptest_12cb0ed34854_iv_95[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
355 static const uint8_t chiptest_12cb0ed34854_aad_96[] = { 0xda };
356 static const uint8_t chiptest_12cb0ed34854_tag_97[] = { 0x43, 0x46, 0x00, 0xf5, 0xb7, 0xc5, 0x59, 0x85, 0x12, 0x79, 0xea, 0xfe };
357 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_98 = { .key = chiptest_12cb0ed34854_key_92,
359 .pt = chiptest_12cb0ed34854_pt_93,
361 .ct = chiptest_12cb0ed34854_ct_94,
363 .iv = chiptest_12cb0ed34854_iv_95,
365 .aad = chiptest_12cb0ed34854_aad_96,
367 .tag = chiptest_12cb0ed34854_tag_97,
371 static const uint8_t chiptest_12cb0ed34854_key_99[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
372 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
373 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
374 static const uint8_t chiptest_12cb0ed34854_pt_100[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
375 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
376 static const uint8_t chiptest_12cb0ed34854_ct_101[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
377 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
378 static const uint8_t chiptest_12cb0ed34854_iv_102[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
379 static const uint8_t chiptest_12cb0ed34854_aad_103[] = { 0xda };
380 static const uint8_t chiptest_12cb0ed34854_tag_104[] = { 0x10, 0x8d, 0x3c, 0xcf, 0xee, 0x1c, 0xed, 0xcd,
381 0x1e, 0xef, 0x8c, 0x6b, 0xda, 0xbf, 0xa4, 0xf9 };
382 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_105 = { .key = chiptest_12cb0ed34854_key_99,
384 .pt = chiptest_12cb0ed34854_pt_100,
386 .ct = chiptest_12cb0ed34854_ct_101,
388 .iv = chiptest_12cb0ed34854_iv_102,
390 .aad = chiptest_12cb0ed34854_aad_103,
392 .tag = chiptest_12cb0ed34854_tag_104,
396 static const uint8_t chiptest_12cb0ed34854_key_106[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
397 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
398 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
399 static const uint8_t chiptest_12cb0ed34854_pt_107[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
400 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
401 static const uint8_t chiptest_12cb0ed34854_ct_108[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
402 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
403 static const uint8_t chiptest_12cb0ed34854_iv_109[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
404 static const uint8_t chiptest_12cb0ed34854_aad_110[] = { 0x67, 0xc0, 0xf4, 0xac, 0xb9, 0x6f, 0x73, 0x5e, 0xd0, 0xa2, 0xcf,
405 0x95, 0x8a, 0x7c, 0xc3, 0xc5, 0xf7, 0x96, 0xf5, 0xde, 0x40, 0xcd,
406 0x99, 0x8f, 0xdd, 0xb9, 0xa3, 0x0b, 0x2f, 0x6e, 0x74, 0x5f };
407 static const uint8_t chiptest_12cb0ed34854_tag_111[] = { 0xee, 0xfd, 0x63, 0x48, 0xf1, 0x79, 0x34, 0x5f };
408 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_112 = { .key = chiptest_12cb0ed34854_key_106,
410 .pt = chiptest_12cb0ed34854_pt_107,
412 .ct = chiptest_12cb0ed34854_ct_108,
414 .iv = chiptest_12cb0ed34854_iv_109,
416 .aad = chiptest_12cb0ed34854_aad_110,
418 .tag = chiptest_12cb0ed34854_tag_111,
422 static const uint8_t chiptest_12cb0ed34854_key_113[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
423 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
424 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
425 static const uint8_t chiptest_12cb0ed34854_pt_114[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
426 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
427 static const uint8_t chiptest_12cb0ed34854_ct_115[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
428 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
429 static const uint8_t chiptest_12cb0ed34854_iv_116[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
430 static const uint8_t chiptest_12cb0ed34854_aad_117[] = { 0x67, 0xc0, 0xf4, 0xac, 0xb9, 0x6f, 0x73, 0x5e, 0xd0, 0xa2, 0xcf,
431 0x95, 0x8a, 0x7c, 0xc3, 0xc5, 0xf7, 0x96, 0xf5, 0xde, 0x40, 0xcd,
432 0x99, 0x8f, 0xdd, 0xb9, 0xa3, 0x0b, 0x2f, 0x6e, 0x74, 0x5f };
433 static const uint8_t chiptest_12cb0ed34854_tag_118[] = { 0x19, 0xb6, 0x25, 0x1d, 0xbf, 0x0b, 0x07, 0x43, 0x46, 0xfc, 0xd1, 0x62 };
434 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_119 = { .key = chiptest_12cb0ed34854_key_113,
436 .pt = chiptest_12cb0ed34854_pt_114,
438 .ct = chiptest_12cb0ed34854_ct_115,
440 .iv = chiptest_12cb0ed34854_iv_116,
442 .aad = chiptest_12cb0ed34854_aad_117,
444 .tag = chiptest_12cb0ed34854_tag_118,
448 static const uint8_t chiptest_12cb0ed34854_key_120[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
449 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
450 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
451 static const uint8_t chiptest_12cb0ed34854_pt_121[] = { 0xe4, 0xe6, 0xfe, 0x17, 0xc6, 0xd6, 0xd0, 0xc8,
452 0x04, 0x34, 0x34, 0xfc, 0x09, 0x1a, 0xda, 0xc7 };
453 static const uint8_t chiptest_12cb0ed34854_ct_122[] = { 0xb3, 0xf7, 0x94, 0x08, 0xd1, 0xdf, 0x32, 0x5d,
454 0xa3, 0x77, 0x90, 0xf4, 0x7d, 0x48, 0xce, 0xf9 };
455 static const uint8_t chiptest_12cb0ed34854_iv_123[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
456 static const uint8_t chiptest_12cb0ed34854_aad_124[] = { 0x67, 0xc0, 0xf4, 0xac, 0xb9, 0x6f, 0x73, 0x5e, 0xd0, 0xa2, 0xcf,
457 0x95, 0x8a, 0x7c, 0xc3, 0xc5, 0xf7, 0x96, 0xf5, 0xde, 0x40, 0xcd,
458 0x99, 0x8f, 0xdd, 0xb9, 0xa3, 0x0b, 0x2f, 0x6e, 0x74, 0x5f };
459 static const uint8_t chiptest_12cb0ed34854_tag_125[] = { 0x96, 0x42, 0x3d, 0x41, 0xbb, 0x98, 0x05, 0x37,
460 0x1f, 0x3f, 0x78, 0x4f, 0xa4, 0x76, 0xa4, 0x79 };
461 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_126 = { .key = chiptest_12cb0ed34854_key_120,
463 .pt = chiptest_12cb0ed34854_pt_121,
465 .ct = chiptest_12cb0ed34854_ct_122,
467 .iv = chiptest_12cb0ed34854_iv_123,
469 .aad = chiptest_12cb0ed34854_aad_124,
471 .tag = chiptest_12cb0ed34854_tag_125,
475 static const uint8_t chiptest_12cb0ed34854_key_127[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
476 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
477 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
478 static const uint8_t chiptest_12cb0ed34854_pt_128[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
479 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
480 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
481 static const uint8_t chiptest_12cb0ed34854_ct_129[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
482 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
483 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
484 static const uint8_t chiptest_12cb0ed34854_iv_130[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
485 static const uint8_t chiptest_12cb0ed34854_aad_131[] = {};
486 static const uint8_t chiptest_12cb0ed34854_tag_132[] = { 0x0e, 0x87, 0x96, 0xd6, 0x32, 0xc9, 0xb3, 0x2e };
487 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_133 = { .key = chiptest_12cb0ed34854_key_127,
489 .pt = chiptest_12cb0ed34854_pt_128,
491 .ct = chiptest_12cb0ed34854_ct_129,
493 .iv = chiptest_12cb0ed34854_iv_130,
495 .aad = chiptest_12cb0ed34854_aad_131,
497 .tag = chiptest_12cb0ed34854_tag_132,
501 static const uint8_t chiptest_12cb0ed34854_key_134[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
502 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
503 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
504 static const uint8_t chiptest_12cb0ed34854_pt_135[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
505 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
506 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
507 static const uint8_t chiptest_12cb0ed34854_ct_136[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
508 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
509 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
510 static const uint8_t chiptest_12cb0ed34854_iv_137[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
511 static const uint8_t chiptest_12cb0ed34854_aad_138[] = {};
512 static const uint8_t chiptest_12cb0ed34854_tag_139[] = { 0x4f, 0x3a, 0x4c, 0x11, 0x07, 0x44, 0x86, 0x9e, 0xd1, 0x4d, 0x53, 0xaa };
513 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_140 = { .key = chiptest_12cb0ed34854_key_134,
515 .pt = chiptest_12cb0ed34854_pt_135,
517 .ct = chiptest_12cb0ed34854_ct_136,
519 .iv = chiptest_12cb0ed34854_iv_137,
521 .aad = chiptest_12cb0ed34854_aad_138,
523 .tag = chiptest_12cb0ed34854_tag_139,
527 static const uint8_t chiptest_12cb0ed34854_key_141[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
528 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
529 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
530 static const uint8_t chiptest_12cb0ed34854_pt_142[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
531 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
532 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
533 static const uint8_t chiptest_12cb0ed34854_ct_143[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
534 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
535 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
536 static const uint8_t chiptest_12cb0ed34854_iv_144[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
537 static const uint8_t chiptest_12cb0ed34854_aad_145[] = {};
538 static const uint8_t chiptest_12cb0ed34854_tag_146[] = { 0xab, 0x73, 0x1f, 0xc8, 0x0a, 0xde, 0x38, 0xf1,
539 0xa9, 0x84, 0x60, 0x6e, 0xae, 0x05, 0xa0, 0x2b };
540 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_147 = { .key = chiptest_12cb0ed34854_key_141,
542 .pt = chiptest_12cb0ed34854_pt_142,
544 .ct = chiptest_12cb0ed34854_ct_143,
546 .iv = chiptest_12cb0ed34854_iv_144,
548 .aad = chiptest_12cb0ed34854_aad_145,
550 .tag = chiptest_12cb0ed34854_tag_146,
554 static const uint8_t chiptest_12cb0ed34854_key_148[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
555 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
556 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
557 static const uint8_t chiptest_12cb0ed34854_pt_149[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
558 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
559 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
560 static const uint8_t chiptest_12cb0ed34854_ct_150[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
561 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
562 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
563 static const uint8_t chiptest_12cb0ed34854_iv_151[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
564 static const uint8_t chiptest_12cb0ed34854_aad_152[] = { 0xf2 };
565 static const uint8_t chiptest_12cb0ed34854_tag_153[] = { 0x5f, 0x5e, 0xce, 0x87, 0x2f, 0x03, 0xe5, 0x07 };
566 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_154 = { .key = chiptest_12cb0ed34854_key_148,
568 .pt = chiptest_12cb0ed34854_pt_149,
570 .ct = chiptest_12cb0ed34854_ct_150,
572 .iv = chiptest_12cb0ed34854_iv_151,
574 .aad = chiptest_12cb0ed34854_aad_152,
576 .tag = chiptest_12cb0ed34854_tag_153,
580 static const uint8_t chiptest_12cb0ed34854_key_155[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
581 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
582 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
583 static const uint8_t chiptest_12cb0ed34854_pt_156[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
584 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
585 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
586 static const uint8_t chiptest_12cb0ed34854_ct_157[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
587 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
588 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
589 static const uint8_t chiptest_12cb0ed34854_iv_158[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
590 static const uint8_t chiptest_12cb0ed34854_aad_159[] = { 0xf2 };
591 static const uint8_t chiptest_12cb0ed34854_tag_160[] = { 0x48, 0x35, 0x5c, 0xc2, 0xb4, 0x61, 0x8b, 0xd2, 0x4e, 0xa3, 0xe4, 0xc0 };
592 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_161 = { .key = chiptest_12cb0ed34854_key_155,
594 .pt = chiptest_12cb0ed34854_pt_156,
596 .ct = chiptest_12cb0ed34854_ct_157,
598 .iv = chiptest_12cb0ed34854_iv_158,
600 .aad = chiptest_12cb0ed34854_aad_159,
602 .tag = chiptest_12cb0ed34854_tag_160,
606 static const uint8_t chiptest_12cb0ed34854_key_162[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
607 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
608 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
609 static const uint8_t chiptest_12cb0ed34854_pt_163[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
610 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
611 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
612 static const uint8_t chiptest_12cb0ed34854_ct_164[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
613 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
614 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
615 static const uint8_t chiptest_12cb0ed34854_iv_165[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
616 static const uint8_t chiptest_12cb0ed34854_aad_166[] = { 0xf2 };
617 static const uint8_t chiptest_12cb0ed34854_tag_167[] = { 0xf0, 0x89, 0x5d, 0xfa, 0x19, 0x3e, 0x56, 0x29,
618 0x62, 0x25, 0x5e, 0x24, 0xf5, 0x76, 0x57, 0x73 };
619 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_168 = { .key = chiptest_12cb0ed34854_key_162,
621 .pt = chiptest_12cb0ed34854_pt_163,
623 .ct = chiptest_12cb0ed34854_ct_164,
625 .iv = chiptest_12cb0ed34854_iv_165,
627 .aad = chiptest_12cb0ed34854_aad_166,
629 .tag = chiptest_12cb0ed34854_tag_167,
633 static const uint8_t chiptest_12cb0ed34854_key_169[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
634 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
635 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
636 static const uint8_t chiptest_12cb0ed34854_pt_170[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
637 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
638 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
639 static const uint8_t chiptest_12cb0ed34854_ct_171[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
640 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
641 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
642 static const uint8_t chiptest_12cb0ed34854_iv_172[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
643 static const uint8_t chiptest_12cb0ed34854_aad_173[] = { 0x2d, 0x1e, 0x30, 0xdd, 0x3b, 0xbf, 0x40, 0xb2, 0xcd, 0x7c, 0x3d,
644 0x57, 0x45, 0xd5, 0x36, 0xcf, 0x38, 0x5e, 0x8c, 0xe5, 0xea, 0xf9,
645 0x40, 0xf4, 0x79, 0xf9, 0x73, 0x0e, 0x4c, 0x55, 0xef, 0x87 };
646 static const uint8_t chiptest_12cb0ed34854_tag_174[] = { 0x6a, 0x91, 0xf2, 0x05, 0xd1, 0x27, 0x02, 0x24 };
647 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_175 = { .key = chiptest_12cb0ed34854_key_169,
649 .pt = chiptest_12cb0ed34854_pt_170,
651 .ct = chiptest_12cb0ed34854_ct_171,
653 .iv = chiptest_12cb0ed34854_iv_172,
655 .aad = chiptest_12cb0ed34854_aad_173,
657 .tag = chiptest_12cb0ed34854_tag_174,
661 static const uint8_t chiptest_12cb0ed34854_key_176[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
662 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
663 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
664 static const uint8_t chiptest_12cb0ed34854_pt_177[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
665 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
666 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
667 static const uint8_t chiptest_12cb0ed34854_ct_178[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
668 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
669 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
670 static const uint8_t chiptest_12cb0ed34854_iv_179[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
671 static const uint8_t chiptest_12cb0ed34854_aad_180[] = { 0x2d, 0x1e, 0x30, 0xdd, 0x3b, 0xbf, 0x40, 0xb2, 0xcd, 0x7c, 0x3d,
672 0x57, 0x45, 0xd5, 0x36, 0xcf, 0x38, 0x5e, 0x8c, 0xe5, 0xea, 0xf9,
673 0x40, 0xf4, 0x79, 0xf9, 0x73, 0x0e, 0x4c, 0x55, 0xef, 0x87 };
674 static const uint8_t chiptest_12cb0ed34854_tag_181[] = { 0xab, 0x65, 0x12, 0xab, 0x92, 0xf5, 0x89, 0x98, 0x5d, 0x72, 0xa0, 0xfd };
675 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_182 = { .key = chiptest_12cb0ed34854_key_176,
677 .pt = chiptest_12cb0ed34854_pt_177,
679 .ct = chiptest_12cb0ed34854_ct_178,
681 .iv = chiptest_12cb0ed34854_iv_179,
683 .aad = chiptest_12cb0ed34854_aad_180,
685 .tag = chiptest_12cb0ed34854_tag_181,
689 static const uint8_t chiptest_12cb0ed34854_key_183[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
690 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
691 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
692 static const uint8_t chiptest_12cb0ed34854_pt_184[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
693 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
694 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
695 static const uint8_t chiptest_12cb0ed34854_ct_185[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
696 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xec, 0xcf, 0x6a, 0x9c,
697 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
698 static const uint8_t chiptest_12cb0ed34854_iv_186[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
699 static const uint8_t chiptest_12cb0ed34854_aad_187[] = { 0x2d, 0x1e, 0x30, 0xdd, 0x3b, 0xbf, 0x40, 0xb2, 0xcd, 0x7c, 0x3d,
700 0x57, 0x45, 0xd5, 0x36, 0xcf, 0x38, 0x5e, 0x8c, 0xe5, 0xea, 0xf9,
701 0x40, 0xf4, 0x79, 0xf9, 0x73, 0x0e, 0x4c, 0x55, 0xef, 0x87 };
702 static const uint8_t chiptest_12cb0ed34854_tag_188[] = { 0xe1, 0x75, 0xe0, 0x33, 0x4b, 0x4e, 0x23, 0x4c,
703 0x1e, 0xce, 0x5c, 0x73, 0x9e, 0xd1, 0x2c, 0x28 };
704 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_189 = { .key = chiptest_12cb0ed34854_key_183,
706 .pt = chiptest_12cb0ed34854_pt_184,
708 .ct = chiptest_12cb0ed34854_ct_185,
710 .iv = chiptest_12cb0ed34854_iv_186,
712 .aad = chiptest_12cb0ed34854_aad_187,
714 .tag = chiptest_12cb0ed34854_tag_188,
718 static const uint8_t chiptest_12cb0ed34854_key_190[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
719 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
720 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
721 static const uint8_t chiptest_12cb0ed34854_pt_191[] = {};
722 static const uint8_t chiptest_12cb0ed34854_ct_192[] = {};
723 static const uint8_t chiptest_12cb0ed34854_iv_193[] = {
724 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
726 static const uint8_t chiptest_12cb0ed34854_aad_194[] = {};
727 static const uint8_t chiptest_12cb0ed34854_tag_195[] = { 0x42, 0x26, 0x5a, 0xcf, 0xad, 0xa3, 0x71, 0xd5 };
728 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_196 = { .key = chiptest_12cb0ed34854_key_190,
730 .pt = chiptest_12cb0ed34854_pt_191,
732 .ct = chiptest_12cb0ed34854_ct_192,
734 .iv = chiptest_12cb0ed34854_iv_193,
736 .aad = chiptest_12cb0ed34854_aad_194,
738 .tag = chiptest_12cb0ed34854_tag_195,
742 static const uint8_t chiptest_12cb0ed34854_key_197[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
743 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
744 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
745 static const uint8_t chiptest_12cb0ed34854_pt_198[] = {};
746 static const uint8_t chiptest_12cb0ed34854_ct_199[] = {};
747 static const uint8_t chiptest_12cb0ed34854_iv_200[] = {
748 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
750 static const uint8_t chiptest_12cb0ed34854_aad_201[] = {};
751 static const uint8_t chiptest_12cb0ed34854_tag_202[] = { 0x1c, 0xec, 0x5b, 0xff, 0xcf, 0xb4, 0xd7, 0x02, 0x34, 0xb3, 0xb0, 0x41 };
752 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_203 = { .key = chiptest_12cb0ed34854_key_197,
754 .pt = chiptest_12cb0ed34854_pt_198,
756 .ct = chiptest_12cb0ed34854_ct_199,
758 .iv = chiptest_12cb0ed34854_iv_200,
760 .aad = chiptest_12cb0ed34854_aad_201,
762 .tag = chiptest_12cb0ed34854_tag_202,
766 static const uint8_t chiptest_12cb0ed34854_key_204[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
767 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
768 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
769 static const uint8_t chiptest_12cb0ed34854_pt_205[] = {};
770 static const uint8_t chiptest_12cb0ed34854_ct_206[] = {};
771 static const uint8_t chiptest_12cb0ed34854_iv_207[] = {
772 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
774 static const uint8_t chiptest_12cb0ed34854_aad_208[] = {};
775 static const uint8_t chiptest_12cb0ed34854_tag_209[] = { 0x5d, 0x79, 0x73, 0xc2, 0x5f, 0xe1, 0x6d, 0x69,
776 0x40, 0xfb, 0xca, 0xff, 0x79, 0x86, 0xe3, 0x3e };
777 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_210 = { .key = chiptest_12cb0ed34854_key_204,
779 .pt = chiptest_12cb0ed34854_pt_205,
781 .ct = chiptest_12cb0ed34854_ct_206,
783 .iv = chiptest_12cb0ed34854_iv_207,
785 .aad = chiptest_12cb0ed34854_aad_208,
787 .tag = chiptest_12cb0ed34854_tag_209,
791 static const uint8_t chiptest_12cb0ed34854_key_211[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
792 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
793 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
794 static const uint8_t chiptest_12cb0ed34854_pt_212[] = {};
795 static const uint8_t chiptest_12cb0ed34854_ct_213[] = {};
796 static const uint8_t chiptest_12cb0ed34854_iv_214[] = {
797 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
799 static const uint8_t chiptest_12cb0ed34854_aad_215[] = { 0xeb };
800 static const uint8_t chiptest_12cb0ed34854_tag_216[] = { 0xaf, 0xc6, 0xf9, 0x48, 0xae, 0x21, 0xc2, 0x7c };
801 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_217 = { .key = chiptest_12cb0ed34854_key_211,
803 .pt = chiptest_12cb0ed34854_pt_212,
805 .ct = chiptest_12cb0ed34854_ct_213,
807 .iv = chiptest_12cb0ed34854_iv_214,
809 .aad = chiptest_12cb0ed34854_aad_215,
811 .tag = chiptest_12cb0ed34854_tag_216,
815 static const uint8_t chiptest_12cb0ed34854_key_218[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
816 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
817 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
818 static const uint8_t chiptest_12cb0ed34854_pt_219[] = {};
819 static const uint8_t chiptest_12cb0ed34854_ct_220[] = {};
820 static const uint8_t chiptest_12cb0ed34854_iv_221[] = {
821 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
823 static const uint8_t chiptest_12cb0ed34854_aad_222[] = { 0xeb };
824 static const uint8_t chiptest_12cb0ed34854_tag_223[] = { 0xd7, 0x71, 0x56, 0x7f, 0xee, 0x7b, 0x52, 0x2a, 0x95, 0x6a, 0x86, 0x5e };
825 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_224 = { .key = chiptest_12cb0ed34854_key_218,
827 .pt = chiptest_12cb0ed34854_pt_219,
829 .ct = chiptest_12cb0ed34854_ct_220,
831 .iv = chiptest_12cb0ed34854_iv_221,
833 .aad = chiptest_12cb0ed34854_aad_222,
835 .tag = chiptest_12cb0ed34854_tag_223,
839 static const uint8_t chiptest_12cb0ed34854_key_225[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
840 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
841 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
842 static const uint8_t chiptest_12cb0ed34854_pt_226[] = {};
843 static const uint8_t chiptest_12cb0ed34854_ct_227[] = {};
844 static const uint8_t chiptest_12cb0ed34854_iv_228[] = {
845 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
847 static const uint8_t chiptest_12cb0ed34854_aad_229[] = { 0xeb };
848 static const uint8_t chiptest_12cb0ed34854_tag_230[] = { 0x6a, 0x94, 0x0c, 0x32, 0x1a, 0xa4, 0x22, 0xd6,
849 0x34, 0x6b, 0x83, 0x9f, 0x88, 0x90, 0x0d, 0xd0 };
850 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_231 = { .key = chiptest_12cb0ed34854_key_225,
852 .pt = chiptest_12cb0ed34854_pt_226,
854 .ct = chiptest_12cb0ed34854_ct_227,
856 .iv = chiptest_12cb0ed34854_iv_228,
858 .aad = chiptest_12cb0ed34854_aad_229,
860 .tag = chiptest_12cb0ed34854_tag_230,
864 static const uint8_t chiptest_12cb0ed34854_key_232[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
865 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
866 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
867 static const uint8_t chiptest_12cb0ed34854_pt_233[] = {};
868 static const uint8_t chiptest_12cb0ed34854_ct_234[] = {};
869 static const uint8_t chiptest_12cb0ed34854_iv_235[] = {
870 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
872 static const uint8_t chiptest_12cb0ed34854_aad_236[] = { 0x7e, 0x39, 0xdd, 0x42, 0xab, 0xd1, 0xca, 0x47, 0x38, 0x3f, 0x31,
873 0xb5, 0x2c, 0x12, 0x4a, 0x5d, 0xba, 0xc4, 0xfe, 0x43, 0xb3, 0x0d,
874 0xed, 0x71, 0xb6, 0xca, 0x05, 0x40, 0x14, 0xbf, 0xb6, 0x00 };
875 static const uint8_t chiptest_12cb0ed34854_tag_237[] = { 0xa3, 0x8f, 0x71, 0x32, 0xfa, 0xb8, 0x43, 0xea };
876 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_238 = { .key = chiptest_12cb0ed34854_key_232,
878 .pt = chiptest_12cb0ed34854_pt_233,
880 .ct = chiptest_12cb0ed34854_ct_234,
882 .iv = chiptest_12cb0ed34854_iv_235,
884 .aad = chiptest_12cb0ed34854_aad_236,
886 .tag = chiptest_12cb0ed34854_tag_237,
890 static const uint8_t chiptest_12cb0ed34854_key_239[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
891 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
892 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
893 static const uint8_t chiptest_12cb0ed34854_pt_240[] = {};
894 static const uint8_t chiptest_12cb0ed34854_ct_241[] = {};
895 static const uint8_t chiptest_12cb0ed34854_iv_242[] = {
896 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
898 static const uint8_t chiptest_12cb0ed34854_aad_243[] = { 0x7e, 0x39, 0xdd, 0x42, 0xab, 0xd1, 0xca, 0x47, 0x38, 0x3f, 0x31,
899 0xb5, 0x2c, 0x12, 0x4a, 0x5d, 0xba, 0xc4, 0xfe, 0x43, 0xb3, 0x0d,
900 0xed, 0x71, 0xb6, 0xca, 0x05, 0x40, 0x14, 0xbf, 0xb6, 0x00 };
901 static const uint8_t chiptest_12cb0ed34854_tag_244[] = { 0x59, 0xe5, 0xf7, 0x0c, 0x8e, 0x86, 0x32, 0x6b, 0x61, 0x66, 0x77, 0x7c };
902 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_245 = { .key = chiptest_12cb0ed34854_key_239,
904 .pt = chiptest_12cb0ed34854_pt_240,
906 .ct = chiptest_12cb0ed34854_ct_241,
908 .iv = chiptest_12cb0ed34854_iv_242,
910 .aad = chiptest_12cb0ed34854_aad_243,
912 .tag = chiptest_12cb0ed34854_tag_244,
916 static const uint8_t chiptest_12cb0ed34854_key_246[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
917 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
918 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
919 static const uint8_t chiptest_12cb0ed34854_pt_247[] = {};
920 static const uint8_t chiptest_12cb0ed34854_ct_248[] = {};
921 static const uint8_t chiptest_12cb0ed34854_iv_249[] = {
922 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
924 static const uint8_t chiptest_12cb0ed34854_aad_250[] = { 0x7e, 0x39, 0xdd, 0x42, 0xab, 0xd1, 0xca, 0x47, 0x38, 0x3f, 0x31,
925 0xb5, 0x2c, 0x12, 0x4a, 0x5d, 0xba, 0xc4, 0xfe, 0x43, 0xb3, 0x0d,
926 0xed, 0x71, 0xb6, 0xca, 0x05, 0x40, 0x14, 0xbf, 0xb6, 0x00 };
927 static const uint8_t chiptest_12cb0ed34854_tag_251[] = { 0x25, 0x46, 0x20, 0x97, 0x7f, 0x47, 0xbf, 0xd6,
928 0x74, 0x30, 0xf3, 0xed, 0x01, 0xbc, 0x6b, 0x31 };
929 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_252 = { .key = chiptest_12cb0ed34854_key_246,
931 .pt = chiptest_12cb0ed34854_pt_247,
933 .ct = chiptest_12cb0ed34854_ct_248,
935 .iv = chiptest_12cb0ed34854_iv_249,
937 .aad = chiptest_12cb0ed34854_aad_250,
939 .tag = chiptest_12cb0ed34854_tag_251,
943 static const uint8_t chiptest_12cb0ed34854_key_253[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
944 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
945 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
946 static const uint8_t chiptest_12cb0ed34854_pt_254[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
947 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
948 static const uint8_t chiptest_12cb0ed34854_ct_255[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
949 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
950 static const uint8_t chiptest_12cb0ed34854_iv_256[] = {
951 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
953 static const uint8_t chiptest_12cb0ed34854_aad_257[] = {};
954 static const uint8_t chiptest_12cb0ed34854_tag_258[] = { 0x43, 0xd5, 0xd9, 0x8c, 0xa0, 0xa2, 0x25, 0x50 };
955 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_259 = { .key = chiptest_12cb0ed34854_key_253,
957 .pt = chiptest_12cb0ed34854_pt_254,
959 .ct = chiptest_12cb0ed34854_ct_255,
961 .iv = chiptest_12cb0ed34854_iv_256,
963 .aad = chiptest_12cb0ed34854_aad_257,
965 .tag = chiptest_12cb0ed34854_tag_258,
969 static const uint8_t chiptest_12cb0ed34854_key_260[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
970 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
971 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
972 static const uint8_t chiptest_12cb0ed34854_pt_261[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
973 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
974 static const uint8_t chiptest_12cb0ed34854_ct_262[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
975 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
976 static const uint8_t chiptest_12cb0ed34854_iv_263[] = {
977 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
979 static const uint8_t chiptest_12cb0ed34854_aad_264[] = {};
980 static const uint8_t chiptest_12cb0ed34854_tag_265[] = { 0x80, 0x8f, 0x50, 0x04, 0xad, 0x52, 0xb0, 0x37, 0xbc, 0x38, 0xe1, 0xa5 };
981 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_266 = { .key = chiptest_12cb0ed34854_key_260,
983 .pt = chiptest_12cb0ed34854_pt_261,
985 .ct = chiptest_12cb0ed34854_ct_262,
987 .iv = chiptest_12cb0ed34854_iv_263,
989 .aad = chiptest_12cb0ed34854_aad_264,
991 .tag = chiptest_12cb0ed34854_tag_265,
995 static const uint8_t chiptest_12cb0ed34854_key_267[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
996 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
997 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
998 static const uint8_t chiptest_12cb0ed34854_pt_268[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
999 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
1000 static const uint8_t chiptest_12cb0ed34854_ct_269[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
1001 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
1002 static const uint8_t chiptest_12cb0ed34854_iv_270[] = {
1003 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1005 static const uint8_t chiptest_12cb0ed34854_aad_271[] = {};
1006 static const uint8_t chiptest_12cb0ed34854_tag_272[] = { 0x1f, 0x0b, 0x8f, 0x8b, 0x7d, 0xf5, 0x46, 0xa9,
1007 0x93, 0x36, 0x6a, 0x02, 0x6f, 0x0c, 0x2d, 0x61 };
1008 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_273 = { .key = chiptest_12cb0ed34854_key_267,
1010 .pt = chiptest_12cb0ed34854_pt_268,
1012 .ct = chiptest_12cb0ed34854_ct_269,
1014 .iv = chiptest_12cb0ed34854_iv_270,
1016 .aad = chiptest_12cb0ed34854_aad_271,
1018 .tag = chiptest_12cb0ed34854_tag_272,
1022 static const uint8_t chiptest_12cb0ed34854_key_274[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1023 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1024 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1025 static const uint8_t chiptest_12cb0ed34854_pt_275[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
1026 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
1027 static const uint8_t chiptest_12cb0ed34854_ct_276[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
1028 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
1029 static const uint8_t chiptest_12cb0ed34854_iv_277[] = {
1030 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1032 static const uint8_t chiptest_12cb0ed34854_aad_278[] = { 0xaa };
1033 static const uint8_t chiptest_12cb0ed34854_tag_279[] = { 0xd8, 0x57, 0x1b, 0x1e, 0x92, 0xf4, 0x58, 0x27 };
1034 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_280 = { .key = chiptest_12cb0ed34854_key_274,
1036 .pt = chiptest_12cb0ed34854_pt_275,
1038 .ct = chiptest_12cb0ed34854_ct_276,
1040 .iv = chiptest_12cb0ed34854_iv_277,
1042 .aad = chiptest_12cb0ed34854_aad_278,
1044 .tag = chiptest_12cb0ed34854_tag_279,
1048 static const uint8_t chiptest_12cb0ed34854_key_281[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1049 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1050 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1051 static const uint8_t chiptest_12cb0ed34854_pt_282[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
1052 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
1053 static const uint8_t chiptest_12cb0ed34854_ct_283[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
1054 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
1055 static const uint8_t chiptest_12cb0ed34854_iv_284[] = {
1056 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1058 static const uint8_t chiptest_12cb0ed34854_aad_285[] = { 0xaa };
1059 static const uint8_t chiptest_12cb0ed34854_tag_286[] = { 0xef, 0xbf, 0xf4, 0xb4, 0x81, 0xb8, 0xc3, 0xd4, 0x55, 0xed, 0x75, 0x11 };
1060 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_287 = { .key = chiptest_12cb0ed34854_key_281,
1062 .pt = chiptest_12cb0ed34854_pt_282,
1064 .ct = chiptest_12cb0ed34854_ct_283,
1066 .iv = chiptest_12cb0ed34854_iv_284,
1068 .aad = chiptest_12cb0ed34854_aad_285,
1070 .tag = chiptest_12cb0ed34854_tag_286,
1074 static const uint8_t chiptest_12cb0ed34854_key_288[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1075 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1076 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1077 static const uint8_t chiptest_12cb0ed34854_pt_289[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
1078 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
1079 static const uint8_t chiptest_12cb0ed34854_ct_290[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
1080 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
1081 static const uint8_t chiptest_12cb0ed34854_iv_291[] = {
1082 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1084 static const uint8_t chiptest_12cb0ed34854_aad_292[] = { 0xaa };
1085 static const uint8_t chiptest_12cb0ed34854_tag_293[] = { 0x67, 0x15, 0x75, 0xcd, 0xb2, 0xd9, 0x80, 0xae,
1086 0x02, 0x3a, 0x1f, 0xd6, 0xc1, 0xa6, 0x67, 0x52 };
1087 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_294 = { .key = chiptest_12cb0ed34854_key_288,
1089 .pt = chiptest_12cb0ed34854_pt_289,
1091 .ct = chiptest_12cb0ed34854_ct_290,
1093 .iv = chiptest_12cb0ed34854_iv_291,
1095 .aad = chiptest_12cb0ed34854_aad_292,
1097 .tag = chiptest_12cb0ed34854_tag_293,
1101 static const uint8_t chiptest_12cb0ed34854_key_295[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1102 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1103 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1104 static const uint8_t chiptest_12cb0ed34854_pt_296[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
1105 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
1106 static const uint8_t chiptest_12cb0ed34854_ct_297[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
1107 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
1108 static const uint8_t chiptest_12cb0ed34854_iv_298[] = {
1109 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1111 static const uint8_t chiptest_12cb0ed34854_aad_299[] = { 0x97, 0x40, 0xdd, 0x5c, 0xa3, 0x0d, 0x59, 0x86, 0x7b, 0x01, 0x0f,
1112 0xe3, 0x1a, 0xda, 0x21, 0x41, 0x4c, 0xfd, 0x30, 0xa4, 0x4a, 0x2a,
1113 0xa0, 0x2a, 0x46, 0xcb, 0xfd, 0xaf, 0x94, 0x7e, 0x0a, 0x3b };
1114 static const uint8_t chiptest_12cb0ed34854_tag_300[] = { 0xcf, 0x82, 0x65, 0x1d, 0x06, 0x79, 0xae, 0x2f };
1115 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_301 = { .key = chiptest_12cb0ed34854_key_295,
1117 .pt = chiptest_12cb0ed34854_pt_296,
1119 .ct = chiptest_12cb0ed34854_ct_297,
1121 .iv = chiptest_12cb0ed34854_iv_298,
1123 .aad = chiptest_12cb0ed34854_aad_299,
1125 .tag = chiptest_12cb0ed34854_tag_300,
1129 static const uint8_t chiptest_12cb0ed34854_key_302[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1130 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1131 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1132 static const uint8_t chiptest_12cb0ed34854_pt_303[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
1133 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
1134 static const uint8_t chiptest_12cb0ed34854_ct_304[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
1135 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
1136 static const uint8_t chiptest_12cb0ed34854_iv_305[] = {
1137 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1139 static const uint8_t chiptest_12cb0ed34854_aad_306[] = { 0x97, 0x40, 0xdd, 0x5c, 0xa3, 0x0d, 0x59, 0x86, 0x7b, 0x01, 0x0f,
1140 0xe3, 0x1a, 0xda, 0x21, 0x41, 0x4c, 0xfd, 0x30, 0xa4, 0x4a, 0x2a,
1141 0xa0, 0x2a, 0x46, 0xcb, 0xfd, 0xaf, 0x94, 0x7e, 0x0a, 0x3b };
1142 static const uint8_t chiptest_12cb0ed34854_tag_307[] = { 0x2c, 0x03, 0xb6, 0x3a, 0xf7, 0x2a, 0x9c, 0x39, 0x24, 0x55, 0xd3, 0x43 };
1143 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_308 = { .key = chiptest_12cb0ed34854_key_302,
1145 .pt = chiptest_12cb0ed34854_pt_303,
1147 .ct = chiptest_12cb0ed34854_ct_304,
1149 .iv = chiptest_12cb0ed34854_iv_305,
1151 .aad = chiptest_12cb0ed34854_aad_306,
1153 .tag = chiptest_12cb0ed34854_tag_307,
1157 static const uint8_t chiptest_12cb0ed34854_key_309[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1158 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1159 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1160 static const uint8_t chiptest_12cb0ed34854_pt_310[] = { 0xae, 0x0d, 0x82, 0x7b, 0xb5, 0xc3, 0x76, 0x7a,
1161 0x7f, 0xec, 0x3e, 0x96, 0xcc, 0x3f, 0x4a, 0x3c };
1162 static const uint8_t chiptest_12cb0ed34854_ct_311[] = { 0x62, 0xc5, 0x1e, 0x87, 0x8e, 0xc5, 0x90, 0xa4,
1163 0x87, 0x74, 0xa7, 0x42, 0x37, 0x8b, 0x4e, 0xd4 };
1164 static const uint8_t chiptest_12cb0ed34854_iv_312[] = {
1165 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1167 static const uint8_t chiptest_12cb0ed34854_aad_313[] = { 0x97, 0x40, 0xdd, 0x5c, 0xa3, 0x0d, 0x59, 0x86, 0x7b, 0x01, 0x0f,
1168 0xe3, 0x1a, 0xda, 0x21, 0x41, 0x4c, 0xfd, 0x30, 0xa4, 0x4a, 0x2a,
1169 0xa0, 0x2a, 0x46, 0xcb, 0xfd, 0xaf, 0x94, 0x7e, 0x0a, 0x3b };
1170 static const uint8_t chiptest_12cb0ed34854_tag_314[] = { 0x02, 0x24, 0xde, 0x7c, 0xeb, 0x9d, 0xe4, 0x6c,
1171 0xad, 0xee, 0xb9, 0x91, 0x17, 0x78, 0xdd, 0x5c };
1172 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_315 = { .key = chiptest_12cb0ed34854_key_309,
1174 .pt = chiptest_12cb0ed34854_pt_310,
1176 .ct = chiptest_12cb0ed34854_ct_311,
1178 .iv = chiptest_12cb0ed34854_iv_312,
1180 .aad = chiptest_12cb0ed34854_aad_313,
1182 .tag = chiptest_12cb0ed34854_tag_314,
1186 static const uint8_t chiptest_12cb0ed34854_key_316[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1187 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1188 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1189 static const uint8_t chiptest_12cb0ed34854_pt_317[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1190 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1191 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1192 static const uint8_t chiptest_12cb0ed34854_ct_318[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1193 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1194 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1195 static const uint8_t chiptest_12cb0ed34854_iv_319[] = {
1196 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1198 static const uint8_t chiptest_12cb0ed34854_aad_320[] = {};
1199 static const uint8_t chiptest_12cb0ed34854_tag_321[] = { 0xeb, 0x2e, 0x20, 0xb6, 0x30, 0x40, 0x48, 0x7e };
1200 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_322 = { .key = chiptest_12cb0ed34854_key_316,
1202 .pt = chiptest_12cb0ed34854_pt_317,
1204 .ct = chiptest_12cb0ed34854_ct_318,
1206 .iv = chiptest_12cb0ed34854_iv_319,
1208 .aad = chiptest_12cb0ed34854_aad_320,
1210 .tag = chiptest_12cb0ed34854_tag_321,
1214 static const uint8_t chiptest_12cb0ed34854_key_323[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1215 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1216 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1217 static const uint8_t chiptest_12cb0ed34854_pt_324[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1218 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1219 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1220 static const uint8_t chiptest_12cb0ed34854_ct_325[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1221 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1222 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1223 static const uint8_t chiptest_12cb0ed34854_iv_326[] = {
1224 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1226 static const uint8_t chiptest_12cb0ed34854_aad_327[] = {};
1227 static const uint8_t chiptest_12cb0ed34854_tag_328[] = { 0x6a, 0xa7, 0xc4, 0x5d, 0x28, 0x5e, 0xce, 0x89, 0xd3, 0xe6, 0x99, 0x80 };
1228 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_329 = { .key = chiptest_12cb0ed34854_key_323,
1230 .pt = chiptest_12cb0ed34854_pt_324,
1232 .ct = chiptest_12cb0ed34854_ct_325,
1234 .iv = chiptest_12cb0ed34854_iv_326,
1236 .aad = chiptest_12cb0ed34854_aad_327,
1238 .tag = chiptest_12cb0ed34854_tag_328,
1242 static const uint8_t chiptest_12cb0ed34854_key_330[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1243 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1244 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1245 static const uint8_t chiptest_12cb0ed34854_pt_331[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1246 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1247 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1248 static const uint8_t chiptest_12cb0ed34854_ct_332[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1249 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1250 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1251 static const uint8_t chiptest_12cb0ed34854_iv_333[] = {
1252 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1254 static const uint8_t chiptest_12cb0ed34854_aad_334[] = {};
1255 static const uint8_t chiptest_12cb0ed34854_tag_335[] = { 0xfe, 0xbb, 0xb8, 0xc8, 0xf1, 0xce, 0x2a, 0xbd,
1256 0x6f, 0x7e, 0x4c, 0x94, 0x20, 0x59, 0xc6, 0x50 };
1257 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_336 = { .key = chiptest_12cb0ed34854_key_330,
1259 .pt = chiptest_12cb0ed34854_pt_331,
1261 .ct = chiptest_12cb0ed34854_ct_332,
1263 .iv = chiptest_12cb0ed34854_iv_333,
1265 .aad = chiptest_12cb0ed34854_aad_334,
1267 .tag = chiptest_12cb0ed34854_tag_335,
1271 static const uint8_t chiptest_12cb0ed34854_key_337[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1272 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1273 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1274 static const uint8_t chiptest_12cb0ed34854_pt_338[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1275 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1276 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1277 static const uint8_t chiptest_12cb0ed34854_ct_339[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1278 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1279 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1280 static const uint8_t chiptest_12cb0ed34854_iv_340[] = {
1281 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1283 static const uint8_t chiptest_12cb0ed34854_aad_341[] = { 0x2e };
1284 static const uint8_t chiptest_12cb0ed34854_tag_342[] = { 0xa6, 0xfe, 0xf8, 0xd7, 0x72, 0x8a, 0xb1, 0xe2 };
1285 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_343 = { .key = chiptest_12cb0ed34854_key_337,
1287 .pt = chiptest_12cb0ed34854_pt_338,
1289 .ct = chiptest_12cb0ed34854_ct_339,
1291 .iv = chiptest_12cb0ed34854_iv_340,
1293 .aad = chiptest_12cb0ed34854_aad_341,
1295 .tag = chiptest_12cb0ed34854_tag_342,
1299 static const uint8_t chiptest_12cb0ed34854_key_344[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1300 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1301 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1302 static const uint8_t chiptest_12cb0ed34854_pt_345[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1303 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1304 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1305 static const uint8_t chiptest_12cb0ed34854_ct_346[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1306 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1307 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1308 static const uint8_t chiptest_12cb0ed34854_iv_347[] = {
1309 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1311 static const uint8_t chiptest_12cb0ed34854_aad_348[] = { 0x2e };
1312 static const uint8_t chiptest_12cb0ed34854_tag_349[] = { 0xc4, 0xce, 0x9d, 0xc5, 0xbc, 0x36, 0xb7, 0xa0, 0xc0, 0x35, 0x6f, 0xd6 };
1313 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_350 = { .key = chiptest_12cb0ed34854_key_344,
1315 .pt = chiptest_12cb0ed34854_pt_345,
1317 .ct = chiptest_12cb0ed34854_ct_346,
1319 .iv = chiptest_12cb0ed34854_iv_347,
1321 .aad = chiptest_12cb0ed34854_aad_348,
1323 .tag = chiptest_12cb0ed34854_tag_349,
1327 static const uint8_t chiptest_12cb0ed34854_key_351[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1328 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1329 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1330 static const uint8_t chiptest_12cb0ed34854_pt_352[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1331 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1332 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1333 static const uint8_t chiptest_12cb0ed34854_ct_353[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1334 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1335 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1336 static const uint8_t chiptest_12cb0ed34854_iv_354[] = {
1337 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1339 static const uint8_t chiptest_12cb0ed34854_aad_355[] = { 0x2e };
1340 static const uint8_t chiptest_12cb0ed34854_tag_356[] = { 0xd4, 0x35, 0x7e, 0x1a, 0x3e, 0x22, 0xd0, 0x37,
1341 0x25, 0x9d, 0x7b, 0xb0, 0x86, 0x32, 0x0a, 0x81 };
1342 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_357 = { .key = chiptest_12cb0ed34854_key_351,
1344 .pt = chiptest_12cb0ed34854_pt_352,
1346 .ct = chiptest_12cb0ed34854_ct_353,
1348 .iv = chiptest_12cb0ed34854_iv_354,
1350 .aad = chiptest_12cb0ed34854_aad_355,
1352 .tag = chiptest_12cb0ed34854_tag_356,
1356 static const uint8_t chiptest_12cb0ed34854_key_358[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1357 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1358 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1359 static const uint8_t chiptest_12cb0ed34854_pt_359[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1360 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1361 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1362 static const uint8_t chiptest_12cb0ed34854_ct_360[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1363 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1364 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1365 static const uint8_t chiptest_12cb0ed34854_iv_361[] = {
1366 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1368 static const uint8_t chiptest_12cb0ed34854_aad_362[] = { 0x98, 0x5b, 0xf0, 0x38, 0x16, 0xe9, 0x29, 0xce, 0x66, 0x81, 0x0d,
1369 0x7e, 0x1a, 0x78, 0x46, 0xc9, 0x1e, 0x05, 0x68, 0x6d, 0x0e, 0xcf,
1370 0x8f, 0x94, 0x31, 0x0a, 0x37, 0xa1, 0xc0, 0x76, 0x1b, 0x04 };
1371 static const uint8_t chiptest_12cb0ed34854_tag_363[] = { 0x5f, 0x56, 0xb2, 0x9e, 0xc3, 0xdd, 0x21, 0x2d };
1372 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_364 = { .key = chiptest_12cb0ed34854_key_358,
1374 .pt = chiptest_12cb0ed34854_pt_359,
1376 .ct = chiptest_12cb0ed34854_ct_360,
1378 .iv = chiptest_12cb0ed34854_iv_361,
1380 .aad = chiptest_12cb0ed34854_aad_362,
1382 .tag = chiptest_12cb0ed34854_tag_363,
1386 static const uint8_t chiptest_12cb0ed34854_key_365[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1387 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1388 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1389 static const uint8_t chiptest_12cb0ed34854_pt_366[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1390 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1391 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1392 static const uint8_t chiptest_12cb0ed34854_ct_367[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1393 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1394 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1395 static const uint8_t chiptest_12cb0ed34854_iv_368[] = {
1396 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1398 static const uint8_t chiptest_12cb0ed34854_aad_369[] = { 0x98, 0x5b, 0xf0, 0x38, 0x16, 0xe9, 0x29, 0xce, 0x66, 0x81, 0x0d,
1399 0x7e, 0x1a, 0x78, 0x46, 0xc9, 0x1e, 0x05, 0x68, 0x6d, 0x0e, 0xcf,
1400 0x8f, 0x94, 0x31, 0x0a, 0x37, 0xa1, 0xc0, 0x76, 0x1b, 0x04 };
1401 static const uint8_t chiptest_12cb0ed34854_tag_370[] = { 0x11, 0xcf, 0x30, 0xd3, 0xdf, 0x32, 0x4b, 0xa0, 0xe4, 0x82, 0x64, 0x8a };
1402 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_371 = { .key = chiptest_12cb0ed34854_key_365,
1404 .pt = chiptest_12cb0ed34854_pt_366,
1406 .ct = chiptest_12cb0ed34854_ct_367,
1408 .iv = chiptest_12cb0ed34854_iv_368,
1410 .aad = chiptest_12cb0ed34854_aad_369,
1412 .tag = chiptest_12cb0ed34854_tag_370,
1416 static const uint8_t chiptest_12cb0ed34854_key_372[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1417 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1418 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1419 static const uint8_t chiptest_12cb0ed34854_pt_373[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1420 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1421 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1422 static const uint8_t chiptest_12cb0ed34854_ct_374[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1423 0x10, 0x23, 0x3b, 0x5c, 0x70, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1424 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1425 static const uint8_t chiptest_12cb0ed34854_iv_375[] = {
1426 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d, 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9
1428 static const uint8_t chiptest_12cb0ed34854_aad_376[] = { 0x98, 0x5b, 0xf0, 0x38, 0x16, 0xe9, 0x29, 0xce, 0x66, 0x81, 0x0d,
1429 0x7e, 0x1a, 0x78, 0x46, 0xc9, 0x1e, 0x05, 0x68, 0x6d, 0x0e, 0xcf,
1430 0x8f, 0x94, 0x31, 0x0a, 0x37, 0xa1, 0xc0, 0x76, 0x1b, 0x04 };
1431 static const uint8_t chiptest_12cb0ed34854_tag_377[] = { 0x07, 0x57, 0x3b, 0xc7, 0x7f, 0xa9, 0x58, 0x63,
1432 0xde, 0xc4, 0x16, 0xd6, 0xbe, 0x3b, 0x1e, 0xb3 };
1433 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_378 = { .key = chiptest_12cb0ed34854_key_372,
1435 .pt = chiptest_12cb0ed34854_pt_373,
1437 .ct = chiptest_12cb0ed34854_ct_374,
1439 .iv = chiptest_12cb0ed34854_iv_375,
1441 .aad = chiptest_12cb0ed34854_aad_376,
1443 .tag = chiptest_12cb0ed34854_tag_377,
1447 static const struct ccm_test_vector * ccm_test_vectors[] = {
1448 &chiptest_12cb0ed34854_test_vector_7, &chiptest_12cb0ed34854_test_vector_14, &chiptest_12cb0ed34854_test_vector_21,
1449 &chiptest_12cb0ed34854_test_vector_28, &chiptest_12cb0ed34854_test_vector_35, &chiptest_12cb0ed34854_test_vector_42,
1450 &chiptest_12cb0ed34854_test_vector_49, &chiptest_12cb0ed34854_test_vector_56, &chiptest_12cb0ed34854_test_vector_63,
1451 &chiptest_12cb0ed34854_test_vector_70, &chiptest_12cb0ed34854_test_vector_77, &chiptest_12cb0ed34854_test_vector_84,
1452 &chiptest_12cb0ed34854_test_vector_91, &chiptest_12cb0ed34854_test_vector_98, &chiptest_12cb0ed34854_test_vector_105,
1453 &chiptest_12cb0ed34854_test_vector_112, &chiptest_12cb0ed34854_test_vector_119, &chiptest_12cb0ed34854_test_vector_126,
1454 &chiptest_12cb0ed34854_test_vector_133, &chiptest_12cb0ed34854_test_vector_140, &chiptest_12cb0ed34854_test_vector_147,
1455 &chiptest_12cb0ed34854_test_vector_154, &chiptest_12cb0ed34854_test_vector_161, &chiptest_12cb0ed34854_test_vector_168,
1456 &chiptest_12cb0ed34854_test_vector_175, &chiptest_12cb0ed34854_test_vector_182, &chiptest_12cb0ed34854_test_vector_189,
1457 &chiptest_12cb0ed34854_test_vector_196, &chiptest_12cb0ed34854_test_vector_203, &chiptest_12cb0ed34854_test_vector_210,
1458 &chiptest_12cb0ed34854_test_vector_217, &chiptest_12cb0ed34854_test_vector_224, &chiptest_12cb0ed34854_test_vector_231,
1459 &chiptest_12cb0ed34854_test_vector_238, &chiptest_12cb0ed34854_test_vector_245, &chiptest_12cb0ed34854_test_vector_252,
1460 &chiptest_12cb0ed34854_test_vector_259, &chiptest_12cb0ed34854_test_vector_266, &chiptest_12cb0ed34854_test_vector_273,
1461 &chiptest_12cb0ed34854_test_vector_280, &chiptest_12cb0ed34854_test_vector_287, &chiptest_12cb0ed34854_test_vector_294,
1462 &chiptest_12cb0ed34854_test_vector_301, &chiptest_12cb0ed34854_test_vector_308, &chiptest_12cb0ed34854_test_vector_315,
1463 &chiptest_12cb0ed34854_test_vector_322, &chiptest_12cb0ed34854_test_vector_329, &chiptest_12cb0ed34854_test_vector_336,
1464 &chiptest_12cb0ed34854_test_vector_343, &chiptest_12cb0ed34854_test_vector_350, &chiptest_12cb0ed34854_test_vector_357,
1465 &chiptest_12cb0ed34854_test_vector_364, &chiptest_12cb0ed34854_test_vector_371, &chiptest_12cb0ed34854_test_vector_378
1468 // These are some invalid vectors where the ct bits have been flipped.
1469 static const uint8_t chiptest_12cb0ed34854_key_3721[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1470 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1471 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1472 static const uint8_t chiptest_12cb0ed34854_pt_3731[] = { 0xee, 0xc3, 0xe6, 0xc0, 0xe5, 0x62, 0xa7, 0xea, 0xe0, 0x5c, 0x3d,
1473 0xc4, 0xd8, 0x8f, 0x58, 0x98, 0x58, 0x17, 0xcb, 0x02, 0xa5, 0xae,
1474 0x72, 0x03, 0xce, 0x79, 0x9f, 0x73, 0x4d, 0xfd, 0x25, 0xfa, 0x9a };
1475 static const uint8_t chiptest_12cb0ed34854_ct_3741[] = { 0x22, 0x0b, 0x7a, 0x3c, 0xde, 0x64, 0x41, 0x34, 0x18, 0xc4, 0xa4,
1476 0x10, 0x23, 0x3b, 0x5c, 0x71, 0x85, 0x0e, 0x74, 0x40, 0xb9, 0x4b,
1477 0x03, 0xad, 0xaa, 0xd7, 0x76, 0x6c, 0xe7, 0x13, 0xc5, 0x6d, 0xff };
1478 static const uint8_t chiptest_12cb0ed34854_iv_3751[] = { 0x95, 0xf9, 0x61, 0x8a, 0x2c, 0x8f, 0x0d,
1479 0x28, 0xb5, 0xbb, 0xe5, 0x8c, 0xe9 };
1480 static const uint8_t chiptest_12cb0ed34854_aad_3761[] = { 0x98, 0x5b, 0xf0, 0x38, 0x16, 0xe9, 0x29, 0xce, 0x66, 0x81, 0x0d,
1481 0x7e, 0x1a, 0x78, 0x46, 0xc9, 0x1e, 0x05, 0x68, 0x6d, 0x0e, 0xcf,
1482 0x8f, 0x94, 0x31, 0x0a, 0x37, 0xa1, 0xc0, 0x76, 0x1b, 0x04 };
1483 static const uint8_t chiptest_12cb0ed34854_tag_3771[] = { 0x07, 0x57, 0x3b, 0xc7, 0x7f, 0xa9, 0x58, 0x63,
1484 0xde, 0xc4, 0x16, 0xd6, 0xbe, 0x3b, 0x1e, 0xb3 };
1485 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_3781 = { .key = chiptest_12cb0ed34854_key_3721,
1487 .pt = chiptest_12cb0ed34854_pt_3731,
1489 .ct = chiptest_12cb0ed34854_ct_3741,
1491 .iv = chiptest_12cb0ed34854_iv_3751,
1493 .aad = chiptest_12cb0ed34854_aad_3761,
1495 .tag = chiptest_12cb0ed34854_tag_3771,
1500 static const uint8_t chiptest_12cb0ed34854_key_1411[] = { 0x4a, 0x45, 0x65, 0x85, 0xb8, 0xd3, 0xd2, 0xf2, 0x39, 0x51, 0xf2,
1501 0x74, 0xbd, 0x98, 0xe6, 0x65, 0x5e, 0xd5, 0x3f, 0x3c, 0xec, 0x05,
1502 0xa4, 0x65, 0xd0, 0x20, 0xb0, 0xdf, 0x6a, 0x33, 0x45, 0xd5 };
1503 static const uint8_t chiptest_12cb0ed34854_pt_1421[] = { 0xcd, 0x59, 0xde, 0x72, 0x61, 0x2d, 0x17, 0x54, 0xf8, 0x26, 0xe1,
1504 0x99, 0x65, 0x6b, 0x47, 0x21, 0x50, 0xd8, 0xf5, 0x9a, 0xf1, 0x5f,
1505 0xba, 0x7d, 0x49, 0xd7, 0xa3, 0x2b, 0x7f, 0xb4, 0x11, 0x30, 0x03 };
1506 static const uint8_t chiptest_12cb0ed34854_ct_1431[] = { 0x9a, 0x48, 0xb4, 0x6d, 0x76, 0x24, 0xf5, 0xc1, 0x5f, 0x65, 0x45,
1507 0x91, 0x11, 0x39, 0x53, 0x1f, 0x2b, 0x25, 0xed, 0xcf, 0x6a, 0x9c,
1508 0xfd, 0x27, 0x9b, 0x16, 0x28, 0xcd, 0xa4, 0x5f, 0x58, 0xd0, 0x3e };
1509 static const uint8_t chiptest_12cb0ed34854_iv_1441[] = { 0xaf, 0x38, 0xfc, 0xd0, 0x6b, 0x87, 0x80 };
1510 static const uint8_t chiptest_12cb0ed34854_aad_1451[] = {};
1511 static const uint8_t chiptest_12cb0ed34854_tag_1461[] = { 0xab, 0x73, 0x1f, 0xc8, 0x0a, 0xde, 0x38, 0xf1,
1512 0xa9, 0x84, 0x60, 0x6e, 0xae, 0x05, 0xa0, 0x2b };
1513 static const struct ccm_test_vector chiptest_12cb0ed34854_test_vector_1471 = { .key = chiptest_12cb0ed34854_key_1411,
1515 .pt = chiptest_12cb0ed34854_pt_1421,
1517 .ct = chiptest_12cb0ed34854_ct_1431,
1519 .iv = chiptest_12cb0ed34854_iv_1441,
1521 .aad = chiptest_12cb0ed34854_aad_1451,
1523 .tag = chiptest_12cb0ed34854_tag_1461,
1528 static const struct ccm_test_vector * ccm_invalid_test_vectors[] = { &chiptest_12cb0ed34854_test_vector_3781,
1529 &chiptest_12cb0ed34854_test_vector_1471 };