Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / crypto / tests / AES_CCM_256_test_vectors.h
1 /*
2  *
3  *    Copyright (c) 2020 Project CHIP Authors
4  *
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
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
10  *
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.
16  */
17
18 /**
19  * @file - This file contains AES-CCM test vectors.
20  */
21
22 #ifndef _AES_CCM_256_TEST_VECTORS_H_
23 #define _AES_CCM_256_TEST_VECTORS_H_
24
25 typedef struct ccm_test_vector
26 {
27     const uint8_t * key;
28     size_t key_len;
29     const uint8_t * pt;
30     size_t pt_len;
31     const uint8_t * ct;
32     size_t ct_len;
33     const uint8_t * iv;
34     size_t iv_len;
35     const uint8_t * aad;
36     size_t aad_len;
37     const uint8_t * tag;
38     size_t tag_len;
39     unsigned tcId;
40     uint64_t result;
41 } ccm_test_vector;
42
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,
52                                                                             .key_len = 32,
53                                                                             .pt      = chiptest_12cb0ed34854_pt_2,
54                                                                             .pt_len  = 0,
55                                                                             .ct      = chiptest_12cb0ed34854_ct_3,
56                                                                             .ct_len  = 0,
57                                                                             .iv      = chiptest_12cb0ed34854_iv_4,
58                                                                             .iv_len  = 7,
59                                                                             .aad     = chiptest_12cb0ed34854_aad_5,
60                                                                             .aad_len = 0,
61                                                                             .tag     = chiptest_12cb0ed34854_tag_6,
62                                                                             .tag_len = 8,
63                                                                             .tcId    = 1,
64                                                                             .result  = 1 };
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,
74                                                                              .key_len = 32,
75                                                                              .pt      = chiptest_12cb0ed34854_pt_9,
76                                                                              .pt_len  = 0,
77                                                                              .ct      = chiptest_12cb0ed34854_ct_10,
78                                                                              .ct_len  = 0,
79                                                                              .iv      = chiptest_12cb0ed34854_iv_11,
80                                                                              .iv_len  = 7,
81                                                                              .aad     = chiptest_12cb0ed34854_aad_12,
82                                                                              .aad_len = 0,
83                                                                              .tag     = chiptest_12cb0ed34854_tag_13,
84                                                                              .tag_len = 12,
85                                                                              .tcId    = 2,
86                                                                              .result  = 1 };
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,
97                                                                              .key_len = 32,
98                                                                              .pt      = chiptest_12cb0ed34854_pt_16,
99                                                                              .pt_len  = 0,
100                                                                              .ct      = chiptest_12cb0ed34854_ct_17,
101                                                                              .ct_len  = 0,
102                                                                              .iv      = chiptest_12cb0ed34854_iv_18,
103                                                                              .iv_len  = 7,
104                                                                              .aad     = chiptest_12cb0ed34854_aad_19,
105                                                                              .aad_len = 0,
106                                                                              .tag     = chiptest_12cb0ed34854_tag_20,
107                                                                              .tag_len = 16,
108                                                                              .tcId    = 3,
109                                                                              .result  = 1 };
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,
119                                                                              .key_len = 32,
120                                                                              .pt      = chiptest_12cb0ed34854_pt_23,
121                                                                              .pt_len  = 0,
122                                                                              .ct      = chiptest_12cb0ed34854_ct_24,
123                                                                              .ct_len  = 0,
124                                                                              .iv      = chiptest_12cb0ed34854_iv_25,
125                                                                              .iv_len  = 7,
126                                                                              .aad     = chiptest_12cb0ed34854_aad_26,
127                                                                              .aad_len = 1,
128                                                                              .tag     = chiptest_12cb0ed34854_tag_27,
129                                                                              .tag_len = 8,
130                                                                              .tcId    = 4,
131                                                                              .result  = 1 };
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,
141                                                                              .key_len = 32,
142                                                                              .pt      = chiptest_12cb0ed34854_pt_30,
143                                                                              .pt_len  = 0,
144                                                                              .ct      = chiptest_12cb0ed34854_ct_31,
145                                                                              .ct_len  = 0,
146                                                                              .iv      = chiptest_12cb0ed34854_iv_32,
147                                                                              .iv_len  = 7,
148                                                                              .aad     = chiptest_12cb0ed34854_aad_33,
149                                                                              .aad_len = 1,
150                                                                              .tag     = chiptest_12cb0ed34854_tag_34,
151                                                                              .tag_len = 12,
152                                                                              .tcId    = 5,
153                                                                              .result  = 1 };
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,
164                                                                              .key_len = 32,
165                                                                              .pt      = chiptest_12cb0ed34854_pt_37,
166                                                                              .pt_len  = 0,
167                                                                              .ct      = chiptest_12cb0ed34854_ct_38,
168                                                                              .ct_len  = 0,
169                                                                              .iv      = chiptest_12cb0ed34854_iv_39,
170                                                                              .iv_len  = 7,
171                                                                              .aad     = chiptest_12cb0ed34854_aad_40,
172                                                                              .aad_len = 1,
173                                                                              .tag     = chiptest_12cb0ed34854_tag_41,
174                                                                              .tag_len = 16,
175                                                                              .tcId    = 6,
176                                                                              .result  = 1 };
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,
188                                                                              .key_len = 32,
189                                                                              .pt      = chiptest_12cb0ed34854_pt_44,
190                                                                              .pt_len  = 0,
191                                                                              .ct      = chiptest_12cb0ed34854_ct_45,
192                                                                              .ct_len  = 0,
193                                                                              .iv      = chiptest_12cb0ed34854_iv_46,
194                                                                              .iv_len  = 7,
195                                                                              .aad     = chiptest_12cb0ed34854_aad_47,
196                                                                              .aad_len = 32,
197                                                                              .tag     = chiptest_12cb0ed34854_tag_48,
198                                                                              .tag_len = 8,
199                                                                              .tcId    = 7,
200                                                                              .result  = 1 };
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,
212                                                                              .key_len = 32,
213                                                                              .pt      = chiptest_12cb0ed34854_pt_51,
214                                                                              .pt_len  = 0,
215                                                                              .ct      = chiptest_12cb0ed34854_ct_52,
216                                                                              .ct_len  = 0,
217                                                                              .iv      = chiptest_12cb0ed34854_iv_53,
218                                                                              .iv_len  = 7,
219                                                                              .aad     = chiptest_12cb0ed34854_aad_54,
220                                                                              .aad_len = 32,
221                                                                              .tag     = chiptest_12cb0ed34854_tag_55,
222                                                                              .tag_len = 12,
223                                                                              .tcId    = 8,
224                                                                              .result  = 1 };
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,
237                                                                              .key_len = 32,
238                                                                              .pt      = chiptest_12cb0ed34854_pt_58,
239                                                                              .pt_len  = 0,
240                                                                              .ct      = chiptest_12cb0ed34854_ct_59,
241                                                                              .ct_len  = 0,
242                                                                              .iv      = chiptest_12cb0ed34854_iv_60,
243                                                                              .iv_len  = 7,
244                                                                              .aad     = chiptest_12cb0ed34854_aad_61,
245                                                                              .aad_len = 32,
246                                                                              .tag     = chiptest_12cb0ed34854_tag_62,
247                                                                              .tag_len = 16,
248                                                                              .tcId    = 9,
249                                                                              .result  = 1 };
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,
261                                                                              .key_len = 32,
262                                                                              .pt      = chiptest_12cb0ed34854_pt_65,
263                                                                              .pt_len  = 16,
264                                                                              .ct      = chiptest_12cb0ed34854_ct_66,
265                                                                              .ct_len  = 16,
266                                                                              .iv      = chiptest_12cb0ed34854_iv_67,
267                                                                              .iv_len  = 7,
268                                                                              .aad     = chiptest_12cb0ed34854_aad_68,
269                                                                              .aad_len = 0,
270                                                                              .tag     = chiptest_12cb0ed34854_tag_69,
271                                                                              .tag_len = 8,
272                                                                              .tcId    = 10,
273                                                                              .result  = 1 };
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,
285                                                                              .key_len = 32,
286                                                                              .pt      = chiptest_12cb0ed34854_pt_72,
287                                                                              .pt_len  = 16,
288                                                                              .ct      = chiptest_12cb0ed34854_ct_73,
289                                                                              .ct_len  = 16,
290                                                                              .iv      = chiptest_12cb0ed34854_iv_74,
291                                                                              .iv_len  = 7,
292                                                                              .aad     = chiptest_12cb0ed34854_aad_75,
293                                                                              .aad_len = 0,
294                                                                              .tag     = chiptest_12cb0ed34854_tag_76,
295                                                                              .tag_len = 12,
296                                                                              .tcId    = 11,
297                                                                              .result  = 1 };
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,
310                                                                              .key_len = 32,
311                                                                              .pt      = chiptest_12cb0ed34854_pt_79,
312                                                                              .pt_len  = 16,
313                                                                              .ct      = chiptest_12cb0ed34854_ct_80,
314                                                                              .ct_len  = 16,
315                                                                              .iv      = chiptest_12cb0ed34854_iv_81,
316                                                                              .iv_len  = 7,
317                                                                              .aad     = chiptest_12cb0ed34854_aad_82,
318                                                                              .aad_len = 0,
319                                                                              .tag     = chiptest_12cb0ed34854_tag_83,
320                                                                              .tag_len = 16,
321                                                                              .tcId    = 12,
322                                                                              .result  = 1 };
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,
334                                                                              .key_len = 32,
335                                                                              .pt      = chiptest_12cb0ed34854_pt_86,
336                                                                              .pt_len  = 16,
337                                                                              .ct      = chiptest_12cb0ed34854_ct_87,
338                                                                              .ct_len  = 16,
339                                                                              .iv      = chiptest_12cb0ed34854_iv_88,
340                                                                              .iv_len  = 7,
341                                                                              .aad     = chiptest_12cb0ed34854_aad_89,
342                                                                              .aad_len = 1,
343                                                                              .tag     = chiptest_12cb0ed34854_tag_90,
344                                                                              .tag_len = 8,
345                                                                              .tcId    = 13,
346                                                                              .result  = 1 };
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,
358                                                                              .key_len = 32,
359                                                                              .pt      = chiptest_12cb0ed34854_pt_93,
360                                                                              .pt_len  = 16,
361                                                                              .ct      = chiptest_12cb0ed34854_ct_94,
362                                                                              .ct_len  = 16,
363                                                                              .iv      = chiptest_12cb0ed34854_iv_95,
364                                                                              .iv_len  = 7,
365                                                                              .aad     = chiptest_12cb0ed34854_aad_96,
366                                                                              .aad_len = 1,
367                                                                              .tag     = chiptest_12cb0ed34854_tag_97,
368                                                                              .tag_len = 12,
369                                                                              .tcId    = 14,
370                                                                              .result  = 1 };
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,
383                                                                               .key_len = 32,
384                                                                               .pt      = chiptest_12cb0ed34854_pt_100,
385                                                                               .pt_len  = 16,
386                                                                               .ct      = chiptest_12cb0ed34854_ct_101,
387                                                                               .ct_len  = 16,
388                                                                               .iv      = chiptest_12cb0ed34854_iv_102,
389                                                                               .iv_len  = 7,
390                                                                               .aad     = chiptest_12cb0ed34854_aad_103,
391                                                                               .aad_len = 1,
392                                                                               .tag     = chiptest_12cb0ed34854_tag_104,
393                                                                               .tag_len = 16,
394                                                                               .tcId    = 15,
395                                                                               .result  = 1 };
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,
409                                                                               .key_len = 32,
410                                                                               .pt      = chiptest_12cb0ed34854_pt_107,
411                                                                               .pt_len  = 16,
412                                                                               .ct      = chiptest_12cb0ed34854_ct_108,
413                                                                               .ct_len  = 16,
414                                                                               .iv      = chiptest_12cb0ed34854_iv_109,
415                                                                               .iv_len  = 7,
416                                                                               .aad     = chiptest_12cb0ed34854_aad_110,
417                                                                               .aad_len = 32,
418                                                                               .tag     = chiptest_12cb0ed34854_tag_111,
419                                                                               .tag_len = 8,
420                                                                               .tcId    = 16,
421                                                                               .result  = 1 };
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,
435                                                                               .key_len = 32,
436                                                                               .pt      = chiptest_12cb0ed34854_pt_114,
437                                                                               .pt_len  = 16,
438                                                                               .ct      = chiptest_12cb0ed34854_ct_115,
439                                                                               .ct_len  = 16,
440                                                                               .iv      = chiptest_12cb0ed34854_iv_116,
441                                                                               .iv_len  = 7,
442                                                                               .aad     = chiptest_12cb0ed34854_aad_117,
443                                                                               .aad_len = 32,
444                                                                               .tag     = chiptest_12cb0ed34854_tag_118,
445                                                                               .tag_len = 12,
446                                                                               .tcId    = 17,
447                                                                               .result  = 1 };
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,
462                                                                               .key_len = 32,
463                                                                               .pt      = chiptest_12cb0ed34854_pt_121,
464                                                                               .pt_len  = 16,
465                                                                               .ct      = chiptest_12cb0ed34854_ct_122,
466                                                                               .ct_len  = 16,
467                                                                               .iv      = chiptest_12cb0ed34854_iv_123,
468                                                                               .iv_len  = 7,
469                                                                               .aad     = chiptest_12cb0ed34854_aad_124,
470                                                                               .aad_len = 32,
471                                                                               .tag     = chiptest_12cb0ed34854_tag_125,
472                                                                               .tag_len = 16,
473                                                                               .tcId    = 18,
474                                                                               .result  = 1 };
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,
488                                                                               .key_len = 32,
489                                                                               .pt      = chiptest_12cb0ed34854_pt_128,
490                                                                               .pt_len  = 33,
491                                                                               .ct      = chiptest_12cb0ed34854_ct_129,
492                                                                               .ct_len  = 33,
493                                                                               .iv      = chiptest_12cb0ed34854_iv_130,
494                                                                               .iv_len  = 7,
495                                                                               .aad     = chiptest_12cb0ed34854_aad_131,
496                                                                               .aad_len = 0,
497                                                                               .tag     = chiptest_12cb0ed34854_tag_132,
498                                                                               .tag_len = 8,
499                                                                               .tcId    = 19,
500                                                                               .result  = 1 };
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,
514                                                                               .key_len = 32,
515                                                                               .pt      = chiptest_12cb0ed34854_pt_135,
516                                                                               .pt_len  = 33,
517                                                                               .ct      = chiptest_12cb0ed34854_ct_136,
518                                                                               .ct_len  = 33,
519                                                                               .iv      = chiptest_12cb0ed34854_iv_137,
520                                                                               .iv_len  = 7,
521                                                                               .aad     = chiptest_12cb0ed34854_aad_138,
522                                                                               .aad_len = 0,
523                                                                               .tag     = chiptest_12cb0ed34854_tag_139,
524                                                                               .tag_len = 12,
525                                                                               .tcId    = 20,
526                                                                               .result  = 1 };
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,
541                                                                               .key_len = 32,
542                                                                               .pt      = chiptest_12cb0ed34854_pt_142,
543                                                                               .pt_len  = 33,
544                                                                               .ct      = chiptest_12cb0ed34854_ct_143,
545                                                                               .ct_len  = 33,
546                                                                               .iv      = chiptest_12cb0ed34854_iv_144,
547                                                                               .iv_len  = 7,
548                                                                               .aad     = chiptest_12cb0ed34854_aad_145,
549                                                                               .aad_len = 0,
550                                                                               .tag     = chiptest_12cb0ed34854_tag_146,
551                                                                               .tag_len = 16,
552                                                                               .tcId    = 21,
553                                                                               .result  = 1 };
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,
567                                                                               .key_len = 32,
568                                                                               .pt      = chiptest_12cb0ed34854_pt_149,
569                                                                               .pt_len  = 33,
570                                                                               .ct      = chiptest_12cb0ed34854_ct_150,
571                                                                               .ct_len  = 33,
572                                                                               .iv      = chiptest_12cb0ed34854_iv_151,
573                                                                               .iv_len  = 7,
574                                                                               .aad     = chiptest_12cb0ed34854_aad_152,
575                                                                               .aad_len = 1,
576                                                                               .tag     = chiptest_12cb0ed34854_tag_153,
577                                                                               .tag_len = 8,
578                                                                               .tcId    = 22,
579                                                                               .result  = 1 };
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,
593                                                                               .key_len = 32,
594                                                                               .pt      = chiptest_12cb0ed34854_pt_156,
595                                                                               .pt_len  = 33,
596                                                                               .ct      = chiptest_12cb0ed34854_ct_157,
597                                                                               .ct_len  = 33,
598                                                                               .iv      = chiptest_12cb0ed34854_iv_158,
599                                                                               .iv_len  = 7,
600                                                                               .aad     = chiptest_12cb0ed34854_aad_159,
601                                                                               .aad_len = 1,
602                                                                               .tag     = chiptest_12cb0ed34854_tag_160,
603                                                                               .tag_len = 12,
604                                                                               .tcId    = 23,
605                                                                               .result  = 1 };
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,
620                                                                               .key_len = 32,
621                                                                               .pt      = chiptest_12cb0ed34854_pt_163,
622                                                                               .pt_len  = 33,
623                                                                               .ct      = chiptest_12cb0ed34854_ct_164,
624                                                                               .ct_len  = 33,
625                                                                               .iv      = chiptest_12cb0ed34854_iv_165,
626                                                                               .iv_len  = 7,
627                                                                               .aad     = chiptest_12cb0ed34854_aad_166,
628                                                                               .aad_len = 1,
629                                                                               .tag     = chiptest_12cb0ed34854_tag_167,
630                                                                               .tag_len = 16,
631                                                                               .tcId    = 24,
632                                                                               .result  = 1 };
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,
648                                                                               .key_len = 32,
649                                                                               .pt      = chiptest_12cb0ed34854_pt_170,
650                                                                               .pt_len  = 33,
651                                                                               .ct      = chiptest_12cb0ed34854_ct_171,
652                                                                               .ct_len  = 33,
653                                                                               .iv      = chiptest_12cb0ed34854_iv_172,
654                                                                               .iv_len  = 7,
655                                                                               .aad     = chiptest_12cb0ed34854_aad_173,
656                                                                               .aad_len = 32,
657                                                                               .tag     = chiptest_12cb0ed34854_tag_174,
658                                                                               .tag_len = 8,
659                                                                               .tcId    = 25,
660                                                                               .result  = 1 };
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,
676                                                                               .key_len = 32,
677                                                                               .pt      = chiptest_12cb0ed34854_pt_177,
678                                                                               .pt_len  = 33,
679                                                                               .ct      = chiptest_12cb0ed34854_ct_178,
680                                                                               .ct_len  = 33,
681                                                                               .iv      = chiptest_12cb0ed34854_iv_179,
682                                                                               .iv_len  = 7,
683                                                                               .aad     = chiptest_12cb0ed34854_aad_180,
684                                                                               .aad_len = 32,
685                                                                               .tag     = chiptest_12cb0ed34854_tag_181,
686                                                                               .tag_len = 12,
687                                                                               .tcId    = 26,
688                                                                               .result  = 1 };
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,
705                                                                               .key_len = 32,
706                                                                               .pt      = chiptest_12cb0ed34854_pt_184,
707                                                                               .pt_len  = 33,
708                                                                               .ct      = chiptest_12cb0ed34854_ct_185,
709                                                                               .ct_len  = 33,
710                                                                               .iv      = chiptest_12cb0ed34854_iv_186,
711                                                                               .iv_len  = 7,
712                                                                               .aad     = chiptest_12cb0ed34854_aad_187,
713                                                                               .aad_len = 32,
714                                                                               .tag     = chiptest_12cb0ed34854_tag_188,
715                                                                               .tag_len = 16,
716                                                                               .tcId    = 27,
717                                                                               .result  = 1 };
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
725 };
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,
729                                                                               .key_len = 32,
730                                                                               .pt      = chiptest_12cb0ed34854_pt_191,
731                                                                               .pt_len  = 0,
732                                                                               .ct      = chiptest_12cb0ed34854_ct_192,
733                                                                               .ct_len  = 0,
734                                                                               .iv      = chiptest_12cb0ed34854_iv_193,
735                                                                               .iv_len  = 13,
736                                                                               .aad     = chiptest_12cb0ed34854_aad_194,
737                                                                               .aad_len = 0,
738                                                                               .tag     = chiptest_12cb0ed34854_tag_195,
739                                                                               .tag_len = 8,
740                                                                               .tcId    = 28,
741                                                                               .result  = 1 };
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
749 };
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,
753                                                                               .key_len = 32,
754                                                                               .pt      = chiptest_12cb0ed34854_pt_198,
755                                                                               .pt_len  = 0,
756                                                                               .ct      = chiptest_12cb0ed34854_ct_199,
757                                                                               .ct_len  = 0,
758                                                                               .iv      = chiptest_12cb0ed34854_iv_200,
759                                                                               .iv_len  = 13,
760                                                                               .aad     = chiptest_12cb0ed34854_aad_201,
761                                                                               .aad_len = 0,
762                                                                               .tag     = chiptest_12cb0ed34854_tag_202,
763                                                                               .tag_len = 12,
764                                                                               .tcId    = 29,
765                                                                               .result  = 1 };
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
773 };
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,
778                                                                               .key_len = 32,
779                                                                               .pt      = chiptest_12cb0ed34854_pt_205,
780                                                                               .pt_len  = 0,
781                                                                               .ct      = chiptest_12cb0ed34854_ct_206,
782                                                                               .ct_len  = 0,
783                                                                               .iv      = chiptest_12cb0ed34854_iv_207,
784                                                                               .iv_len  = 13,
785                                                                               .aad     = chiptest_12cb0ed34854_aad_208,
786                                                                               .aad_len = 0,
787                                                                               .tag     = chiptest_12cb0ed34854_tag_209,
788                                                                               .tag_len = 16,
789                                                                               .tcId    = 30,
790                                                                               .result  = 1 };
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
798 };
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,
802                                                                               .key_len = 32,
803                                                                               .pt      = chiptest_12cb0ed34854_pt_212,
804                                                                               .pt_len  = 0,
805                                                                               .ct      = chiptest_12cb0ed34854_ct_213,
806                                                                               .ct_len  = 0,
807                                                                               .iv      = chiptest_12cb0ed34854_iv_214,
808                                                                               .iv_len  = 13,
809                                                                               .aad     = chiptest_12cb0ed34854_aad_215,
810                                                                               .aad_len = 1,
811                                                                               .tag     = chiptest_12cb0ed34854_tag_216,
812                                                                               .tag_len = 8,
813                                                                               .tcId    = 31,
814                                                                               .result  = 1 };
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
822 };
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,
826                                                                               .key_len = 32,
827                                                                               .pt      = chiptest_12cb0ed34854_pt_219,
828                                                                               .pt_len  = 0,
829                                                                               .ct      = chiptest_12cb0ed34854_ct_220,
830                                                                               .ct_len  = 0,
831                                                                               .iv      = chiptest_12cb0ed34854_iv_221,
832                                                                               .iv_len  = 13,
833                                                                               .aad     = chiptest_12cb0ed34854_aad_222,
834                                                                               .aad_len = 1,
835                                                                               .tag     = chiptest_12cb0ed34854_tag_223,
836                                                                               .tag_len = 12,
837                                                                               .tcId    = 32,
838                                                                               .result  = 1 };
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
846 };
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,
851                                                                               .key_len = 32,
852                                                                               .pt      = chiptest_12cb0ed34854_pt_226,
853                                                                               .pt_len  = 0,
854                                                                               .ct      = chiptest_12cb0ed34854_ct_227,
855                                                                               .ct_len  = 0,
856                                                                               .iv      = chiptest_12cb0ed34854_iv_228,
857                                                                               .iv_len  = 13,
858                                                                               .aad     = chiptest_12cb0ed34854_aad_229,
859                                                                               .aad_len = 1,
860                                                                               .tag     = chiptest_12cb0ed34854_tag_230,
861                                                                               .tag_len = 16,
862                                                                               .tcId    = 33,
863                                                                               .result  = 1 };
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
871 };
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,
877                                                                               .key_len = 32,
878                                                                               .pt      = chiptest_12cb0ed34854_pt_233,
879                                                                               .pt_len  = 0,
880                                                                               .ct      = chiptest_12cb0ed34854_ct_234,
881                                                                               .ct_len  = 0,
882                                                                               .iv      = chiptest_12cb0ed34854_iv_235,
883                                                                               .iv_len  = 13,
884                                                                               .aad     = chiptest_12cb0ed34854_aad_236,
885                                                                               .aad_len = 32,
886                                                                               .tag     = chiptest_12cb0ed34854_tag_237,
887                                                                               .tag_len = 8,
888                                                                               .tcId    = 34,
889                                                                               .result  = 1 };
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
897 };
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,
903                                                                               .key_len = 32,
904                                                                               .pt      = chiptest_12cb0ed34854_pt_240,
905                                                                               .pt_len  = 0,
906                                                                               .ct      = chiptest_12cb0ed34854_ct_241,
907                                                                               .ct_len  = 0,
908                                                                               .iv      = chiptest_12cb0ed34854_iv_242,
909                                                                               .iv_len  = 13,
910                                                                               .aad     = chiptest_12cb0ed34854_aad_243,
911                                                                               .aad_len = 32,
912                                                                               .tag     = chiptest_12cb0ed34854_tag_244,
913                                                                               .tag_len = 12,
914                                                                               .tcId    = 35,
915                                                                               .result  = 1 };
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
923 };
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,
930                                                                               .key_len = 32,
931                                                                               .pt      = chiptest_12cb0ed34854_pt_247,
932                                                                               .pt_len  = 0,
933                                                                               .ct      = chiptest_12cb0ed34854_ct_248,
934                                                                               .ct_len  = 0,
935                                                                               .iv      = chiptest_12cb0ed34854_iv_249,
936                                                                               .iv_len  = 13,
937                                                                               .aad     = chiptest_12cb0ed34854_aad_250,
938                                                                               .aad_len = 32,
939                                                                               .tag     = chiptest_12cb0ed34854_tag_251,
940                                                                               .tag_len = 16,
941                                                                               .tcId    = 36,
942                                                                               .result  = 1 };
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
952 };
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,
956                                                                               .key_len = 32,
957                                                                               .pt      = chiptest_12cb0ed34854_pt_254,
958                                                                               .pt_len  = 16,
959                                                                               .ct      = chiptest_12cb0ed34854_ct_255,
960                                                                               .ct_len  = 16,
961                                                                               .iv      = chiptest_12cb0ed34854_iv_256,
962                                                                               .iv_len  = 13,
963                                                                               .aad     = chiptest_12cb0ed34854_aad_257,
964                                                                               .aad_len = 0,
965                                                                               .tag     = chiptest_12cb0ed34854_tag_258,
966                                                                               .tag_len = 8,
967                                                                               .tcId    = 37,
968                                                                               .result  = 1 };
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
978 };
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,
982                                                                               .key_len = 32,
983                                                                               .pt      = chiptest_12cb0ed34854_pt_261,
984                                                                               .pt_len  = 16,
985                                                                               .ct      = chiptest_12cb0ed34854_ct_262,
986                                                                               .ct_len  = 16,
987                                                                               .iv      = chiptest_12cb0ed34854_iv_263,
988                                                                               .iv_len  = 13,
989                                                                               .aad     = chiptest_12cb0ed34854_aad_264,
990                                                                               .aad_len = 0,
991                                                                               .tag     = chiptest_12cb0ed34854_tag_265,
992                                                                               .tag_len = 12,
993                                                                               .tcId    = 38,
994                                                                               .result  = 1 };
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
1004 };
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,
1009                                                                               .key_len = 32,
1010                                                                               .pt      = chiptest_12cb0ed34854_pt_268,
1011                                                                               .pt_len  = 16,
1012                                                                               .ct      = chiptest_12cb0ed34854_ct_269,
1013                                                                               .ct_len  = 16,
1014                                                                               .iv      = chiptest_12cb0ed34854_iv_270,
1015                                                                               .iv_len  = 13,
1016                                                                               .aad     = chiptest_12cb0ed34854_aad_271,
1017                                                                               .aad_len = 0,
1018                                                                               .tag     = chiptest_12cb0ed34854_tag_272,
1019                                                                               .tag_len = 16,
1020                                                                               .tcId    = 39,
1021                                                                               .result  = 1 };
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
1031 };
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,
1035                                                                               .key_len = 32,
1036                                                                               .pt      = chiptest_12cb0ed34854_pt_275,
1037                                                                               .pt_len  = 16,
1038                                                                               .ct      = chiptest_12cb0ed34854_ct_276,
1039                                                                               .ct_len  = 16,
1040                                                                               .iv      = chiptest_12cb0ed34854_iv_277,
1041                                                                               .iv_len  = 13,
1042                                                                               .aad     = chiptest_12cb0ed34854_aad_278,
1043                                                                               .aad_len = 1,
1044                                                                               .tag     = chiptest_12cb0ed34854_tag_279,
1045                                                                               .tag_len = 8,
1046                                                                               .tcId    = 40,
1047                                                                               .result  = 1 };
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
1057 };
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,
1061                                                                               .key_len = 32,
1062                                                                               .pt      = chiptest_12cb0ed34854_pt_282,
1063                                                                               .pt_len  = 16,
1064                                                                               .ct      = chiptest_12cb0ed34854_ct_283,
1065                                                                               .ct_len  = 16,
1066                                                                               .iv      = chiptest_12cb0ed34854_iv_284,
1067                                                                               .iv_len  = 13,
1068                                                                               .aad     = chiptest_12cb0ed34854_aad_285,
1069                                                                               .aad_len = 1,
1070                                                                               .tag     = chiptest_12cb0ed34854_tag_286,
1071                                                                               .tag_len = 12,
1072                                                                               .tcId    = 41,
1073                                                                               .result  = 1 };
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
1083 };
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,
1088                                                                               .key_len = 32,
1089                                                                               .pt      = chiptest_12cb0ed34854_pt_289,
1090                                                                               .pt_len  = 16,
1091                                                                               .ct      = chiptest_12cb0ed34854_ct_290,
1092                                                                               .ct_len  = 16,
1093                                                                               .iv      = chiptest_12cb0ed34854_iv_291,
1094                                                                               .iv_len  = 13,
1095                                                                               .aad     = chiptest_12cb0ed34854_aad_292,
1096                                                                               .aad_len = 1,
1097                                                                               .tag     = chiptest_12cb0ed34854_tag_293,
1098                                                                               .tag_len = 16,
1099                                                                               .tcId    = 42,
1100                                                                               .result  = 1 };
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
1110 };
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,
1116                                                                               .key_len = 32,
1117                                                                               .pt      = chiptest_12cb0ed34854_pt_296,
1118                                                                               .pt_len  = 16,
1119                                                                               .ct      = chiptest_12cb0ed34854_ct_297,
1120                                                                               .ct_len  = 16,
1121                                                                               .iv      = chiptest_12cb0ed34854_iv_298,
1122                                                                               .iv_len  = 13,
1123                                                                               .aad     = chiptest_12cb0ed34854_aad_299,
1124                                                                               .aad_len = 32,
1125                                                                               .tag     = chiptest_12cb0ed34854_tag_300,
1126                                                                               .tag_len = 8,
1127                                                                               .tcId    = 43,
1128                                                                               .result  = 1 };
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
1138 };
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,
1144                                                                               .key_len = 32,
1145                                                                               .pt      = chiptest_12cb0ed34854_pt_303,
1146                                                                               .pt_len  = 16,
1147                                                                               .ct      = chiptest_12cb0ed34854_ct_304,
1148                                                                               .ct_len  = 16,
1149                                                                               .iv      = chiptest_12cb0ed34854_iv_305,
1150                                                                               .iv_len  = 13,
1151                                                                               .aad     = chiptest_12cb0ed34854_aad_306,
1152                                                                               .aad_len = 32,
1153                                                                               .tag     = chiptest_12cb0ed34854_tag_307,
1154                                                                               .tag_len = 12,
1155                                                                               .tcId    = 44,
1156                                                                               .result  = 1 };
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
1166 };
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,
1173                                                                               .key_len = 32,
1174                                                                               .pt      = chiptest_12cb0ed34854_pt_310,
1175                                                                               .pt_len  = 16,
1176                                                                               .ct      = chiptest_12cb0ed34854_ct_311,
1177                                                                               .ct_len  = 16,
1178                                                                               .iv      = chiptest_12cb0ed34854_iv_312,
1179                                                                               .iv_len  = 13,
1180                                                                               .aad     = chiptest_12cb0ed34854_aad_313,
1181                                                                               .aad_len = 32,
1182                                                                               .tag     = chiptest_12cb0ed34854_tag_314,
1183                                                                               .tag_len = 16,
1184                                                                               .tcId    = 45,
1185                                                                               .result  = 1 };
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
1197 };
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,
1201                                                                               .key_len = 32,
1202                                                                               .pt      = chiptest_12cb0ed34854_pt_317,
1203                                                                               .pt_len  = 33,
1204                                                                               .ct      = chiptest_12cb0ed34854_ct_318,
1205                                                                               .ct_len  = 33,
1206                                                                               .iv      = chiptest_12cb0ed34854_iv_319,
1207                                                                               .iv_len  = 13,
1208                                                                               .aad     = chiptest_12cb0ed34854_aad_320,
1209                                                                               .aad_len = 0,
1210                                                                               .tag     = chiptest_12cb0ed34854_tag_321,
1211                                                                               .tag_len = 8,
1212                                                                               .tcId    = 46,
1213                                                                               .result  = 1 };
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
1225 };
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,
1229                                                                               .key_len = 32,
1230                                                                               .pt      = chiptest_12cb0ed34854_pt_324,
1231                                                                               .pt_len  = 33,
1232                                                                               .ct      = chiptest_12cb0ed34854_ct_325,
1233                                                                               .ct_len  = 33,
1234                                                                               .iv      = chiptest_12cb0ed34854_iv_326,
1235                                                                               .iv_len  = 13,
1236                                                                               .aad     = chiptest_12cb0ed34854_aad_327,
1237                                                                               .aad_len = 0,
1238                                                                               .tag     = chiptest_12cb0ed34854_tag_328,
1239                                                                               .tag_len = 12,
1240                                                                               .tcId    = 47,
1241                                                                               .result  = 1 };
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
1253 };
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,
1258                                                                               .key_len = 32,
1259                                                                               .pt      = chiptest_12cb0ed34854_pt_331,
1260                                                                               .pt_len  = 33,
1261                                                                               .ct      = chiptest_12cb0ed34854_ct_332,
1262                                                                               .ct_len  = 33,
1263                                                                               .iv      = chiptest_12cb0ed34854_iv_333,
1264                                                                               .iv_len  = 13,
1265                                                                               .aad     = chiptest_12cb0ed34854_aad_334,
1266                                                                               .aad_len = 0,
1267                                                                               .tag     = chiptest_12cb0ed34854_tag_335,
1268                                                                               .tag_len = 16,
1269                                                                               .tcId    = 48,
1270                                                                               .result  = 1 };
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
1282 };
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,
1286                                                                               .key_len = 32,
1287                                                                               .pt      = chiptest_12cb0ed34854_pt_338,
1288                                                                               .pt_len  = 33,
1289                                                                               .ct      = chiptest_12cb0ed34854_ct_339,
1290                                                                               .ct_len  = 33,
1291                                                                               .iv      = chiptest_12cb0ed34854_iv_340,
1292                                                                               .iv_len  = 13,
1293                                                                               .aad     = chiptest_12cb0ed34854_aad_341,
1294                                                                               .aad_len = 1,
1295                                                                               .tag     = chiptest_12cb0ed34854_tag_342,
1296                                                                               .tag_len = 8,
1297                                                                               .tcId    = 49,
1298                                                                               .result  = 1 };
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
1310 };
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,
1314                                                                               .key_len = 32,
1315                                                                               .pt      = chiptest_12cb0ed34854_pt_345,
1316                                                                               .pt_len  = 33,
1317                                                                               .ct      = chiptest_12cb0ed34854_ct_346,
1318                                                                               .ct_len  = 33,
1319                                                                               .iv      = chiptest_12cb0ed34854_iv_347,
1320                                                                               .iv_len  = 13,
1321                                                                               .aad     = chiptest_12cb0ed34854_aad_348,
1322                                                                               .aad_len = 1,
1323                                                                               .tag     = chiptest_12cb0ed34854_tag_349,
1324                                                                               .tag_len = 12,
1325                                                                               .tcId    = 50,
1326                                                                               .result  = 1 };
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
1338 };
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,
1343                                                                               .key_len = 32,
1344                                                                               .pt      = chiptest_12cb0ed34854_pt_352,
1345                                                                               .pt_len  = 33,
1346                                                                               .ct      = chiptest_12cb0ed34854_ct_353,
1347                                                                               .ct_len  = 33,
1348                                                                               .iv      = chiptest_12cb0ed34854_iv_354,
1349                                                                               .iv_len  = 13,
1350                                                                               .aad     = chiptest_12cb0ed34854_aad_355,
1351                                                                               .aad_len = 1,
1352                                                                               .tag     = chiptest_12cb0ed34854_tag_356,
1353                                                                               .tag_len = 16,
1354                                                                               .tcId    = 51,
1355                                                                               .result  = 1 };
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
1367 };
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,
1373                                                                               .key_len = 32,
1374                                                                               .pt      = chiptest_12cb0ed34854_pt_359,
1375                                                                               .pt_len  = 33,
1376                                                                               .ct      = chiptest_12cb0ed34854_ct_360,
1377                                                                               .ct_len  = 33,
1378                                                                               .iv      = chiptest_12cb0ed34854_iv_361,
1379                                                                               .iv_len  = 13,
1380                                                                               .aad     = chiptest_12cb0ed34854_aad_362,
1381                                                                               .aad_len = 32,
1382                                                                               .tag     = chiptest_12cb0ed34854_tag_363,
1383                                                                               .tag_len = 8,
1384                                                                               .tcId    = 52,
1385                                                                               .result  = 1 };
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
1397 };
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,
1403                                                                               .key_len = 32,
1404                                                                               .pt      = chiptest_12cb0ed34854_pt_366,
1405                                                                               .pt_len  = 33,
1406                                                                               .ct      = chiptest_12cb0ed34854_ct_367,
1407                                                                               .ct_len  = 33,
1408                                                                               .iv      = chiptest_12cb0ed34854_iv_368,
1409                                                                               .iv_len  = 13,
1410                                                                               .aad     = chiptest_12cb0ed34854_aad_369,
1411                                                                               .aad_len = 32,
1412                                                                               .tag     = chiptest_12cb0ed34854_tag_370,
1413                                                                               .tag_len = 12,
1414                                                                               .tcId    = 53,
1415                                                                               .result  = 1 };
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
1427 };
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,
1434                                                                               .key_len = 32,
1435                                                                               .pt      = chiptest_12cb0ed34854_pt_373,
1436                                                                               .pt_len  = 33,
1437                                                                               .ct      = chiptest_12cb0ed34854_ct_374,
1438                                                                               .ct_len  = 33,
1439                                                                               .iv      = chiptest_12cb0ed34854_iv_375,
1440                                                                               .iv_len  = 13,
1441                                                                               .aad     = chiptest_12cb0ed34854_aad_376,
1442                                                                               .aad_len = 32,
1443                                                                               .tag     = chiptest_12cb0ed34854_tag_377,
1444                                                                               .tag_len = 16,
1445                                                                               .tcId    = 54,
1446                                                                               .result  = 1 };
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
1466 };
1467
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,
1486                                                                                .key_len = 32,
1487                                                                                .pt      = chiptest_12cb0ed34854_pt_3731,
1488                                                                                .pt_len  = 33,
1489                                                                                .ct      = chiptest_12cb0ed34854_ct_3741,
1490                                                                                .ct_len  = 33,
1491                                                                                .iv      = chiptest_12cb0ed34854_iv_3751,
1492                                                                                .iv_len  = 13,
1493                                                                                .aad     = chiptest_12cb0ed34854_aad_3761,
1494                                                                                .aad_len = 32,
1495                                                                                .tag     = chiptest_12cb0ed34854_tag_3771,
1496                                                                                .tag_len = 16,
1497                                                                                .tcId    = 54,
1498                                                                                .result  = 1 };
1499
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,
1514                                                                                .key_len = 32,
1515                                                                                .pt      = chiptest_12cb0ed34854_pt_1421,
1516                                                                                .pt_len  = 33,
1517                                                                                .ct      = chiptest_12cb0ed34854_ct_1431,
1518                                                                                .ct_len  = 33,
1519                                                                                .iv      = chiptest_12cb0ed34854_iv_1441,
1520                                                                                .iv_len  = 7,
1521                                                                                .aad     = chiptest_12cb0ed34854_aad_1451,
1522                                                                                .aad_len = 0,
1523                                                                                .tag     = chiptest_12cb0ed34854_tag_1461,
1524                                                                                .tag_len = 16,
1525                                                                                .tcId    = 21,
1526                                                                                .result  = 1 };
1527
1528 static const struct ccm_test_vector * ccm_invalid_test_vectors[] = { &chiptest_12cb0ed34854_test_vector_3781,
1529                                                                      &chiptest_12cb0ed34854_test_vector_1471 };
1530 #endif