2 * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
11 * DRBG test vectors from:
12 * https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/
15 #include <openssl/obj_mac.h>
16 #include "internal/nelem.h"
17 #include "drbg_cavs_data.h"
19 static const unsigned char kat1_entropyin[] = {
20 0x89, 0x0e, 0xb0, 0x67, 0xac, 0xf7, 0x38, 0x2e, 0xff, 0x80, 0xb0, 0xc7,
21 0x3b, 0xc8, 0x72, 0xc6,
23 static const unsigned char kat1_nonce[] = {
24 0xaa, 0xd4, 0x71, 0xef, 0x3e, 0xf1, 0xd2, 0x03,
26 static const unsigned char kat1_persstr[] = {0};
27 static const unsigned char kat1_addin0[] = {0};
28 static const unsigned char kat1_addin1[] = {0};
29 static const unsigned char kat1_retbits[] = {
30 0xa5, 0x51, 0x4e, 0xd7, 0x09, 0x5f, 0x64, 0xf3, 0xd0, 0xd3, 0xa5, 0x76,
31 0x03, 0x94, 0xab, 0x42, 0x06, 0x2f, 0x37, 0x3a, 0x25, 0x07, 0x2a, 0x6e,
32 0xa6, 0xbc, 0xfd, 0x84, 0x89, 0xe9, 0x4a, 0xf6, 0xcf, 0x18, 0x65, 0x9f,
33 0xea, 0x22, 0xed, 0x1c, 0xa0, 0xa9, 0xe3, 0x3f, 0x71, 0x8b, 0x11, 0x5e,
34 0xe5, 0x36, 0xb1, 0x28, 0x09, 0xc3, 0x1b, 0x72, 0xb0, 0x8d, 0xdd, 0x8b,
35 0xe1, 0x91, 0x0f, 0xa3,
37 static const struct drbg_kat_no_reseed kat1_t = {
38 0, kat1_entropyin, kat1_nonce, kat1_persstr,
39 kat1_addin0, kat1_addin1, kat1_retbits
41 static const struct drbg_kat kat1 = {
42 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat1_t
45 static const unsigned char kat2_entropyin[] = {
46 0xc4, 0x7b, 0xe8, 0xe8, 0x21, 0x9a, 0x5a, 0x87, 0xc9, 0x40, 0x64, 0xa5,
47 0x12, 0x08, 0x9f, 0x2b,
49 static const unsigned char kat2_nonce[] = {
50 0xf2, 0xa2, 0x3e, 0x63, 0x6a, 0xee, 0x75, 0xc6,
52 static const unsigned char kat2_persstr[] = {0};
53 static const unsigned char kat2_addin0[] = {0};
54 static const unsigned char kat2_addin1[] = {0};
55 static const unsigned char kat2_retbits[] = {
56 0x5a, 0x16, 0x50, 0xbb, 0x6d, 0x6a, 0x16, 0xf6, 0x04, 0x05, 0x91, 0xd5,
57 0x6a, 0xbc, 0xd5, 0xdd, 0x3d, 0xb8, 0x77, 0x2a, 0x9c, 0x75, 0xc4, 0x4d,
58 0x9f, 0xc6, 0x4d, 0x51, 0xb7, 0x33, 0xd4, 0xa6, 0x75, 0x9b, 0xd5, 0xa6,
59 0x4e, 0xc4, 0x23, 0x1a, 0x24, 0xe6, 0x62, 0xfd, 0xd4, 0x7c, 0x82, 0xdb,
60 0x63, 0xb2, 0x00, 0xda, 0xf8, 0xd0, 0x98, 0x56, 0x0e, 0xb5, 0xba, 0x7b,
61 0xf3, 0xf9, 0xab, 0xf7,
63 static const struct drbg_kat_no_reseed kat2_t = {
64 1, kat2_entropyin, kat2_nonce, kat2_persstr,
65 kat2_addin0, kat2_addin1, kat2_retbits
67 static const struct drbg_kat kat2 = {
68 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat2_t
71 static const unsigned char kat3_entropyin[] = {
72 0x13, 0x0b, 0x8c, 0x3d, 0x2d, 0x7b, 0x6e, 0x02, 0xc4, 0x10, 0xb4, 0x16,
73 0x8e, 0x12, 0x2c, 0x38,
75 static const unsigned char kat3_nonce[] = {
76 0x79, 0xa6, 0x74, 0xc5, 0xb2, 0xc5, 0x1a, 0xa9,
78 static const unsigned char kat3_persstr[] = {0};
79 static const unsigned char kat3_addin0[] = {0};
80 static const unsigned char kat3_addin1[] = {0};
81 static const unsigned char kat3_retbits[] = {
82 0x57, 0xe8, 0xa1, 0xe5, 0x78, 0xed, 0xe1, 0xc6, 0x68, 0x79, 0xc4, 0x30,
83 0xdf, 0x72, 0x64, 0x35, 0xd5, 0x1a, 0x36, 0x9a, 0x0f, 0xe5, 0x9a, 0x03,
84 0x58, 0xd1, 0xde, 0x35, 0x2d, 0x42, 0x80, 0xfd, 0x7b, 0x22, 0x5f, 0x5f,
85 0x38, 0x6a, 0x4f, 0xcf, 0x12, 0xf7, 0x27, 0x94, 0xad, 0x0f, 0x37, 0x57,
86 0xfb, 0x25, 0xde, 0xba, 0x3c, 0x75, 0x12, 0xce, 0x4d, 0x37, 0x33, 0xc7,
87 0xee, 0x06, 0x70, 0x43,
89 static const struct drbg_kat_no_reseed kat3_t = {
90 2, kat3_entropyin, kat3_nonce, kat3_persstr,
91 kat3_addin0, kat3_addin1, kat3_retbits
93 static const struct drbg_kat kat3 = {
94 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat3_t
97 static const unsigned char kat4_entropyin[] = {
98 0x04, 0xd2, 0x41, 0x45, 0x28, 0x76, 0x64, 0xf6, 0x76, 0x2b, 0x5d, 0x2a,
99 0x10, 0x2a, 0xc6, 0x03,
101 static const unsigned char kat4_nonce[] = {
102 0xec, 0xac, 0x63, 0xe1, 0x21, 0x7e, 0xe3, 0x35,
104 static const unsigned char kat4_persstr[] = {0};
105 static const unsigned char kat4_addin0[] = {0};
106 static const unsigned char kat4_addin1[] = {0};
107 static const unsigned char kat4_retbits[] = {
108 0xfa, 0x5e, 0x74, 0x6d, 0xec, 0xd6, 0x80, 0x1e, 0xb7, 0x08, 0x3b, 0x6f,
109 0x0e, 0x72, 0x43, 0x2e, 0x1f, 0xd4, 0x24, 0x31, 0x04, 0xf7, 0x48, 0xd0,
110 0xf1, 0x90, 0x83, 0x92, 0x3b, 0x95, 0x55, 0x68, 0x8f, 0x43, 0x14, 0x6d,
111 0x5a, 0xce, 0xa9, 0x62, 0xda, 0x01, 0x23, 0x1d, 0x9e, 0x5f, 0xaf, 0xf0,
112 0xe8, 0x1f, 0x3d, 0x39, 0x4a, 0xce, 0x3a, 0x34, 0x54, 0x53, 0x6d, 0x72,
113 0x65, 0x75, 0x04, 0x1f,
115 static const struct drbg_kat_no_reseed kat4_t = {
116 3, kat4_entropyin, kat4_nonce, kat4_persstr,
117 kat4_addin0, kat4_addin1, kat4_retbits
119 static const struct drbg_kat kat4 = {
120 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat4_t
123 static const unsigned char kat5_entropyin[] = {
124 0xae, 0xde, 0x4e, 0x61, 0x35, 0x56, 0xb1, 0xd5, 0xa3, 0x0f, 0xce, 0x26,
125 0x1f, 0xbb, 0x82, 0x0c,
127 static const unsigned char kat5_nonce[] = {
128 0x39, 0xac, 0xba, 0x03, 0xc5, 0xf1, 0x0a, 0xf4,
130 static const unsigned char kat5_persstr[] = {0};
131 static const unsigned char kat5_addin0[] = {0};
132 static const unsigned char kat5_addin1[] = {0};
133 static const unsigned char kat5_retbits[] = {
134 0x23, 0x2c, 0x44, 0xb8, 0x19, 0xb8, 0x8f, 0x1a, 0xeb, 0x83, 0xf2, 0x03,
135 0x4f, 0x84, 0x2d, 0x5a, 0x00, 0xf0, 0x30, 0x15, 0x05, 0xd2, 0xaa, 0x69,
136 0xaa, 0xec, 0xb3, 0xcb, 0x14, 0xbc, 0xb1, 0x58, 0x75, 0xe0, 0xfd, 0x60,
137 0x07, 0x1a, 0x80, 0xf6, 0x26, 0x2d, 0xce, 0xbc, 0xf4, 0x1a, 0x0e, 0x14,
138 0x76, 0xd9, 0x6f, 0x40, 0x97, 0x12, 0xd8, 0x28, 0xae, 0x31, 0x3a, 0x9d,
139 0x28, 0xec, 0x2d, 0xee,
141 static const struct drbg_kat_no_reseed kat5_t = {
142 4, kat5_entropyin, kat5_nonce, kat5_persstr,
143 kat5_addin0, kat5_addin1, kat5_retbits
145 static const struct drbg_kat kat5 = {
146 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat5_t
149 static const unsigned char kat6_entropyin[] = {
150 0x9f, 0x90, 0x54, 0x1c, 0x10, 0xd4, 0xb7, 0xc0, 0x89, 0xfe, 0x68, 0x8e,
151 0xa3, 0xef, 0x4f, 0xc6,
153 static const unsigned char kat6_nonce[] = {
154 0x1e, 0xac, 0x1c, 0x22, 0x03, 0x6e, 0x2b, 0x22,
156 static const unsigned char kat6_persstr[] = {0};
157 static const unsigned char kat6_addin0[] = {0};
158 static const unsigned char kat6_addin1[] = {0};
159 static const unsigned char kat6_retbits[] = {
160 0x71, 0xaf, 0x3f, 0xdf, 0x67, 0x34, 0x04, 0x16, 0x3b, 0x06, 0x73, 0x7e,
161 0x0f, 0x39, 0x91, 0x5f, 0xae, 0xc2, 0x18, 0x21, 0x81, 0x6c, 0x31, 0x42,
162 0xe8, 0x0a, 0x50, 0x3c, 0x70, 0xcb, 0x2e, 0xdd, 0x46, 0x8c, 0x3f, 0x03,
163 0xcb, 0x1f, 0x8a, 0x2f, 0x92, 0x48, 0x63, 0x5b, 0x63, 0xd7, 0xb8, 0xf1,
164 0x9e, 0x9e, 0x11, 0xca, 0xf0, 0xab, 0x0c, 0x3d, 0x2f, 0xf9, 0xc7, 0x13,
165 0x21, 0xca, 0xc1, 0x54,
167 static const struct drbg_kat_no_reseed kat6_t = {
168 5, kat6_entropyin, kat6_nonce, kat6_persstr,
169 kat6_addin0, kat6_addin1, kat6_retbits
171 static const struct drbg_kat kat6 = {
172 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat6_t
175 static const unsigned char kat7_entropyin[] = {
176 0x3b, 0x8a, 0x18, 0x1c, 0xea, 0x83, 0x90, 0xd5, 0xd7, 0xa4, 0xe6, 0x51,
177 0x5c, 0xf9, 0x2e, 0x3e,
179 static const unsigned char kat7_nonce[] = {
180 0x37, 0xf4, 0xd1, 0x74, 0x87, 0x14, 0x34, 0x5b,
182 static const unsigned char kat7_persstr[] = {0};
183 static const unsigned char kat7_addin0[] = {0};
184 static const unsigned char kat7_addin1[] = {0};
185 static const unsigned char kat7_retbits[] = {
186 0xd6, 0xfd, 0x0f, 0xfb, 0x10, 0x85, 0x0e, 0xb6, 0xeb, 0x70, 0x50, 0xe6,
187 0x1e, 0xac, 0x00, 0xd4, 0x72, 0xf6, 0x5c, 0xd3, 0xd9, 0x35, 0x08, 0x14,
188 0x77, 0xfe, 0x44, 0xaa, 0x85, 0x69, 0x4e, 0x12, 0x0a, 0xb5, 0xa1, 0xca,
189 0x1f, 0xa1, 0x98, 0xaf, 0x76, 0xdf, 0xa8, 0xd0, 0xab, 0xdf, 0x53, 0xe8,
190 0x5a, 0xa8, 0xc8, 0x7f, 0xed, 0x0a, 0x8c, 0x24, 0x16, 0x39, 0x43, 0xb9,
191 0x6d, 0x80, 0xaa, 0xfb,
193 static const struct drbg_kat_no_reseed kat7_t = {
194 6, kat7_entropyin, kat7_nonce, kat7_persstr,
195 kat7_addin0, kat7_addin1, kat7_retbits
197 static const struct drbg_kat kat7 = {
198 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat7_t
201 static const unsigned char kat8_entropyin[] = {
202 0x85, 0x4c, 0xaa, 0x2a, 0x74, 0xf3, 0xf4, 0x3b, 0x6a, 0xbd, 0x80, 0x6d,
203 0x67, 0x48, 0xed, 0x80,
205 static const unsigned char kat8_nonce[] = {
206 0x0c, 0xbd, 0x13, 0x72, 0xbe, 0xb6, 0x27, 0x36,
208 static const unsigned char kat8_persstr[] = {0};
209 static const unsigned char kat8_addin0[] = {0};
210 static const unsigned char kat8_addin1[] = {0};
211 static const unsigned char kat8_retbits[] = {
212 0x46, 0x53, 0x40, 0x28, 0x16, 0x5f, 0xfe, 0x28, 0x45, 0xa9, 0x72, 0x62,
213 0x7e, 0x67, 0xe1, 0x53, 0x51, 0x0c, 0xa1, 0x88, 0x0e, 0x6a, 0x3a, 0xd3,
214 0x1f, 0xde, 0xe7, 0x1f, 0xf2, 0x40, 0xd3, 0x27, 0x86, 0x24, 0xb3, 0x1f,
215 0x2d, 0x38, 0x6d, 0x7b, 0x22, 0x28, 0xce, 0xd6, 0x24, 0xa4, 0x2e, 0x7a,
216 0x3b, 0x07, 0x48, 0x0b, 0x23, 0x23, 0x16, 0x6c, 0x18, 0xd1, 0xac, 0x0f,
217 0x60, 0x00, 0x2e, 0xc4,
219 static const struct drbg_kat_no_reseed kat8_t = {
220 7, kat8_entropyin, kat8_nonce, kat8_persstr,
221 kat8_addin0, kat8_addin1, kat8_retbits
223 static const struct drbg_kat kat8 = {
224 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat8_t
227 static const unsigned char kat9_entropyin[] = {
228 0x87, 0xe1, 0xc5, 0x32, 0x99, 0x7f, 0x57, 0xa3, 0x5c, 0x28, 0x6d, 0xe8,
229 0x64, 0xbf, 0xf2, 0x64,
231 static const unsigned char kat9_nonce[] = {
232 0xa3, 0x9e, 0x98, 0xdb, 0x6c, 0x10, 0x78, 0x7f,
234 static const unsigned char kat9_persstr[] = {0};
235 static const unsigned char kat9_addin0[] = {0};
236 static const unsigned char kat9_addin1[] = {0};
237 static const unsigned char kat9_retbits[] = {
238 0x2c, 0x14, 0x7e, 0x24, 0x11, 0x9a, 0xd8, 0xd4, 0xb2, 0xed, 0x61, 0xc1,
239 0x53, 0xd0, 0x50, 0xc9, 0x24, 0xff, 0x59, 0x75, 0x15, 0xf1, 0x17, 0x3a,
240 0x3d, 0xf4, 0x4b, 0x2c, 0x84, 0x28, 0xef, 0x89, 0x0e, 0xb9, 0xde, 0xf3,
241 0xe4, 0x78, 0x04, 0xb2, 0xfd, 0x9b, 0x35, 0x7f, 0xe1, 0x3f, 0x8a, 0x3e,
242 0x10, 0xc8, 0x67, 0x0a, 0xf9, 0xdf, 0x2d, 0x6c, 0x96, 0xfb, 0xb2, 0xb8,
243 0xcb, 0x2d, 0xd6, 0xb0,
245 static const struct drbg_kat_no_reseed kat9_t = {
246 8, kat9_entropyin, kat9_nonce, kat9_persstr,
247 kat9_addin0, kat9_addin1, kat9_retbits
249 static const struct drbg_kat kat9 = {
250 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat9_t
253 static const unsigned char kat10_entropyin[] = {
254 0x2f, 0xc6, 0x23, 0x42, 0x90, 0x29, 0xc9, 0x6e, 0xde, 0xf6, 0x16, 0x62,
255 0x47, 0xb0, 0x8c, 0xb0,
257 static const unsigned char kat10_nonce[] = {
258 0x99, 0x82, 0x66, 0x33, 0x55, 0x58, 0x27, 0x88,
260 static const unsigned char kat10_persstr[] = {0};
261 static const unsigned char kat10_addin0[] = {0};
262 static const unsigned char kat10_addin1[] = {0};
263 static const unsigned char kat10_retbits[] = {
264 0x55, 0x96, 0xcb, 0x16, 0xf3, 0xbe, 0x85, 0x52, 0xc1, 0xe5, 0xc1, 0x64,
265 0xd5, 0x40, 0xcb, 0x1f, 0xaf, 0x4b, 0xea, 0x87, 0x33, 0xb6, 0x0a, 0x8a,
266 0xd0, 0xc4, 0x06, 0x26, 0x25, 0x65, 0x48, 0xc7, 0xaa, 0x96, 0xd1, 0xd2,
267 0x72, 0x9d, 0x26, 0xf0, 0x08, 0x73, 0x1f, 0xc3, 0x93, 0x07, 0xbe, 0x5b,
268 0xcd, 0x20, 0x81, 0xc6, 0x9e, 0x31, 0x4e, 0x0c, 0x73, 0xe3, 0xd0, 0xfd,
269 0x1d, 0x90, 0x58, 0x28,
271 static const struct drbg_kat_no_reseed kat10_t = {
272 9, kat10_entropyin, kat10_nonce, kat10_persstr,
273 kat10_addin0, kat10_addin1, kat10_retbits
275 static const struct drbg_kat kat10 = {
276 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat10_t
279 static const unsigned char kat11_entropyin[] = {
280 0x98, 0xab, 0x8b, 0x4e, 0xaf, 0xab, 0x6e, 0x53, 0x6f, 0x78, 0x45, 0xab,
281 0xec, 0x13, 0x78, 0x08,
283 static const unsigned char kat11_nonce[] = {
284 0xdb, 0xa9, 0x44, 0xc9, 0x8b, 0x31, 0x1d, 0x8e,
286 static const unsigned char kat11_persstr[] = {0};
287 static const unsigned char kat11_addin0[] = {0};
288 static const unsigned char kat11_addin1[] = {0};
289 static const unsigned char kat11_retbits[] = {
290 0x86, 0xee, 0xd3, 0xa9, 0xfa, 0x53, 0x45, 0x2f, 0xb1, 0x1d, 0xba, 0x9c,
291 0xac, 0x8e, 0x44, 0x02, 0x52, 0x29, 0x28, 0xf2, 0x70, 0x5a, 0x5e, 0x58,
292 0x2f, 0x4d, 0x00, 0xeb, 0x8f, 0xed, 0x81, 0x8e, 0x62, 0x9c, 0x72, 0xa6,
293 0xa7, 0x79, 0xbe, 0xb4, 0xed, 0x9a, 0x23, 0x93, 0x68, 0x23, 0x3c, 0xbf,
294 0xcf, 0x55, 0x68, 0x5d, 0xbf, 0x2d, 0xe3, 0x4a, 0xb5, 0x89, 0x20, 0xcf,
295 0xac, 0xa4, 0xaa, 0xfe,
297 static const struct drbg_kat_no_reseed kat11_t = {
298 10, kat11_entropyin, kat11_nonce, kat11_persstr,
299 kat11_addin0, kat11_addin1, kat11_retbits
301 static const struct drbg_kat kat11 = {
302 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat11_t
305 static const unsigned char kat12_entropyin[] = {
306 0x7d, 0xcf, 0x4f, 0xa7, 0x31, 0x13, 0x9c, 0x5b, 0xb6, 0x44, 0x2f, 0xed,
307 0x91, 0xe8, 0x9f, 0x68,
309 static const unsigned char kat12_nonce[] = {
310 0xff, 0xd9, 0x4f, 0xe2, 0x1a, 0x80, 0x8b, 0x15,
312 static const unsigned char kat12_persstr[] = {0};
313 static const unsigned char kat12_addin0[] = {0};
314 static const unsigned char kat12_addin1[] = {0};
315 static const unsigned char kat12_retbits[] = {
316 0x8e, 0xca, 0x20, 0xe3, 0x1c, 0x98, 0x39, 0xb7, 0x41, 0xaa, 0xa9, 0xbf,
317 0x6c, 0xee, 0xe2, 0x24, 0xd3, 0x21, 0x26, 0xb3, 0x19, 0x6e, 0xef, 0x3e,
318 0xcd, 0x34, 0x3d, 0x41, 0x4d, 0x32, 0x33, 0xb9, 0xfd, 0x0e, 0xa0, 0xed,
319 0x1b, 0xc7, 0x70, 0x0c, 0x88, 0xcd, 0x7c, 0x88, 0xd3, 0xc0, 0x76, 0x13,
320 0xc4, 0x2c, 0xd1, 0xf9, 0x09, 0xfe, 0xd8, 0xc6, 0xa7, 0x08, 0xd0, 0x5d,
321 0x6b, 0x68, 0xfb, 0x2e,
323 static const struct drbg_kat_no_reseed kat12_t = {
324 11, kat12_entropyin, kat12_nonce, kat12_persstr,
325 kat12_addin0, kat12_addin1, kat12_retbits
327 static const struct drbg_kat kat12 = {
328 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat12_t
331 static const unsigned char kat13_entropyin[] = {
332 0x51, 0x9c, 0x6e, 0xfe, 0xde, 0xd2, 0xa1, 0x10, 0xac, 0x41, 0x83, 0x9a,
333 0x8b, 0x8a, 0xbf, 0xce,
335 static const unsigned char kat13_nonce[] = {
336 0x81, 0xd9, 0x5e, 0xdc, 0x06, 0xdd, 0xe6, 0xb3,
338 static const unsigned char kat13_persstr[] = {0};
339 static const unsigned char kat13_addin0[] = {0};
340 static const unsigned char kat13_addin1[] = {0};
341 static const unsigned char kat13_retbits[] = {
342 0x39, 0xcd, 0xd1, 0x0e, 0x49, 0xe0, 0x35, 0x81, 0xe3, 0x81, 0x1d, 0xdd,
343 0x07, 0xd9, 0xd0, 0xac, 0xc3, 0x40, 0x85, 0xa1, 0x2c, 0x1c, 0x6b, 0x87,
344 0xa7, 0x63, 0x86, 0xe9, 0x70, 0x32, 0xdc, 0x01, 0xf5, 0x23, 0xf6, 0x32,
345 0xec, 0x95, 0x0d, 0x04, 0x34, 0xc2, 0x59, 0x37, 0xe4, 0x32, 0xd9, 0x85,
346 0x54, 0x59, 0x9a, 0x85, 0x5d, 0xb9, 0xad, 0xf5, 0x8b, 0x9e, 0x04, 0x59,
347 0x7a, 0x21, 0xd0, 0x0d,
349 static const struct drbg_kat_no_reseed kat13_t = {
350 12, kat13_entropyin, kat13_nonce, kat13_persstr,
351 kat13_addin0, kat13_addin1, kat13_retbits
353 static const struct drbg_kat kat13 = {
354 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat13_t
357 static const unsigned char kat14_entropyin[] = {
358 0x80, 0xc1, 0x9e, 0xea, 0xad, 0x1a, 0x58, 0x37, 0x94, 0x66, 0xaf, 0xae,
359 0x1d, 0x80, 0x87, 0x6d,
361 static const unsigned char kat14_nonce[] = {
362 0xd9, 0xa2, 0x09, 0x3f, 0x11, 0x89, 0x2b, 0x82,
364 static const unsigned char kat14_persstr[] = {0};
365 static const unsigned char kat14_addin0[] = {0};
366 static const unsigned char kat14_addin1[] = {0};
367 static const unsigned char kat14_retbits[] = {
368 0xce, 0xc5, 0x1b, 0x98, 0x5e, 0xc9, 0x7b, 0x18, 0xee, 0x8e, 0xad, 0x36,
369 0x15, 0x7b, 0xea, 0xf9, 0x6f, 0x12, 0x9f, 0x28, 0x28, 0x08, 0x89, 0xec,
370 0x87, 0x3c, 0x27, 0xb5, 0x62, 0x71, 0x98, 0xc5, 0x85, 0xa6, 0xad, 0x21,
371 0xae, 0x23, 0xa9, 0x59, 0xc9, 0xfa, 0x49, 0xd9, 0x85, 0xaf, 0x0d, 0xf4,
372 0x02, 0x8f, 0xdf, 0x1f, 0x51, 0xd8, 0x2e, 0x8f, 0x2b, 0x3f, 0x02, 0x88,
373 0x53, 0xf1, 0x4e, 0x8f,
375 static const struct drbg_kat_no_reseed kat14_t = {
376 13, kat14_entropyin, kat14_nonce, kat14_persstr,
377 kat14_addin0, kat14_addin1, kat14_retbits
379 static const struct drbg_kat kat14 = {
380 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat14_t
383 static const unsigned char kat15_entropyin[] = {
384 0xb7, 0x7b, 0xd2, 0x2e, 0xfe, 0xb7, 0x71, 0x58, 0x6d, 0x51, 0x6f, 0x58,
385 0x21, 0x92, 0xa3, 0x11,
387 static const unsigned char kat15_nonce[] = {
388 0xa6, 0x99, 0xf4, 0x2a, 0x49, 0x81, 0xfe, 0xfc,
390 static const unsigned char kat15_persstr[] = {0};
391 static const unsigned char kat15_addin0[] = {0};
392 static const unsigned char kat15_addin1[] = {0};
393 static const unsigned char kat15_retbits[] = {
394 0x7f, 0xf0, 0xab, 0xea, 0xff, 0xc6, 0xec, 0x92, 0x3c, 0xeb, 0xd9, 0x10,
395 0xf5, 0x93, 0x7b, 0xf1, 0x4f, 0xc5, 0x2d, 0x2a, 0x74, 0x25, 0x83, 0x88,
396 0xc7, 0x6c, 0x1b, 0xc9, 0xe6, 0x35, 0xad, 0xf1, 0x75, 0x85, 0x8f, 0x0a,
397 0x55, 0x87, 0x7e, 0x7e, 0x9f, 0x5f, 0x86, 0x7d, 0x00, 0xb9, 0xb1, 0x36,
398 0x3d, 0xde, 0x46, 0x28, 0x8a, 0x6f, 0xff, 0x53, 0x21, 0xf4, 0x69, 0x44,
399 0x5a, 0xad, 0x41, 0x98,
401 static const struct drbg_kat_no_reseed kat15_t = {
402 14, kat15_entropyin, kat15_nonce, kat15_persstr,
403 kat15_addin0, kat15_addin1, kat15_retbits
405 static const struct drbg_kat kat15 = {
406 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat15_t
409 static const unsigned char kat16_entropyin[] = {
410 0xb4, 0x08, 0xce, 0xfb, 0x5b, 0xc7, 0x15, 0x7d, 0x3f, 0x26, 0xcb, 0x95,
411 0xa8, 0xb1, 0xd7, 0xac,
413 static const unsigned char kat16_nonce[] = {
414 0x02, 0x6c, 0x76, 0x8f, 0xd5, 0x77, 0xb9, 0x2a,
416 static const unsigned char kat16_persstr[] = {0};
417 static const unsigned char kat16_addin0[] = {
418 0x57, 0x37, 0xef, 0x81, 0xde, 0xe3, 0x65, 0xb6, 0xda, 0xdb, 0x3f, 0xee,
419 0xbf, 0x5d, 0x10, 0x84,
421 static const unsigned char kat16_addin1[] = {
422 0x33, 0x68, 0xa5, 0x16, 0xb3, 0x43, 0x1a, 0x3d, 0xaa, 0xa6, 0x0d, 0xc8,
423 0x74, 0x3c, 0x82, 0x97,
425 static const unsigned char kat16_retbits[] = {
426 0x4e, 0x90, 0x9e, 0xbb, 0x24, 0x14, 0x7a, 0x00, 0x04, 0x06, 0x3a, 0x5e,
427 0x47, 0xee, 0x04, 0x4f, 0xea, 0xd6, 0x10, 0xd6, 0x23, 0x24, 0xbd, 0x0f,
428 0x96, 0x3f, 0x75, 0x6f, 0xb9, 0x13, 0x61, 0xe8, 0xb8, 0x7e, 0x3a, 0x76,
429 0xa3, 0x98, 0x14, 0x3f, 0xe8, 0x81, 0x30, 0xfe, 0x1b, 0x54, 0x7b, 0x66,
430 0x1a, 0x64, 0x80, 0xc7, 0x11, 0xb7, 0x39, 0xf1, 0x8a, 0x9d, 0xf3, 0xae,
431 0x51, 0xd4, 0x1b, 0xc9,
433 static const struct drbg_kat_no_reseed kat16_t = {
434 0, kat16_entropyin, kat16_nonce, kat16_persstr,
435 kat16_addin0, kat16_addin1, kat16_retbits
437 static const struct drbg_kat kat16 = {
438 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat16_t
441 static const unsigned char kat17_entropyin[] = {
442 0x71, 0xbd, 0xce, 0x35, 0x42, 0x7d, 0x20, 0xbf, 0x58, 0xcf, 0x17, 0x74,
443 0xce, 0x72, 0xd8, 0x33,
445 static const unsigned char kat17_nonce[] = {
446 0x34, 0x50, 0x2d, 0x8f, 0x5b, 0x14, 0xc4, 0xdd,
448 static const unsigned char kat17_persstr[] = {0};
449 static const unsigned char kat17_addin0[] = {
450 0x66, 0xef, 0x42, 0xd6, 0x9a, 0x8c, 0x3d, 0x6d, 0x4a, 0x9e, 0x95, 0xa6,
451 0x91, 0x4d, 0x81, 0x56,
453 static const unsigned char kat17_addin1[] = {
454 0xe3, 0x18, 0x83, 0xd9, 0x4b, 0x5e, 0xc4, 0xcc, 0xaa, 0x61, 0x2f, 0xbb,
455 0x4a, 0x55, 0xd1, 0xc6,
457 static const unsigned char kat17_retbits[] = {
458 0x97, 0x33, 0xe8, 0x20, 0x12, 0xe2, 0x7b, 0xa1, 0x46, 0x8f, 0xf2, 0x34,
459 0xb3, 0xc9, 0xb6, 0x6b, 0x20, 0xb2, 0x4f, 0xee, 0x27, 0xd8, 0x0b, 0x21,
460 0x8c, 0xff, 0x63, 0x73, 0x69, 0x29, 0xfb, 0xf3, 0x85, 0xcd, 0x88, 0x8e,
461 0x43, 0x2c, 0x71, 0x8b, 0xa2, 0x55, 0xd2, 0x0f, 0x1d, 0x7f, 0xe3, 0xe1,
462 0x2a, 0xa3, 0xe9, 0x2c, 0x25, 0x89, 0xc7, 0x14, 0x52, 0x99, 0x56, 0xcc,
463 0xc3, 0xdf, 0xb3, 0x81,
465 static const struct drbg_kat_no_reseed kat17_t = {
466 1, kat17_entropyin, kat17_nonce, kat17_persstr,
467 kat17_addin0, kat17_addin1, kat17_retbits
469 static const struct drbg_kat kat17 = {
470 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat17_t
473 static const unsigned char kat18_entropyin[] = {
474 0x9c, 0x0e, 0x4a, 0xea, 0xfc, 0x35, 0x7f, 0xf8, 0xe3, 0xf5, 0x40, 0xa4,
475 0x55, 0x67, 0x8d, 0x7e,
477 static const unsigned char kat18_nonce[] = {
478 0xef, 0xd8, 0x3d, 0xc5, 0xc5, 0x31, 0xd1, 0x67,
480 static const unsigned char kat18_persstr[] = {0};
481 static const unsigned char kat18_addin0[] = {
482 0x58, 0xa1, 0x18, 0x14, 0x08, 0x1c, 0x1c, 0x35, 0xaf, 0x89, 0x88, 0xf1,
483 0x31, 0x40, 0xf6, 0xcc,
485 static const unsigned char kat18_addin1[] = {
486 0x19, 0x19, 0x22, 0x70, 0xd6, 0x1a, 0x43, 0x26, 0x4a, 0x30, 0xba, 0x9e,
487 0xbc, 0x72, 0x8a, 0x5b,
489 static const unsigned char kat18_retbits[] = {
490 0x1e, 0xff, 0x1c, 0xf6, 0xb5, 0x75, 0x31, 0x55, 0x90, 0x70, 0x38, 0x82,
491 0x35, 0x9b, 0x6a, 0xdb, 0x3c, 0x21, 0xeb, 0xcf, 0xda, 0x5d, 0x3b, 0x5d,
492 0x6e, 0x88, 0xac, 0xab, 0x6e, 0x87, 0x9e, 0x0a, 0x6f, 0x75, 0x37, 0x5c,
493 0x02, 0xd1, 0xd3, 0xfb, 0xae, 0x94, 0x3c, 0x34, 0x43, 0xe3, 0x9c, 0x29,
494 0x9b, 0x80, 0xe2, 0x41, 0xcd, 0x36, 0x5d, 0x4a, 0xf8, 0xcd, 0x1a, 0xd5,
495 0xd9, 0xd5, 0x4c, 0x58,
497 static const struct drbg_kat_no_reseed kat18_t = {
498 2, kat18_entropyin, kat18_nonce, kat18_persstr,
499 kat18_addin0, kat18_addin1, kat18_retbits
501 static const struct drbg_kat kat18 = {
502 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat18_t
505 static const unsigned char kat19_entropyin[] = {
506 0x95, 0x07, 0x01, 0x9b, 0x1f, 0xe8, 0x79, 0x84, 0xbe, 0xc1, 0xd0, 0x9c,
507 0xec, 0xcf, 0x36, 0x35,
509 static const unsigned char kat19_nonce[] = {
510 0x47, 0x58, 0x62, 0x74, 0xfa, 0x75, 0x3e, 0x0d,
512 static const unsigned char kat19_persstr[] = {0};
513 static const unsigned char kat19_addin0[] = {
514 0xf1, 0x7d, 0xe4, 0xce, 0xef, 0x9f, 0x2f, 0x23, 0x42, 0x20, 0xcb, 0x71,
515 0xd8, 0xce, 0xb7, 0x0d,
517 static const unsigned char kat19_addin1[] = {
518 0x99, 0xd4, 0x8d, 0x9c, 0xe2, 0xfe, 0x76, 0xdc, 0xb8, 0xd0, 0x5f, 0xa4,
519 0xec, 0x07, 0x1a, 0xec,
521 static const unsigned char kat19_retbits[] = {
522 0x25, 0xa0, 0xd1, 0x67, 0x8e, 0x25, 0xb1, 0x94, 0x39, 0xd8, 0x33, 0x4c,
523 0xa9, 0x02, 0xdb, 0x63, 0x47, 0xa9, 0xa4, 0x2b, 0x86, 0xf3, 0x54, 0xb9,
524 0xe0, 0xb3, 0xc4, 0xf4, 0xe8, 0xba, 0x9d, 0x19, 0x2a, 0x5d, 0x76, 0x5a,
525 0xae, 0x5f, 0x4c, 0x5a, 0x74, 0xa0, 0x17, 0x7d, 0x3e, 0xb6, 0x13, 0x70,
526 0x62, 0xe6, 0xd9, 0x8b, 0x65, 0x18, 0x22, 0x26, 0x5b, 0xfe, 0xfc, 0x92,
527 0x9a, 0x39, 0x69, 0xdd,
529 static const struct drbg_kat_no_reseed kat19_t = {
530 3, kat19_entropyin, kat19_nonce, kat19_persstr,
531 kat19_addin0, kat19_addin1, kat19_retbits
533 static const struct drbg_kat kat19 = {
534 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat19_t
537 static const unsigned char kat20_entropyin[] = {
538 0x12, 0xe8, 0xb3, 0xda, 0x3a, 0x3b, 0x3e, 0x77, 0x3a, 0xfc, 0x23, 0x05,
539 0xbd, 0xa8, 0x6d, 0xb6,
541 static const unsigned char kat20_nonce[] = {
542 0xc4, 0x9f, 0x26, 0x1a, 0x9a, 0xb9, 0xd9, 0xf8,
544 static const unsigned char kat20_persstr[] = {0};
545 static const unsigned char kat20_addin0[] = {
546 0x86, 0xb6, 0x38, 0x52, 0x41, 0x96, 0x15, 0x9d, 0xea, 0x01, 0x76, 0xe5,
547 0x46, 0x2a, 0xe6, 0x5c,
549 static const unsigned char kat20_addin1[] = {
550 0x5e, 0xad, 0xb7, 0x67, 0x72, 0xbe, 0x3c, 0xe8, 0x47, 0xaf, 0x6b, 0x77,
551 0x94, 0xe0, 0x02, 0xe3,
553 static const unsigned char kat20_retbits[] = {
554 0x1b, 0xbf, 0x85, 0xe0, 0x2c, 0x1f, 0xc0, 0x4b, 0xea, 0x5f, 0xc4, 0x7f,
555 0x23, 0x6a, 0x07, 0x1c, 0x13, 0xf8, 0xf5, 0x2e, 0xb1, 0x13, 0xcb, 0x83,
556 0xc4, 0x15, 0x2a, 0xc8, 0x32, 0x62, 0x7a, 0xbb, 0xa6, 0xec, 0xde, 0xc1,
557 0x7a, 0x9f, 0xf0, 0x30, 0x5b, 0x7a, 0x49, 0x81, 0x79, 0x83, 0xfa, 0x5b,
558 0x66, 0x51, 0x45, 0xe7, 0xba, 0x9a, 0x5d, 0xf5, 0x72, 0x26, 0xec, 0xcf,
559 0xc1, 0x64, 0xe3, 0xbb,
561 static const struct drbg_kat_no_reseed kat20_t = {
562 4, kat20_entropyin, kat20_nonce, kat20_persstr,
563 kat20_addin0, kat20_addin1, kat20_retbits
565 static const struct drbg_kat kat20 = {
566 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat20_t
569 static const unsigned char kat21_entropyin[] = {
570 0xb6, 0x08, 0xb1, 0x49, 0xcf, 0x44, 0xfe, 0x06, 0x06, 0x13, 0xb1, 0x66,
571 0x1d, 0xa0, 0xdf, 0x63,
573 static const unsigned char kat21_nonce[] = {
574 0x95, 0x17, 0xc9, 0x93, 0xf1, 0x50, 0x34, 0x77,
576 static const unsigned char kat21_persstr[] = {0};
577 static const unsigned char kat21_addin0[] = {
578 0x55, 0x9c, 0xb8, 0x12, 0xc3, 0x75, 0x8b, 0x2b, 0x31, 0x9d, 0xd9, 0xf5,
579 0x76, 0x8e, 0x8d, 0x3d,
581 static const unsigned char kat21_addin1[] = {
582 0xc9, 0xaf, 0x98, 0x7e, 0xfc, 0xe4, 0x70, 0x0f, 0xa9, 0xc8, 0xeb, 0xb9,
583 0xfe, 0xcf, 0x00, 0xda,
585 static const unsigned char kat21_retbits[] = {
586 0x5b, 0x48, 0x13, 0x4d, 0xc7, 0xe6, 0x58, 0x9f, 0x1b, 0x40, 0x2c, 0xf5,
587 0xc4, 0xf6, 0xe3, 0xa3, 0xeb, 0xfd, 0xa8, 0x26, 0x72, 0x50, 0xe8, 0xe8,
588 0x11, 0xec, 0x05, 0x98, 0x6f, 0xf2, 0x1c, 0x78, 0xa1, 0x69, 0x30, 0xa8,
589 0xe0, 0x81, 0x03, 0x07, 0x76, 0x08, 0xc0, 0x6f, 0xa5, 0xe2, 0xa0, 0x48,
590 0xe8, 0x5d, 0xd6, 0xf3, 0x95, 0xce, 0xe2, 0x01, 0xd3, 0xcd, 0xe6, 0x35,
591 0xe1, 0x7e, 0x20, 0x3e,
593 static const struct drbg_kat_no_reseed kat21_t = {
594 5, kat21_entropyin, kat21_nonce, kat21_persstr,
595 kat21_addin0, kat21_addin1, kat21_retbits
597 static const struct drbg_kat kat21 = {
598 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat21_t
601 static const unsigned char kat22_entropyin[] = {
602 0xe9, 0x2f, 0xd0, 0x7a, 0x09, 0xf2, 0xbc, 0xcb, 0x43, 0x42, 0x4c, 0x57,
603 0x57, 0x73, 0xb0, 0xf0,
605 static const unsigned char kat22_nonce[] = {
606 0xb4, 0xe3, 0xca, 0x71, 0xae, 0x15, 0xa0, 0x36,
608 static const unsigned char kat22_persstr[] = {0};
609 static const unsigned char kat22_addin0[] = {
610 0xe1, 0xb4, 0xb0, 0x40, 0x13, 0xdc, 0x12, 0x18, 0x8c, 0x62, 0x3d, 0x10,
611 0x11, 0xd4, 0x08, 0xf1,
613 static const unsigned char kat22_addin1[] = {
614 0x79, 0x56, 0xbf, 0x5b, 0x16, 0x58, 0x0b, 0x3e, 0x72, 0x0a, 0x81, 0x33,
615 0x3e, 0xae, 0x24, 0x83,
617 static const unsigned char kat22_retbits[] = {
618 0x21, 0xa4, 0x67, 0x22, 0x42, 0x46, 0x56, 0x37, 0x0c, 0x47, 0x5b, 0x69,
619 0xa1, 0xfb, 0xc7, 0x0c, 0x8c, 0xbf, 0x44, 0x2d, 0xc2, 0xbc, 0x28, 0xe0,
620 0xab, 0x34, 0xbb, 0x6f, 0xfe, 0xd0, 0x6d, 0x10, 0xf4, 0x90, 0xdf, 0x7e,
621 0x78, 0x7c, 0x12, 0xb6, 0x52, 0xd2, 0x19, 0xa5, 0x77, 0x30, 0x6f, 0x04,
622 0xa9, 0xc8, 0x78, 0xb6, 0xcf, 0xdf, 0xf4, 0x3e, 0x13, 0x55, 0xc4, 0xd1,
623 0x10, 0xfb, 0x0f, 0xb2,
625 static const struct drbg_kat_no_reseed kat22_t = {
626 6, kat22_entropyin, kat22_nonce, kat22_persstr,
627 kat22_addin0, kat22_addin1, kat22_retbits
629 static const struct drbg_kat kat22 = {
630 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat22_t
633 static const unsigned char kat23_entropyin[] = {
634 0xde, 0x0b, 0x4e, 0xa1, 0xa4, 0x40, 0xce, 0x68, 0x0e, 0xd0, 0x04, 0xcf,
635 0x64, 0xaf, 0xbe, 0x0f,
637 static const unsigned char kat23_nonce[] = {
638 0xab, 0xb3, 0x1a, 0x3a, 0xb1, 0x5e, 0xd4, 0x49,
640 static const unsigned char kat23_persstr[] = {0};
641 static const unsigned char kat23_addin0[] = {
642 0x45, 0xe7, 0x10, 0x10, 0x0c, 0xad, 0x00, 0xf3, 0xd2, 0x93, 0xdb, 0x75,
643 0x5e, 0xe1, 0x99, 0x0d,
645 static const unsigned char kat23_addin1[] = {
646 0xb9, 0x11, 0xc9, 0xa4, 0x38, 0x9e, 0x71, 0x67, 0x98, 0x2a, 0x51, 0x24,
647 0x8e, 0xe2, 0x93, 0x7e,
649 static const unsigned char kat23_retbits[] = {
650 0x01, 0xc3, 0xaf, 0x83, 0x55, 0x7c, 0x63, 0x2d, 0xd8, 0x22, 0x83, 0x3f,
651 0x18, 0xe5, 0x48, 0xfb, 0x60, 0x36, 0xe9, 0xcc, 0xac, 0xc3, 0xb4, 0x33,
652 0xc5, 0xa7, 0x00, 0x79, 0x39, 0x93, 0x30, 0x89, 0x16, 0x22, 0x0e, 0x5a,
653 0x74, 0x16, 0x39, 0x86, 0x1c, 0x2f, 0x17, 0x71, 0x9b, 0x32, 0x51, 0x22,
654 0x06, 0xe3, 0x6e, 0x94, 0x7b, 0x28, 0x60, 0x07, 0x3b, 0x11, 0x3c, 0xcd,
655 0xa3, 0xfe, 0x31, 0x68,
657 static const struct drbg_kat_no_reseed kat23_t = {
658 7, kat23_entropyin, kat23_nonce, kat23_persstr,
659 kat23_addin0, kat23_addin1, kat23_retbits
661 static const struct drbg_kat kat23 = {
662 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat23_t
665 static const unsigned char kat24_entropyin[] = {
666 0x72, 0x27, 0xe1, 0x1c, 0xfc, 0x1a, 0x6b, 0x84, 0xb4, 0x0e, 0xca, 0x24,
667 0xe7, 0x7f, 0x8c, 0x64,
669 static const unsigned char kat24_nonce[] = {
670 0xab, 0x7e, 0x9f, 0xc4, 0x5e, 0x58, 0x63, 0xfb,
672 static const unsigned char kat24_persstr[] = {0};
673 static const unsigned char kat24_addin0[] = {
674 0xca, 0xeb, 0xb3, 0xcd, 0x32, 0xc9, 0xd3, 0xe1, 0xf5, 0xd3, 0x8f, 0x8b,
675 0xdd, 0x89, 0x58, 0x7d,
677 static const unsigned char kat24_addin1[] = {
678 0x31, 0x38, 0x09, 0x26, 0xb8, 0x60, 0x80, 0x06, 0xb7, 0xc7, 0x93, 0x61,
679 0xf0, 0xf9, 0x1d, 0x5e,
681 static const unsigned char kat24_retbits[] = {
682 0x3a, 0xd7, 0xb9, 0x32, 0x59, 0xc6, 0xd0, 0xfd, 0xb5, 0x14, 0x27, 0x7a,
683 0xe9, 0x95, 0x01, 0x22, 0xfb, 0x97, 0x11, 0x33, 0x74, 0x2d, 0xe8, 0xe5,
684 0x17, 0xdd, 0x22, 0x69, 0xdd, 0x5a, 0x3c, 0x25, 0x7e, 0x3d, 0x10, 0x6b,
685 0x55, 0x56, 0x60, 0xcf, 0xdd, 0x6a, 0x92, 0xc2, 0xcd, 0xdf, 0x1e, 0x53,
686 0xc4, 0x94, 0x5e, 0xd7, 0x72, 0xee, 0x30, 0x38, 0x04, 0xd0, 0x56, 0xf2,
687 0x42, 0xbf, 0x53, 0x99,
689 static const struct drbg_kat_no_reseed kat24_t = {
690 8, kat24_entropyin, kat24_nonce, kat24_persstr,
691 kat24_addin0, kat24_addin1, kat24_retbits
693 static const struct drbg_kat kat24 = {
694 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat24_t
697 static const unsigned char kat25_entropyin[] = {
698 0x3b, 0x9e, 0xe2, 0x0c, 0x82, 0x42, 0xb3, 0xf3, 0x58, 0xdb, 0xe8, 0xea,
699 0x58, 0x9e, 0x6e, 0x7c,
701 static const unsigned char kat25_nonce[] = {
702 0xb1, 0xdc, 0x3a, 0x47, 0x03, 0x68, 0x52, 0x15,
704 static const unsigned char kat25_persstr[] = {0};
705 static const unsigned char kat25_addin0[] = {
706 0x47, 0x33, 0x34, 0x47, 0x86, 0x73, 0xe7, 0xb4, 0xa4, 0x3e, 0x9a, 0xe6,
707 0xa8, 0xac, 0x98, 0xbf,
709 static const unsigned char kat25_addin1[] = {
710 0x06, 0x1f, 0xe4, 0x45, 0x5a, 0x17, 0x08, 0x74, 0x98, 0xfe, 0x20, 0x9c,
711 0x2c, 0xba, 0x7a, 0x91,
713 static const unsigned char kat25_retbits[] = {
714 0x8e, 0x50, 0x62, 0xb1, 0xfb, 0x29, 0x05, 0xc1, 0x57, 0xc5, 0x26, 0xfa,
715 0x5f, 0x67, 0xcc, 0x99, 0xc6, 0xd7, 0x08, 0x0a, 0x3d, 0x31, 0x42, 0xfa,
716 0x37, 0xc2, 0x09, 0xcf, 0x53, 0x4a, 0xf1, 0x6a, 0x9a, 0x2f, 0x28, 0x61,
717 0xb8, 0x94, 0xea, 0x84, 0xa3, 0x73, 0xd4, 0xa8, 0x04, 0xc3, 0xdc, 0xd5,
718 0x1f, 0xcc, 0x09, 0xdd, 0x0f, 0x5b, 0x39, 0x45, 0x69, 0x7a, 0xac, 0xd0,
719 0xb8, 0xf3, 0xea, 0xfd,
721 static const struct drbg_kat_no_reseed kat25_t = {
722 9, kat25_entropyin, kat25_nonce, kat25_persstr,
723 kat25_addin0, kat25_addin1, kat25_retbits
725 static const struct drbg_kat kat25 = {
726 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat25_t
729 static const unsigned char kat26_entropyin[] = {
730 0x8f, 0xf7, 0x57, 0xb2, 0x11, 0x69, 0xb3, 0xfd, 0x6e, 0x88, 0x00, 0xaa,
731 0xc0, 0xe3, 0xc4, 0x1f,
733 static const unsigned char kat26_nonce[] = {
734 0x49, 0x4d, 0x42, 0x51, 0xe8, 0x88, 0x15, 0xb4,
736 static const unsigned char kat26_persstr[] = {0};
737 static const unsigned char kat26_addin0[] = {
738 0xe0, 0x19, 0x9f, 0xb9, 0xf0, 0xf0, 0xa1, 0xa8, 0xdd, 0x9d, 0x19, 0xd1,
739 0x43, 0x68, 0xfa, 0x1e,
741 static const unsigned char kat26_addin1[] = {
742 0x21, 0x91, 0xab, 0xe7, 0x24, 0x41, 0x28, 0x56, 0x36, 0xc1, 0x1b, 0xde,
743 0xe9, 0x83, 0xed, 0x8c,
745 static const unsigned char kat26_retbits[] = {
746 0x06, 0x75, 0xb2, 0x25, 0x4b, 0x71, 0x31, 0x8e, 0xb3, 0xa3, 0x60, 0x4d,
747 0x7b, 0x6d, 0x77, 0x80, 0x6c, 0xd7, 0xdf, 0x32, 0x5c, 0x7c, 0xe8, 0x9e,
748 0x16, 0xd3, 0xbd, 0x56, 0x16, 0xb0, 0xfa, 0xec, 0x33, 0x0c, 0xfe, 0x6b,
749 0x84, 0xb6, 0x87, 0x61, 0xad, 0xf7, 0x0c, 0xc1, 0x4e, 0x46, 0x25, 0x3e,
750 0x11, 0x55, 0x72, 0xc1, 0xa4, 0xac, 0xbb, 0xae, 0xee, 0x1a, 0xd6, 0x81,
751 0xb5, 0x38, 0xd6, 0xc9,
753 static const struct drbg_kat_no_reseed kat26_t = {
754 10, kat26_entropyin, kat26_nonce, kat26_persstr,
755 kat26_addin0, kat26_addin1, kat26_retbits
757 static const struct drbg_kat kat26 = {
758 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat26_t
761 static const unsigned char kat27_entropyin[] = {
762 0x46, 0x0c, 0x0a, 0x1e, 0x92, 0x9b, 0x75, 0x18, 0xdb, 0xcf, 0x44, 0xe4,
763 0xe7, 0xee, 0x4d, 0x83,
765 static const unsigned char kat27_nonce[] = {
766 0x88, 0x65, 0xd5, 0x01, 0x53, 0x48, 0x25, 0x9e,
768 static const unsigned char kat27_persstr[] = {0};
769 static const unsigned char kat27_addin0[] = {
770 0xf9, 0x32, 0x78, 0x91, 0x40, 0xa0, 0xa7, 0x6f, 0x07, 0xb2, 0x5b, 0x5f,
771 0x8e, 0x1d, 0x00, 0xdc,
773 static const unsigned char kat27_addin1[] = {
774 0xe6, 0x44, 0x6a, 0xe2, 0xc6, 0x62, 0x66, 0x73, 0xe1, 0x8e, 0x37, 0x3d,
775 0xeb, 0x12, 0xbd, 0x26,
777 static const unsigned char kat27_retbits[] = {
778 0xc5, 0xde, 0x2e, 0x1a, 0x2a, 0xa7, 0x0a, 0x28, 0xac, 0xe6, 0x8e, 0x62,
779 0x0c, 0x94, 0xb8, 0x88, 0xa0, 0x7b, 0x07, 0x80, 0xb3, 0x14, 0x38, 0xc5,
780 0xe1, 0x1c, 0x5d, 0x76, 0xdf, 0xd6, 0x15, 0xf4, 0x1d, 0x4b, 0xa3, 0x24,
781 0xd2, 0x2c, 0x12, 0xfe, 0xe3, 0x8f, 0x58, 0x93, 0x5d, 0xad, 0x35, 0xe0,
782 0x0f, 0xe6, 0xa6, 0xe6, 0x11, 0x86, 0xc7, 0x88, 0x1c, 0x30, 0x6e, 0x96,
783 0x31, 0xcc, 0x15, 0xec,
785 static const struct drbg_kat_no_reseed kat27_t = {
786 11, kat27_entropyin, kat27_nonce, kat27_persstr,
787 kat27_addin0, kat27_addin1, kat27_retbits
789 static const struct drbg_kat kat27 = {
790 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat27_t
793 static const unsigned char kat28_entropyin[] = {
794 0xb2, 0xda, 0x44, 0xbc, 0x3b, 0xe2, 0xd1, 0x7a, 0x9a, 0xc2, 0x08, 0x80,
795 0x85, 0xe9, 0x26, 0xf8,
797 static const unsigned char kat28_nonce[] = {
798 0x04, 0xbe, 0x54, 0x49, 0x35, 0x26, 0xc5, 0x78,
800 static const unsigned char kat28_persstr[] = {0};
801 static const unsigned char kat28_addin0[] = {
802 0x67, 0xbe, 0x89, 0x19, 0x59, 0x65, 0xcd, 0x7d, 0xc9, 0x84, 0x27, 0x1b,
803 0x49, 0x7d, 0x61, 0x90,
805 static const unsigned char kat28_addin1[] = {
806 0xc9, 0x95, 0x6b, 0x00, 0x4b, 0x0c, 0x26, 0xb3, 0xf6, 0x57, 0xc6, 0xc1,
807 0x55, 0xd3, 0x60, 0xcc,
809 static const unsigned char kat28_retbits[] = {
810 0xc7, 0x74, 0x56, 0x62, 0x19, 0x48, 0xf6, 0x08, 0x38, 0xe3, 0x77, 0x9a,
811 0x14, 0x60, 0x63, 0x22, 0x52, 0x96, 0xda, 0x38, 0x18, 0x0e, 0x2c, 0x4c,
812 0x58, 0x35, 0xea, 0x27, 0xb2, 0x84, 0x24, 0xa8, 0x83, 0x1c, 0xee, 0x8c,
813 0x8d, 0xf7, 0x39, 0xa2, 0xb1, 0x73, 0xb3, 0x7b, 0xe2, 0xc0, 0x2b, 0xff,
814 0x38, 0xe0, 0xb3, 0x67, 0xd4, 0x82, 0xfb, 0x76, 0x54, 0x5f, 0xb3, 0xc9,
815 0x8d, 0x82, 0xb6, 0xe7,
817 static const struct drbg_kat_no_reseed kat28_t = {
818 12, kat28_entropyin, kat28_nonce, kat28_persstr,
819 kat28_addin0, kat28_addin1, kat28_retbits
821 static const struct drbg_kat kat28 = {
822 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat28_t
825 static const unsigned char kat29_entropyin[] = {
826 0xf1, 0x77, 0xbc, 0x8a, 0xf7, 0x5c, 0x49, 0xe1, 0xd3, 0x79, 0xb5, 0x72,
827 0x26, 0x92, 0xbb, 0x3f,
829 static const unsigned char kat29_nonce[] = {
830 0xd8, 0xb5, 0xfb, 0xdc, 0x5d, 0xa7, 0xea, 0x7b,
832 static const unsigned char kat29_persstr[] = {0};
833 static const unsigned char kat29_addin0[] = {
834 0x37, 0x41, 0x94, 0x38, 0x35, 0x54, 0xa4, 0x21, 0x41, 0x0a, 0xf5, 0xde,
835 0x2f, 0xc2, 0xec, 0x82,
837 static const unsigned char kat29_addin1[] = {
838 0x00, 0x0b, 0xe9, 0xac, 0x8e, 0x4b, 0x0c, 0xd1, 0x24, 0x5d, 0x7b, 0x7d,
839 0xbf, 0x8d, 0x87, 0x4f,
841 static const unsigned char kat29_retbits[] = {
842 0xb4, 0xa0, 0x0c, 0xd6, 0xe5, 0xf4, 0x7e, 0xa8, 0x7b, 0x12, 0x07, 0xc3,
843 0xa2, 0x18, 0xd8, 0x98, 0x8d, 0x4c, 0xb7, 0xed, 0x52, 0xb1, 0x4b, 0x79,
844 0xbb, 0xa5, 0x6a, 0xa7, 0xe5, 0x7e, 0x63, 0x64, 0x05, 0x70, 0x25, 0xab,
845 0x8f, 0x60, 0xd9, 0x7b, 0x84, 0x71, 0x7b, 0xbf, 0x25, 0x58, 0xdd, 0x43,
846 0x1f, 0x4b, 0xc3, 0x8c, 0xf1, 0xf6, 0x1e, 0xc0, 0xe7, 0xc2, 0xb4, 0xae,
847 0xb5, 0x4b, 0x2f, 0xaa,
849 static const struct drbg_kat_no_reseed kat29_t = {
850 13, kat29_entropyin, kat29_nonce, kat29_persstr,
851 kat29_addin0, kat29_addin1, kat29_retbits
853 static const struct drbg_kat kat29 = {
854 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat29_t
857 static const unsigned char kat30_entropyin[] = {
858 0x52, 0x6b, 0xc8, 0xb7, 0x97, 0xad, 0x67, 0xeb, 0x9b, 0x11, 0xbb, 0x5d,
859 0x17, 0x32, 0x00, 0x87,
861 static const unsigned char kat30_nonce[] = {
862 0x64, 0x7b, 0xd2, 0x32, 0xad, 0x4d, 0x13, 0x00,
864 static const unsigned char kat30_persstr[] = {0};
865 static const unsigned char kat30_addin0[] = {
866 0x58, 0xc8, 0xbf, 0x95, 0x0f, 0xab, 0x02, 0x71, 0x19, 0xee, 0x4a, 0x59,
867 0x27, 0x27, 0xaa, 0x02,
869 static const unsigned char kat30_addin1[] = {
870 0x25, 0x39, 0xe1, 0x23, 0x92, 0x6b, 0x74, 0xab, 0x23, 0x41, 0x4d, 0x63,
871 0x50, 0xb8, 0x92, 0x87,
873 static const unsigned char kat30_retbits[] = {
874 0x35, 0x9c, 0x56, 0x08, 0x34, 0xbb, 0xeb, 0xdb, 0x41, 0x34, 0xcc, 0x3e,
875 0x66, 0xbc, 0x06, 0x95, 0xce, 0xfd, 0xb4, 0xfe, 0x56, 0x63, 0x75, 0x2b,
876 0x6e, 0xba, 0x97, 0x4c, 0x4b, 0x85, 0x92, 0x4a, 0x01, 0xdc, 0xd4, 0xea,
877 0x3e, 0xd7, 0x7f, 0x2a, 0xf3, 0x95, 0x7b, 0x87, 0x51, 0xf7, 0x37, 0x15,
878 0x74, 0xbb, 0x8b, 0x09, 0x0b, 0xc0, 0xd5, 0x12, 0xc1, 0x57, 0xc6, 0x55,
879 0x9c, 0x16, 0xd0, 0xfd,
881 static const struct drbg_kat_no_reseed kat30_t = {
882 14, kat30_entropyin, kat30_nonce, kat30_persstr,
883 kat30_addin0, kat30_addin1, kat30_retbits
885 static const struct drbg_kat kat30 = {
886 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat30_t
889 static const unsigned char kat31_entropyin[] = {
890 0xe1, 0x0b, 0xc2, 0x8a, 0x0b, 0xfd, 0xdf, 0xe9, 0x3e, 0x7f, 0x51, 0x86,
891 0xe0, 0xca, 0x0b, 0x3b,
893 static const unsigned char kat31_nonce[] = {
894 0x9f, 0xf4, 0x77, 0xc1, 0x86, 0x73, 0x84, 0x0d,
896 static const unsigned char kat31_persstr[] = {
897 0xc9, 0x80, 0xde, 0xdf, 0x98, 0x82, 0xed, 0x44, 0x64, 0xa6, 0x74, 0x96,
898 0x78, 0x68, 0xf1, 0x43,
900 static const unsigned char kat31_addin0[] = {0};
901 static const unsigned char kat31_addin1[] = {0};
902 static const unsigned char kat31_retbits[] = {
903 0x35, 0xb0, 0x0d, 0xf6, 0x26, 0x9b, 0x66, 0x41, 0xfd, 0x4c, 0xcb, 0x35,
904 0x4d, 0x56, 0xd8, 0x51, 0xde, 0x7a, 0x77, 0x52, 0x7e, 0x03, 0x4d, 0x60,
905 0xc9, 0xe1, 0xa9, 0xe1, 0x52, 0x5a, 0x30, 0xed, 0x36, 0x1f, 0xde, 0xd8,
906 0x9d, 0x3d, 0xcc, 0xb9, 0x78, 0xd4, 0xe7, 0xa9, 0xe1, 0x00, 0xeb, 0xf6,
907 0x30, 0x62, 0x73, 0x5b, 0x52, 0x83, 0x1c, 0x6f, 0x0a, 0x1d, 0x3e, 0x1b,
908 0xdc, 0x5e, 0xbc, 0x72,
910 static const struct drbg_kat_no_reseed kat31_t = {
911 0, kat31_entropyin, kat31_nonce, kat31_persstr,
912 kat31_addin0, kat31_addin1, kat31_retbits
914 static const struct drbg_kat kat31 = {
915 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat31_t
918 static const unsigned char kat32_entropyin[] = {
919 0xca, 0x4b, 0x1e, 0xfa, 0x75, 0xbd, 0x69, 0x36, 0x38, 0x73, 0xb8, 0xf9,
920 0xdb, 0x4d, 0x35, 0x0e,
922 static const unsigned char kat32_nonce[] = {
923 0x47, 0xbf, 0x6c, 0x37, 0x72, 0xfd, 0xf7, 0xa9,
925 static const unsigned char kat32_persstr[] = {
926 0xeb, 0xaa, 0x60, 0x2c, 0x4d, 0xbe, 0x33, 0xff, 0x1b, 0xef, 0xbf, 0x0a,
927 0x0b, 0xc6, 0x97, 0x54,
929 static const unsigned char kat32_addin0[] = {0};
930 static const unsigned char kat32_addin1[] = {0};
931 static const unsigned char kat32_retbits[] = {
932 0x59, 0xc3, 0x19, 0x79, 0x1b, 0xb1, 0xf3, 0x0e, 0xe9, 0x34, 0xae, 0x6e,
933 0x8b, 0x1f, 0xad, 0x1f, 0x74, 0xca, 0x25, 0x45, 0x68, 0xb8, 0x7f, 0x75,
934 0x12, 0xf8, 0xf2, 0xab, 0x4c, 0x23, 0x01, 0x03, 0x05, 0xe1, 0x70, 0xee,
935 0x75, 0xd8, 0xcb, 0xeb, 0x23, 0x4c, 0x7a, 0x23, 0x6e, 0x12, 0x27, 0xdb,
936 0x6f, 0x7a, 0xac, 0x3c, 0x44, 0xb7, 0x87, 0x4b, 0x65, 0x56, 0x74, 0x45,
937 0x34, 0x30, 0x0c, 0x3d,
939 static const struct drbg_kat_no_reseed kat32_t = {
940 1, kat32_entropyin, kat32_nonce, kat32_persstr,
941 kat32_addin0, kat32_addin1, kat32_retbits
943 static const struct drbg_kat kat32 = {
944 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat32_t
947 static const unsigned char kat33_entropyin[] = {
948 0x35, 0x19, 0x49, 0x15, 0x74, 0x71, 0x9d, 0xdb, 0x1f, 0x51, 0xb5, 0xf5,
949 0x9e, 0x21, 0xad, 0x3d,
951 static const unsigned char kat33_nonce[] = {
952 0xef, 0x1d, 0xbe, 0xae, 0x79, 0xf0, 0x89, 0x8b,
954 static const unsigned char kat33_persstr[] = {
955 0x7f, 0xdc, 0x21, 0xe3, 0x53, 0x24, 0x9e, 0x93, 0xdf, 0x98, 0xf2, 0x91,
956 0x02, 0xb9, 0xac, 0xec,
958 static const unsigned char kat33_addin0[] = {0};
959 static const unsigned char kat33_addin1[] = {0};
960 static const unsigned char kat33_retbits[] = {
961 0x19, 0x2c, 0x71, 0x85, 0x74, 0x47, 0xaf, 0x82, 0x01, 0x37, 0x06, 0xb8,
962 0xeb, 0x00, 0x8f, 0x8e, 0x2c, 0x2e, 0xb3, 0x99, 0x4a, 0x23, 0x8c, 0xf7,
963 0x39, 0xe1, 0x74, 0x60, 0xfe, 0x84, 0xef, 0x71, 0xca, 0x43, 0x7e, 0x8a,
964 0xcb, 0xb8, 0xd9, 0xd2, 0x88, 0x07, 0xc4, 0x7a, 0x5f, 0x03, 0x44, 0x42,
965 0xaa, 0xf3, 0xc2, 0xf3, 0xe7, 0xde, 0xbe, 0x53, 0x1b, 0xc3, 0x59, 0x60,
966 0x56, 0x68, 0x58, 0x48,
968 static const struct drbg_kat_no_reseed kat33_t = {
969 2, kat33_entropyin, kat33_nonce, kat33_persstr,
970 kat33_addin0, kat33_addin1, kat33_retbits
972 static const struct drbg_kat kat33 = {
973 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat33_t
976 static const unsigned char kat34_entropyin[] = {
977 0x68, 0xed, 0xc1, 0xc7, 0xf0, 0x4f, 0xa2, 0x2f, 0x75, 0x1b, 0x91, 0x8b,
978 0x01, 0x6b, 0xbf, 0xb5,
980 static const unsigned char kat34_nonce[] = {
981 0xa9, 0xb6, 0x7a, 0x39, 0x58, 0xf2, 0x02, 0xf0,
983 static const unsigned char kat34_persstr[] = {
984 0x9d, 0x6f, 0xbb, 0x02, 0x0e, 0x3d, 0x99, 0xd1, 0x95, 0xff, 0x46, 0x9f,
985 0x0a, 0xc0, 0xb8, 0xca,
987 static const unsigned char kat34_addin0[] = {0};
988 static const unsigned char kat34_addin1[] = {0};
989 static const unsigned char kat34_retbits[] = {
990 0xd9, 0x02, 0x89, 0xb1, 0xb6, 0x76, 0x3a, 0x76, 0x90, 0xfc, 0xb5, 0xd6,
991 0x7c, 0x81, 0xc2, 0x03, 0xa1, 0xcf, 0xb0, 0x88, 0x71, 0xb9, 0x4a, 0xf6,
992 0x51, 0xc4, 0xcd, 0x7e, 0xc2, 0xfa, 0x4b, 0x9d, 0x47, 0xc8, 0xe5, 0xfc,
993 0xc9, 0x9a, 0xff, 0xc2, 0x21, 0x43, 0xb6, 0x12, 0x70, 0x18, 0xe9, 0xe2,
994 0xc0, 0x91, 0x4f, 0x9d, 0x47, 0xa5, 0xa3, 0x0b, 0x26, 0xe7, 0x4d, 0xdc,
995 0x31, 0xa4, 0x48, 0x42,
997 static const struct drbg_kat_no_reseed kat34_t = {
998 3, kat34_entropyin, kat34_nonce, kat34_persstr,
999 kat34_addin0, kat34_addin1, kat34_retbits
1001 static const struct drbg_kat kat34 = {
1002 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat34_t
1005 static const unsigned char kat35_entropyin[] = {
1006 0x8e, 0x6b, 0xaf, 0x81, 0xa3, 0xf9, 0xe7, 0x32, 0xef, 0xb9, 0x65, 0xaf,
1007 0xa5, 0x9e, 0x71, 0xee,
1009 static const unsigned char kat35_nonce[] = {
1010 0x9a, 0x40, 0x36, 0xfe, 0x7f, 0xf2, 0x25, 0xb8,
1012 static const unsigned char kat35_persstr[] = {
1013 0xc5, 0x7e, 0x42, 0xad, 0x7a, 0xef, 0x53, 0x77, 0xfc, 0x4c, 0xd6, 0x20,
1014 0xd6, 0x31, 0xb0, 0x61,
1016 static const unsigned char kat35_addin0[] = {0};
1017 static const unsigned char kat35_addin1[] = {0};
1018 static const unsigned char kat35_retbits[] = {
1019 0x71, 0x39, 0xa2, 0xd6, 0x74, 0xee, 0xfe, 0x54, 0x08, 0x7a, 0x2d, 0xd5,
1020 0xf4, 0x97, 0xf5, 0xa1, 0xcb, 0x44, 0x44, 0x72, 0xe3, 0x64, 0x04, 0x5c,
1021 0xb9, 0x20, 0x2b, 0xce, 0x24, 0x58, 0x1b, 0x4b, 0x1b, 0x80, 0x3f, 0xa5,
1022 0xf4, 0xa9, 0xac, 0x6d, 0x66, 0x37, 0xbd, 0xd9, 0x06, 0xaf, 0x3d, 0x8f,
1023 0x49, 0xb5, 0xb8, 0x0f, 0x44, 0xcd, 0x16, 0xee, 0x5b, 0x1a, 0xe3, 0xbf,
1024 0x51, 0xb5, 0x98, 0xba,
1026 static const struct drbg_kat_no_reseed kat35_t = {
1027 4, kat35_entropyin, kat35_nonce, kat35_persstr,
1028 kat35_addin0, kat35_addin1, kat35_retbits
1030 static const struct drbg_kat kat35 = {
1031 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat35_t
1034 static const unsigned char kat36_entropyin[] = {
1035 0xf8, 0x99, 0x2f, 0x34, 0x0f, 0x90, 0xc8, 0xd8, 0x16, 0xb4, 0xbd, 0x8b,
1036 0x43, 0x5d, 0xa0, 0x35,
1038 static const unsigned char kat36_nonce[] = {
1039 0xfc, 0xf9, 0x44, 0x00, 0x6f, 0x29, 0x27, 0x98,
1041 static const unsigned char kat36_persstr[] = {
1042 0x56, 0x32, 0x23, 0x5e, 0x85, 0x2c, 0x07, 0x40, 0x09, 0xb4, 0x97, 0xed,
1043 0xa4, 0x38, 0xa1, 0x6f,
1045 static const unsigned char kat36_addin0[] = {0};
1046 static const unsigned char kat36_addin1[] = {0};
1047 static const unsigned char kat36_retbits[] = {
1048 0x9e, 0xab, 0x55, 0xfa, 0x4b, 0x2c, 0x1c, 0xfa, 0xc6, 0x3d, 0x4d, 0xe4,
1049 0x7a, 0xa8, 0xf5, 0x9f, 0x78, 0x5e, 0xe4, 0x90, 0xda, 0x44, 0xce, 0xe3,
1050 0x0f, 0x91, 0x61, 0xe9, 0x3a, 0xfc, 0x46, 0x1d, 0xad, 0x0e, 0x7f, 0x4a,
1051 0x06, 0x4e, 0x92, 0xef, 0xd6, 0x00, 0x89, 0x16, 0xc2, 0x2f, 0x83, 0x64,
1052 0xc1, 0x90, 0x46, 0x7a, 0xde, 0x12, 0xab, 0x4e, 0x18, 0xb1, 0xf3, 0x9c,
1053 0xe1, 0x8b, 0x35, 0x8a,
1055 static const struct drbg_kat_no_reseed kat36_t = {
1056 5, kat36_entropyin, kat36_nonce, kat36_persstr,
1057 kat36_addin0, kat36_addin1, kat36_retbits
1059 static const struct drbg_kat kat36 = {
1060 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat36_t
1063 static const unsigned char kat37_entropyin[] = {
1064 0x07, 0x43, 0x8f, 0x83, 0x53, 0xb7, 0xb0, 0x67, 0x42, 0x18, 0x31, 0x9e,
1065 0x29, 0x54, 0x0b, 0xca,
1067 static const unsigned char kat37_nonce[] = {
1068 0x41, 0x14, 0x77, 0x63, 0x6a, 0x50, 0x0c, 0x62,
1070 static const unsigned char kat37_persstr[] = {
1071 0xcf, 0x36, 0xf2, 0xaa, 0x72, 0xf2, 0xf3, 0x5e, 0x33, 0x5e, 0x65, 0xcf,
1072 0xd1, 0x7e, 0x2d, 0x3d,
1074 static const unsigned char kat37_addin0[] = {0};
1075 static const unsigned char kat37_addin1[] = {0};
1076 static const unsigned char kat37_retbits[] = {
1077 0x6c, 0xfa, 0xcf, 0xe4, 0x7a, 0xcf, 0x8f, 0x61, 0xd8, 0xaf, 0x3e, 0xd4,
1078 0xfb, 0xac, 0xef, 0x5c, 0xd7, 0x41, 0xac, 0x2f, 0x16, 0x5e, 0x15, 0xbd,
1079 0xaa, 0xb1, 0xd0, 0x30, 0xc6, 0x85, 0x67, 0x83, 0x7e, 0xf3, 0xda, 0x1e,
1080 0xc8, 0x3d, 0xa0, 0x42, 0x3c, 0xa3, 0x42, 0x4c, 0xf2, 0x93, 0xf6, 0x1f,
1081 0x71, 0x75, 0xfb, 0xa8, 0xe9, 0x1e, 0x5f, 0xdc, 0x8b, 0x39, 0x55, 0x77,
1082 0x73, 0x61, 0xd6, 0x90,
1084 static const struct drbg_kat_no_reseed kat37_t = {
1085 6, kat37_entropyin, kat37_nonce, kat37_persstr,
1086 kat37_addin0, kat37_addin1, kat37_retbits
1088 static const struct drbg_kat kat37 = {
1089 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat37_t
1092 static const unsigned char kat38_entropyin[] = {
1093 0x8e, 0x93, 0x73, 0x5c, 0x34, 0xae, 0x0c, 0x5e, 0xa5, 0x21, 0x3d, 0x83,
1094 0xa8, 0xda, 0x80, 0x45,
1096 static const unsigned char kat38_nonce[] = {
1097 0x2a, 0x0b, 0x27, 0x9a, 0x9d, 0x67, 0x78, 0x38,
1099 static const unsigned char kat38_persstr[] = {
1100 0x14, 0xf4, 0x52, 0x66, 0x52, 0x4a, 0x81, 0x52, 0x85, 0x7a, 0x83, 0x31,
1101 0x6a, 0x17, 0x75, 0x85,
1103 static const unsigned char kat38_addin0[] = {0};
1104 static const unsigned char kat38_addin1[] = {0};
1105 static const unsigned char kat38_retbits[] = {
1106 0xe0, 0x0c, 0xb8, 0x63, 0x6f, 0x96, 0x02, 0xc3, 0x30, 0x21, 0xa8, 0x2a,
1107 0x7f, 0x9d, 0xc9, 0xc7, 0x4e, 0xd3, 0x43, 0x5b, 0x34, 0x89, 0x7d, 0x6e,
1108 0xfd, 0x8c, 0x05, 0xf1, 0x77, 0xe8, 0x55, 0x6a, 0x44, 0x3b, 0xd1, 0x8c,
1109 0x20, 0xa5, 0x57, 0xb9, 0xbd, 0xc4, 0x17, 0xe8, 0x99, 0x85, 0x06, 0x48,
1110 0x50, 0x91, 0xd6, 0xbc, 0x91, 0x8e, 0x9c, 0xbf, 0xfb, 0xb8, 0x5c, 0x62,
1111 0x0f, 0x74, 0xc6, 0xec,
1113 static const struct drbg_kat_no_reseed kat38_t = {
1114 7, kat38_entropyin, kat38_nonce, kat38_persstr,
1115 kat38_addin0, kat38_addin1, kat38_retbits
1117 static const struct drbg_kat kat38 = {
1118 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat38_t
1121 static const unsigned char kat39_entropyin[] = {
1122 0xec, 0x6b, 0x87, 0xe9, 0xe0, 0x3f, 0x44, 0xf9, 0x19, 0xe4, 0x0e, 0x1d,
1123 0xac, 0x02, 0xf8, 0x73,
1125 static const unsigned char kat39_nonce[] = {
1126 0x5e, 0x9a, 0xc5, 0x09, 0x0a, 0x5e, 0x28, 0x97,
1128 static const unsigned char kat39_persstr[] = {
1129 0x0d, 0x9b, 0xa4, 0x62, 0xbf, 0x16, 0x6f, 0x3b, 0x36, 0x6a, 0x2a, 0xdf,
1130 0x55, 0xd2, 0x76, 0x45,
1132 static const unsigned char kat39_addin0[] = {0};
1133 static const unsigned char kat39_addin1[] = {0};
1134 static const unsigned char kat39_retbits[] = {
1135 0xec, 0x37, 0xac, 0xbd, 0xdf, 0xb0, 0x41, 0xe4, 0x24, 0x9c, 0x1c, 0xb9,
1136 0x83, 0x3a, 0x31, 0xfc, 0x6f, 0xbd, 0xaa, 0x66, 0x58, 0xe4, 0xb7, 0x48,
1137 0xc0, 0xeb, 0xf6, 0xab, 0x54, 0xa3, 0xb9, 0xc0, 0xf6, 0x2d, 0x7c, 0x89,
1138 0xdb, 0xb2, 0x1d, 0x1d, 0xe1, 0x33, 0x15, 0xcb, 0xae, 0x2f, 0xf4, 0xf5,
1139 0x46, 0x24, 0x91, 0x32, 0x1f, 0xbe, 0x04, 0xb4, 0x14, 0xfb, 0xa2, 0x80,
1140 0x7e, 0xd9, 0x14, 0xee,
1142 static const struct drbg_kat_no_reseed kat39_t = {
1143 8, kat39_entropyin, kat39_nonce, kat39_persstr,
1144 kat39_addin0, kat39_addin1, kat39_retbits
1146 static const struct drbg_kat kat39 = {
1147 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat39_t
1150 static const unsigned char kat40_entropyin[] = {
1151 0x9d, 0x28, 0x2f, 0x5a, 0x0c, 0x15, 0xa6, 0x53, 0x04, 0x73, 0x10, 0xb5,
1152 0x62, 0x7d, 0x8f, 0xa2,
1154 static const unsigned char kat40_nonce[] = {
1155 0x55, 0x22, 0xc4, 0x2f, 0x4b, 0xb0, 0x76, 0xdc,
1157 static const unsigned char kat40_persstr[] = {
1158 0x84, 0x6b, 0x2e, 0x17, 0xb0, 0x62, 0xc4, 0xc7, 0xc5, 0x61, 0x94, 0x3b,
1159 0x5d, 0x97, 0x56, 0x5d,
1161 static const unsigned char kat40_addin0[] = {0};
1162 static const unsigned char kat40_addin1[] = {0};
1163 static const unsigned char kat40_retbits[] = {
1164 0x45, 0xf6, 0x0e, 0x1b, 0xa9, 0x81, 0xaf, 0x7f, 0x52, 0xef, 0x49, 0x39,
1165 0xc0, 0xbb, 0x0b, 0xdb, 0x6f, 0xe4, 0x6f, 0x37, 0x2c, 0xc6, 0x48, 0x06,
1166 0x4b, 0xbd, 0x3a, 0x0a, 0x2b, 0x85, 0xc0, 0x23, 0x91, 0xb2, 0x97, 0x92,
1167 0xcc, 0x88, 0x05, 0xbb, 0x5d, 0x45, 0x3e, 0xe2, 0x90, 0xcd, 0x1b, 0x9c,
1168 0x9f, 0x8f, 0x20, 0xb0, 0x91, 0x16, 0xaf, 0x1f, 0xd5, 0xec, 0xea, 0xe8,
1169 0x0d, 0x03, 0x58, 0xd8,
1171 static const struct drbg_kat_no_reseed kat40_t = {
1172 9, kat40_entropyin, kat40_nonce, kat40_persstr,
1173 kat40_addin0, kat40_addin1, kat40_retbits
1175 static const struct drbg_kat kat40 = {
1176 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat40_t
1179 static const unsigned char kat41_entropyin[] = {
1180 0x83, 0x82, 0x7c, 0x08, 0x52, 0x4b, 0x54, 0xe8, 0x0f, 0x60, 0xe1, 0x86,
1181 0xcf, 0xce, 0x36, 0xdb,
1183 static const unsigned char kat41_nonce[] = {
1184 0x17, 0x7e, 0x5c, 0x00, 0xf7, 0x85, 0xa6, 0xf9,
1186 static const unsigned char kat41_persstr[] = {
1187 0x71, 0x75, 0xa2, 0xc2, 0x2e, 0xab, 0x4d, 0x0b, 0x1a, 0x65, 0xfd, 0xad,
1188 0xed, 0x35, 0x6a, 0xeb,
1190 static const unsigned char kat41_addin0[] = {0};
1191 static const unsigned char kat41_addin1[] = {0};
1192 static const unsigned char kat41_retbits[] = {
1193 0x84, 0x24, 0xe7, 0x6c, 0x73, 0x6c, 0x03, 0x09, 0x42, 0x3c, 0xf4, 0x8d,
1194 0xc1, 0x05, 0xfe, 0xef, 0x22, 0x8d, 0xd4, 0x7b, 0xfd, 0x8d, 0x33, 0x80,
1195 0x19, 0x50, 0xd2, 0x10, 0x2d, 0x5d, 0xba, 0xfb, 0x51, 0xe1, 0xa8, 0x5b,
1196 0x4a, 0x97, 0x1e, 0x4f, 0x0b, 0x9d, 0x52, 0x65, 0x69, 0x73, 0xdb, 0x45,
1197 0x5b, 0x28, 0x6f, 0x58, 0x8c, 0xa6, 0x1d, 0x15, 0x99, 0xc4, 0xec, 0x60,
1198 0xdd, 0x80, 0xbe, 0x98,
1200 static const struct drbg_kat_no_reseed kat41_t = {
1201 10, kat41_entropyin, kat41_nonce, kat41_persstr,
1202 kat41_addin0, kat41_addin1, kat41_retbits
1204 static const struct drbg_kat kat41 = {
1205 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat41_t
1208 static const unsigned char kat42_entropyin[] = {
1209 0x9f, 0x32, 0x13, 0xa2, 0xd6, 0xfe, 0x5f, 0x3d, 0xfa, 0xf0, 0xe4, 0xed,
1210 0x29, 0x2e, 0x0f, 0x2a,
1212 static const unsigned char kat42_nonce[] = {
1213 0xf9, 0xc0, 0x55, 0x3b, 0x18, 0xb2, 0x1c, 0xc3,
1215 static const unsigned char kat42_persstr[] = {
1216 0x21, 0x73, 0xd3, 0x9b, 0x37, 0x55, 0x04, 0x19, 0x11, 0x98, 0x9f, 0x89,
1217 0xf1, 0xe9, 0x5d, 0x3e,
1219 static const unsigned char kat42_addin0[] = {0};
1220 static const unsigned char kat42_addin1[] = {0};
1221 static const unsigned char kat42_retbits[] = {
1222 0x10, 0x45, 0xf7, 0xb5, 0x36, 0xda, 0xb4, 0xde, 0x01, 0x54, 0x48, 0xac,
1223 0x47, 0x66, 0x18, 0x8a, 0x36, 0x7b, 0xb6, 0x93, 0x97, 0x91, 0x3d, 0xfd,
1224 0x3d, 0x5b, 0xbf, 0x83, 0xf1, 0xbb, 0xac, 0x73, 0x23, 0x2d, 0x47, 0x64,
1225 0x4e, 0x5a, 0x9c, 0x16, 0x99, 0x60, 0x58, 0x1e, 0x4a, 0xd5, 0xed, 0x26,
1226 0x95, 0x36, 0x0b, 0x94, 0xf4, 0x20, 0x9c, 0x77, 0xd7, 0x69, 0x40, 0x16,
1227 0xb4, 0xb3, 0x97, 0xc2,
1229 static const struct drbg_kat_no_reseed kat42_t = {
1230 11, kat42_entropyin, kat42_nonce, kat42_persstr,
1231 kat42_addin0, kat42_addin1, kat42_retbits
1233 static const struct drbg_kat kat42 = {
1234 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat42_t
1237 static const unsigned char kat43_entropyin[] = {
1238 0xfb, 0xc8, 0x19, 0x90, 0x74, 0xa7, 0x6f, 0x23, 0x68, 0x86, 0x36, 0xae,
1239 0x31, 0x14, 0x28, 0x1e,
1241 static const unsigned char kat43_nonce[] = {
1242 0xeb, 0xc2, 0x2e, 0x95, 0xdd, 0xae, 0xb6, 0xfc,
1244 static const unsigned char kat43_persstr[] = {
1245 0x71, 0xfb, 0xd5, 0x9f, 0x88, 0xfc, 0x99, 0xa9, 0xb6, 0x07, 0x00, 0x27,
1246 0xe7, 0x35, 0x41, 0xc2,
1248 static const unsigned char kat43_addin0[] = {0};
1249 static const unsigned char kat43_addin1[] = {0};
1250 static const unsigned char kat43_retbits[] = {
1251 0x87, 0x25, 0x66, 0xa7, 0x00, 0x47, 0x98, 0xe0, 0x06, 0x97, 0xbd, 0xb3,
1252 0x3a, 0xf1, 0xee, 0x7a, 0x07, 0x6e, 0x9f, 0xd2, 0x89, 0xaf, 0x83, 0xaf,
1253 0xcb, 0x10, 0xa0, 0x25, 0x2b, 0xb5, 0xc1, 0x06, 0xc8, 0xdd, 0x20, 0xd7,
1254 0x7c, 0x85, 0x9f, 0x14, 0x01, 0x11, 0x8c, 0x24, 0xf5, 0xa8, 0x96, 0x8f,
1255 0x11, 0xfa, 0x9f, 0x77, 0x78, 0xc2, 0x80, 0x31, 0x89, 0xc8, 0xda, 0x87,
1256 0xe6, 0x49, 0x45, 0xc8,
1258 static const struct drbg_kat_no_reseed kat43_t = {
1259 12, kat43_entropyin, kat43_nonce, kat43_persstr,
1260 kat43_addin0, kat43_addin1, kat43_retbits
1262 static const struct drbg_kat kat43 = {
1263 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat43_t
1266 static const unsigned char kat44_entropyin[] = {
1267 0x43, 0xf4, 0xd0, 0x89, 0x06, 0x0c, 0x90, 0x7f, 0x38, 0x76, 0x05, 0x1f,
1268 0xd5, 0xe3, 0x6f, 0x74,
1270 static const unsigned char kat44_nonce[] = {
1271 0x45, 0x71, 0xe6, 0x61, 0x5b, 0xa3, 0xbb, 0xce,
1273 static const unsigned char kat44_persstr[] = {
1274 0xfc, 0x90, 0x57, 0x74, 0x9b, 0xa4, 0x37, 0xd8, 0xfb, 0xe9, 0xf8, 0x1d,
1275 0x29, 0xdf, 0x5e, 0xf1,
1277 static const unsigned char kat44_addin0[] = {0};
1278 static const unsigned char kat44_addin1[] = {0};
1279 static const unsigned char kat44_retbits[] = {
1280 0x90, 0x78, 0xf1, 0xbc, 0x92, 0x91, 0x0e, 0xbc, 0xf8, 0xe3, 0x17, 0x57,
1281 0xb6, 0x24, 0xbd, 0x23, 0xdb, 0xcd, 0x74, 0xf9, 0xca, 0x70, 0xff, 0x1c,
1282 0x6f, 0x2b, 0x21, 0xd8, 0x59, 0xa4, 0xe8, 0xa4, 0xe9, 0x96, 0x3e, 0xf1,
1283 0x32, 0xa0, 0x25, 0xb3, 0xae, 0x28, 0x5b, 0x43, 0xa6, 0x96, 0x98, 0x90,
1284 0x0d, 0x4f, 0x8a, 0x30, 0xbb, 0x5e, 0x99, 0x29, 0x0e, 0x45, 0x04, 0x16,
1285 0x19, 0x97, 0xa8, 0x37,
1287 static const struct drbg_kat_no_reseed kat44_t = {
1288 13, kat44_entropyin, kat44_nonce, kat44_persstr,
1289 kat44_addin0, kat44_addin1, kat44_retbits
1291 static const struct drbg_kat kat44 = {
1292 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat44_t
1295 static const unsigned char kat45_entropyin[] = {
1296 0x0e, 0xe3, 0x8e, 0xa2, 0x9d, 0x71, 0x95, 0x00, 0x3e, 0x2b, 0x94, 0x2a,
1297 0xbf, 0x13, 0x48, 0xfc,
1299 static const unsigned char kat45_nonce[] = {
1300 0x80, 0xa7, 0x5c, 0x77, 0xce, 0xff, 0x54, 0xe4,
1302 static const unsigned char kat45_persstr[] = {
1303 0x83, 0x8e, 0xae, 0xbc, 0x98, 0x2c, 0xaa, 0x15, 0x62, 0xc3, 0x06, 0x4c,
1304 0xce, 0x42, 0xe5, 0x1e,
1306 static const unsigned char kat45_addin0[] = {0};
1307 static const unsigned char kat45_addin1[] = {0};
1308 static const unsigned char kat45_retbits[] = {
1309 0x66, 0x29, 0x1b, 0x86, 0x85, 0xe9, 0x7c, 0x76, 0xe2, 0x21, 0x6d, 0x70,
1310 0x8b, 0x40, 0x70, 0x22, 0x68, 0x4b, 0x28, 0x29, 0x1f, 0x3d, 0xc7, 0x1b,
1311 0x5d, 0x60, 0xde, 0x14, 0x3f, 0x5f, 0xdf, 0x0b, 0xb0, 0x7a, 0xe9, 0xd7,
1312 0x52, 0x44, 0x56, 0xc4, 0xdf, 0xd0, 0x89, 0xea, 0x88, 0xde, 0x86, 0xdd,
1313 0xfa, 0x1d, 0x48, 0xca, 0x54, 0x2f, 0x00, 0xfa, 0x58, 0x6d, 0xa7, 0xa6,
1314 0x02, 0x7d, 0x83, 0x7b,
1316 static const struct drbg_kat_no_reseed kat45_t = {
1317 14, kat45_entropyin, kat45_nonce, kat45_persstr,
1318 kat45_addin0, kat45_addin1, kat45_retbits
1320 static const struct drbg_kat kat45 = {
1321 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat45_t
1324 static const unsigned char kat46_entropyin[] = {
1325 0xca, 0xe4, 0x8d, 0xd8, 0x0d, 0x29, 0x81, 0x03, 0xef, 0x1e, 0xc0, 0xbf,
1326 0x1b, 0xb9, 0x62, 0x70,
1328 static const unsigned char kat46_nonce[] = {
1329 0xd8, 0x27, 0xf9, 0x16, 0x13, 0xe0, 0xb4, 0x7f,
1331 static const unsigned char kat46_persstr[] = {
1332 0xcc, 0x92, 0x8f, 0x3d, 0x2d, 0xf3, 0x1a, 0x29, 0xf4, 0xe4, 0x44, 0xf3,
1333 0xdf, 0x08, 0xbe, 0x21,
1335 static const unsigned char kat46_addin0[] = {
1336 0x7e, 0xaa, 0x1b, 0xbe, 0xc7, 0x93, 0x93, 0xa7, 0xf4, 0xa8, 0x22, 0x7b,
1337 0x69, 0x1e, 0xcb, 0x68,
1339 static const unsigned char kat46_addin1[] = {
1340 0x68, 0x69, 0xc6, 0xc7, 0xb9, 0xe6, 0x65, 0x3b, 0x39, 0x77, 0xf0, 0x78,
1341 0x9e, 0x94, 0x47, 0x8a,
1343 static const unsigned char kat46_retbits[] = {
1344 0x92, 0x01, 0x32, 0xcd, 0x28, 0x46, 0x95, 0xb8, 0x68, 0xb5, 0xbc, 0x4b,
1345 0x70, 0x3a, 0xfe, 0xa4, 0xd9, 0x96, 0x62, 0x4a, 0x8f, 0x57, 0xe9, 0xfb,
1346 0xf5, 0xe7, 0x93, 0xb5, 0x09, 0xcb, 0x15, 0xb4, 0xbe, 0xaf, 0x70, 0x2d,
1347 0xac, 0x28, 0x71, 0x2d, 0x24, 0x9a, 0xe7, 0x50, 0x90, 0xa9, 0x1f, 0xd3,
1348 0x57, 0x75, 0x29, 0x4b, 0xf2, 0x4d, 0xde, 0xbf, 0xd2, 0x4e, 0x45, 0xd1,
1349 0x3f, 0x4a, 0x17, 0x48,
1351 static const struct drbg_kat_no_reseed kat46_t = {
1352 0, kat46_entropyin, kat46_nonce, kat46_persstr,
1353 kat46_addin0, kat46_addin1, kat46_retbits
1355 static const struct drbg_kat kat46 = {
1356 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat46_t
1359 static const unsigned char kat47_entropyin[] = {
1360 0xc0, 0x70, 0x1f, 0x92, 0x50, 0x75, 0x8f, 0xcd, 0xf2, 0xbe, 0x73, 0x98,
1361 0x80, 0xdb, 0x66, 0xeb,
1363 static const unsigned char kat47_nonce[] = {
1364 0x14, 0x68, 0xb4, 0xa5, 0x87, 0x9c, 0x2d, 0xa6,
1366 static const unsigned char kat47_persstr[] = {
1367 0x80, 0x08, 0xae, 0xe8, 0xe9, 0x69, 0x40, 0xc5, 0x08, 0x73, 0xc7, 0x9f,
1368 0x8e, 0xcf, 0xe0, 0x02,
1370 static const unsigned char kat47_addin0[] = {
1371 0xf9, 0x01, 0xf8, 0x16, 0x7a, 0x1d, 0xff, 0xde, 0x8e, 0x3c, 0x83, 0xe2,
1372 0x44, 0x85, 0xe7, 0xfe,
1374 static const unsigned char kat47_addin1[] = {
1375 0x17, 0x1c, 0x09, 0x38, 0xc2, 0x38, 0x9f, 0x97, 0x87, 0x60, 0x55, 0xb4,
1376 0x82, 0x16, 0x62, 0x7f,
1378 static const unsigned char kat47_retbits[] = {
1379 0x97, 0xc0, 0xc0, 0xe5, 0xa0, 0xcc, 0xf2, 0x4f, 0x33, 0x63, 0x48, 0x8a,
1380 0xdb, 0x13, 0x0a, 0x35, 0x89, 0xbf, 0x80, 0x65, 0x62, 0xee, 0x13, 0x95,
1381 0x7c, 0x33, 0xd3, 0x7d, 0xf4, 0x07, 0x77, 0x7a, 0x2b, 0x65, 0x0b, 0x5f,
1382 0x45, 0x5c, 0x13, 0xf1, 0x90, 0x77, 0x7f, 0xc5, 0x04, 0x3f, 0xcc, 0x1a,
1383 0x38, 0xf8, 0xcd, 0x1b, 0xbb, 0xd5, 0x57, 0xd1, 0x4a, 0x4c, 0x2e, 0x8a,
1384 0x2b, 0x49, 0x1e, 0x5c,
1386 static const struct drbg_kat_no_reseed kat47_t = {
1387 1, kat47_entropyin, kat47_nonce, kat47_persstr,
1388 kat47_addin0, kat47_addin1, kat47_retbits
1390 static const struct drbg_kat kat47 = {
1391 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat47_t
1394 static const unsigned char kat48_entropyin[] = {
1395 0x6b, 0x98, 0x53, 0x2d, 0x67, 0x8f, 0xd2, 0x79, 0xcf, 0x73, 0x7c, 0x58,
1396 0x15, 0x0c, 0xe5, 0x89,
1398 static const unsigned char kat48_nonce[] = {
1399 0xca, 0x55, 0x45, 0x07, 0x3d, 0x54, 0x9d, 0x06,
1401 static const unsigned char kat48_persstr[] = {
1402 0x80, 0x90, 0x8a, 0xc1, 0x34, 0xe0, 0xcd, 0x23, 0xef, 0x7e, 0x31, 0x85,
1403 0x48, 0xf9, 0x21, 0x91,
1405 static const unsigned char kat48_addin0[] = {
1406 0x53, 0x79, 0x0d, 0xa9, 0x09, 0xbf, 0xde, 0xed, 0xaa, 0xfd, 0x99, 0x61,
1407 0x9f, 0x3f, 0x46, 0x1b,
1409 static const unsigned char kat48_addin1[] = {
1410 0xc7, 0xa5, 0x87, 0x77, 0xd1, 0xfb, 0xd1, 0x55, 0x3e, 0x95, 0x46, 0xc8,
1411 0x3e, 0x40, 0x9f, 0xc2,
1413 static const unsigned char kat48_retbits[] = {
1414 0xd9, 0x84, 0xa2, 0x40, 0x58, 0x87, 0x39, 0x02, 0x27, 0x94, 0x09, 0x59,
1415 0xe4, 0x9f, 0x94, 0x4e, 0x49, 0x04, 0xc4, 0xf0, 0x46, 0x7f, 0xf2, 0x4d,
1416 0x87, 0x64, 0xdb, 0x91, 0x53, 0x0a, 0x1e, 0x59, 0x65, 0x68, 0x84, 0x72,
1417 0xfa, 0xc1, 0x31, 0xbe, 0xa0, 0x55, 0xc7, 0x15, 0x12, 0x27, 0xe2, 0xfc,
1418 0xb0, 0xda, 0xd9, 0x65, 0x5e, 0xc3, 0xac, 0x22, 0xcd, 0x7d, 0xff, 0x72,
1419 0xf6, 0xc7, 0x4a, 0xa0,
1421 static const struct drbg_kat_no_reseed kat48_t = {
1422 2, kat48_entropyin, kat48_nonce, kat48_persstr,
1423 kat48_addin0, kat48_addin1, kat48_retbits
1425 static const struct drbg_kat kat48 = {
1426 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat48_t
1429 static const unsigned char kat49_entropyin[] = {
1430 0x97, 0x51, 0x6e, 0x48, 0xd9, 0x10, 0x37, 0x2a, 0x3f, 0x1f, 0xb4, 0xaa,
1431 0x7a, 0xe4, 0x93, 0x0f,
1433 static const unsigned char kat49_nonce[] = {
1434 0xbb, 0xa3, 0x0b, 0x3d, 0xeb, 0x19, 0x33, 0x89,
1436 static const unsigned char kat49_persstr[] = {
1437 0x8c, 0x0e, 0x3e, 0x71, 0xc8, 0x20, 0x1a, 0x77, 0x10, 0x55, 0x19, 0xdf,
1438 0xfa, 0x89, 0xc1, 0xaa,
1440 static const unsigned char kat49_addin0[] = {
1441 0x0a, 0x18, 0x78, 0x7e, 0x46, 0x50, 0xfa, 0x02, 0x49, 0xf7, 0x79, 0x62,
1442 0xac, 0x15, 0x8c, 0x63,
1444 static const unsigned char kat49_addin1[] = {
1445 0x2f, 0xb1, 0x92, 0x31, 0x4c, 0x3e, 0x07, 0xf9, 0x63, 0xfb, 0xa3, 0x4d,
1446 0x8d, 0xfc, 0x8c, 0x9c,
1448 static const unsigned char kat49_retbits[] = {
1449 0xd7, 0xb7, 0x3e, 0x44, 0x9a, 0xed, 0x8f, 0x0a, 0x06, 0x93, 0x84, 0x83,
1450 0xe8, 0x78, 0x11, 0x04, 0x9b, 0x4a, 0xcf, 0xe5, 0x1c, 0xa5, 0x55, 0xf1,
1451 0xee, 0x97, 0x86, 0xe3, 0x3f, 0xce, 0x90, 0x69, 0x7d, 0xb6, 0x8d, 0x2d,
1452 0xc6, 0x36, 0x1c, 0x94, 0x2c, 0xf6, 0x7d, 0x89, 0x26, 0x19, 0x49, 0x7e,
1453 0x96, 0x19, 0x43, 0x32, 0xae, 0x32, 0xa6, 0x35, 0xcf, 0x35, 0x5b, 0xbc,
1454 0x3c, 0x66, 0x79, 0x55,
1456 static const struct drbg_kat_no_reseed kat49_t = {
1457 3, kat49_entropyin, kat49_nonce, kat49_persstr,
1458 kat49_addin0, kat49_addin1, kat49_retbits
1460 static const struct drbg_kat kat49 = {
1461 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat49_t
1464 static const unsigned char kat50_entropyin[] = {
1465 0x62, 0xce, 0xf3, 0x5a, 0x51, 0x8e, 0xf6, 0x52, 0x0b, 0x6e, 0xdb, 0x1a,
1466 0xa9, 0xa2, 0x14, 0x96,
1468 static const unsigned char kat50_nonce[] = {
1469 0x2b, 0x98, 0xe2, 0x69, 0xf5, 0x1f, 0xb3, 0xba,
1471 static const unsigned char kat50_persstr[] = {
1472 0x89, 0xa6, 0xc9, 0x11, 0x27, 0x13, 0xd0, 0xd1, 0x96, 0xc8, 0xe0, 0x26,
1473 0x60, 0xa2, 0x51, 0x31,
1475 static const unsigned char kat50_addin0[] = {
1476 0x35, 0xed, 0xb8, 0x77, 0x01, 0xcb, 0x50, 0x01, 0x43, 0x4d, 0xb1, 0x85,
1477 0x7b, 0xf9, 0x8e, 0xfb,
1479 static const unsigned char kat50_addin1[] = {
1480 0xa9, 0xfa, 0x53, 0xb5, 0xd3, 0x03, 0x2e, 0x4b, 0xe6, 0x0d, 0xcd, 0xb1,
1481 0xe9, 0x4b, 0x4f, 0x50,
1483 static const unsigned char kat50_retbits[] = {
1484 0xde, 0x8b, 0x77, 0x0b, 0x3e, 0xd4, 0x33, 0x15, 0xab, 0x7e, 0x83, 0x31,
1485 0xe2, 0xdf, 0x12, 0xcb, 0x9a, 0xbe, 0xb3, 0xf6, 0xb1, 0x4c, 0x45, 0x7a,
1486 0x30, 0x4b, 0xcd, 0x1d, 0xf7, 0x30, 0xdb, 0x52, 0xd4, 0xb4, 0x02, 0xf7,
1487 0x8b, 0x80, 0x54, 0x59, 0x65, 0xfc, 0x5a, 0x83, 0xdd, 0xf9, 0x99, 0x63,
1488 0xaa, 0xb5, 0xe1, 0xb3, 0x79, 0x24, 0x57, 0xdf, 0x4b, 0xf9, 0x27, 0xb6,
1489 0x6a, 0x4d, 0x67, 0x45,
1491 static const struct drbg_kat_no_reseed kat50_t = {
1492 4, kat50_entropyin, kat50_nonce, kat50_persstr,
1493 kat50_addin0, kat50_addin1, kat50_retbits
1495 static const struct drbg_kat kat50 = {
1496 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat50_t
1499 static const unsigned char kat51_entropyin[] = {
1500 0xc0, 0x2a, 0xf7, 0x05, 0xf6, 0x99, 0xc3, 0xa7, 0xf5, 0xe2, 0xbb, 0x9b,
1501 0x14, 0xc7, 0xce, 0xa7,
1503 static const unsigned char kat51_nonce[] = {
1504 0xeb, 0x24, 0x6b, 0x26, 0xa3, 0xa0, 0xa1, 0x0b,
1506 static const unsigned char kat51_persstr[] = {
1507 0x07, 0xdf, 0x3d, 0x3d, 0x48, 0x6b, 0xbe, 0x68, 0x19, 0x04, 0x40, 0x94,
1508 0xc9, 0x15, 0x89, 0x99,
1510 static const unsigned char kat51_addin0[] = {
1511 0xf4, 0x9d, 0x27, 0x9f, 0x04, 0x81, 0x5d, 0x98, 0x30, 0x92, 0xb6, 0xb5,
1512 0xfe, 0x4f, 0x10, 0xf7,
1514 static const unsigned char kat51_addin1[] = {
1515 0xd7, 0x66, 0x07, 0x00, 0x64, 0xdf, 0xe2, 0x03, 0xb2, 0xa3, 0x9d, 0x1b,
1516 0x24, 0x75, 0x84, 0x10,
1518 static const unsigned char kat51_retbits[] = {
1519 0xdd, 0xbb, 0x48, 0x8c, 0x6b, 0x6f, 0x0f, 0x9c, 0xb7, 0x05, 0xa3, 0xc5,
1520 0xab, 0x13, 0xc3, 0x17, 0x6f, 0x86, 0x7b, 0x12, 0x0c, 0x29, 0xdb, 0x37,
1521 0xf7, 0x9c, 0x00, 0x23, 0x8a, 0x77, 0xa0, 0x41, 0x45, 0x04, 0xd3, 0x28,
1522 0x93, 0xa0, 0x8c, 0x7e, 0x99, 0xc2, 0xb1, 0xa8, 0x8d, 0x50, 0x92, 0x2e,
1523 0x52, 0xb0, 0xdf, 0x56, 0x0b, 0x75, 0x3a, 0xdd, 0x48, 0x60, 0x4c, 0xaa,
1524 0xbb, 0xb9, 0x75, 0x2f,
1526 static const struct drbg_kat_no_reseed kat51_t = {
1527 5, kat51_entropyin, kat51_nonce, kat51_persstr,
1528 kat51_addin0, kat51_addin1, kat51_retbits
1530 static const struct drbg_kat kat51 = {
1531 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat51_t
1534 static const unsigned char kat52_entropyin[] = {
1535 0x56, 0x6f, 0xc3, 0x38, 0x98, 0x5a, 0x8f, 0xc8, 0x67, 0xda, 0xbe, 0x24,
1536 0xf7, 0xf9, 0x09, 0x7d,
1538 static const unsigned char kat52_nonce[] = {
1539 0xdb, 0xf7, 0x1d, 0x79, 0x17, 0xe0, 0xb1, 0x51,
1541 static const unsigned char kat52_persstr[] = {
1542 0x66, 0x56, 0x94, 0x18, 0x17, 0xa6, 0x15, 0xe2, 0x9f, 0x62, 0xbd, 0x4f,
1543 0x1d, 0x93, 0xcb, 0x11,
1545 static const unsigned char kat52_addin0[] = {
1546 0xa2, 0x74, 0xbe, 0x52, 0x97, 0x46, 0xbd, 0x0b, 0x6a, 0x58, 0x73, 0xdc,
1547 0x3c, 0x1d, 0xae, 0xbc,
1549 static const unsigned char kat52_addin1[] = {
1550 0x4e, 0x23, 0xfa, 0x29, 0xd2, 0x6b, 0x1f, 0xe9, 0x2b, 0xb4, 0x2b, 0x3e,
1551 0x9f, 0x2b, 0x4c, 0x08,
1553 static const unsigned char kat52_retbits[] = {
1554 0xb5, 0xda, 0x60, 0xb8, 0x70, 0x22, 0x6a, 0x48, 0xb2, 0xb9, 0xb5, 0xd9,
1555 0xa9, 0x46, 0x49, 0x54, 0xa8, 0xdb, 0x0d, 0x3e, 0x5f, 0xb3, 0x06, 0x3c,
1556 0x80, 0xe6, 0x75, 0x19, 0x7d, 0xc5, 0x84, 0x07, 0xb4, 0xc0, 0x40, 0x9c,
1557 0xd0, 0x69, 0x75, 0xed, 0xa8, 0xaf, 0xe6, 0x66, 0x7a, 0xa0, 0xd7, 0x9e,
1558 0xcf, 0x55, 0x5e, 0x23, 0x8f, 0x83, 0x42, 0x4f, 0x13, 0x08, 0x19, 0x20,
1559 0x0c, 0x24, 0x4a, 0x77,
1561 static const struct drbg_kat_no_reseed kat52_t = {
1562 6, kat52_entropyin, kat52_nonce, kat52_persstr,
1563 kat52_addin0, kat52_addin1, kat52_retbits
1565 static const struct drbg_kat kat52 = {
1566 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat52_t
1569 static const unsigned char kat53_entropyin[] = {
1570 0x67, 0x43, 0xbc, 0x12, 0x2a, 0xaa, 0x13, 0x4f, 0x82, 0xac, 0x8c, 0x78,
1571 0xcc, 0x0b, 0x64, 0xe7,
1573 static const unsigned char kat53_nonce[] = {
1574 0x2d, 0xc3, 0x2e, 0x4f, 0x3b, 0xba, 0x5a, 0x20,
1576 static const unsigned char kat53_persstr[] = {
1577 0xb8, 0x07, 0x7f, 0x23, 0xa9, 0x08, 0xc4, 0x25, 0x92, 0xc1, 0x3b, 0x63,
1578 0x89, 0x09, 0x98, 0xd0,
1580 static const unsigned char kat53_addin0[] = {
1581 0xd6, 0x83, 0x74, 0xf5, 0x8c, 0xe2, 0x5b, 0xd8, 0xe9, 0x5f, 0xe0, 0x6d,
1582 0xe8, 0xa9, 0x50, 0xa1,
1584 static const unsigned char kat53_addin1[] = {
1585 0x07, 0xb7, 0xab, 0x9c, 0x32, 0xa9, 0x78, 0x30, 0xa0, 0x0e, 0xd9, 0x89,
1586 0x5e, 0x3b, 0xbe, 0x19,
1588 static const unsigned char kat53_retbits[] = {
1589 0xfe, 0x82, 0x7f, 0x53, 0x07, 0x6d, 0xf3, 0x08, 0x47, 0xd0, 0xfb, 0x0f,
1590 0x55, 0xa2, 0xcd, 0x63, 0x81, 0xca, 0x0e, 0x79, 0xe6, 0x81, 0x62, 0x1f,
1591 0x49, 0xf3, 0x1e, 0x48, 0x11, 0xe9, 0xa6, 0x4c, 0x57, 0xc0, 0x99, 0x4f,
1592 0x18, 0x0c, 0x31, 0x1a, 0x40, 0x44, 0x40, 0xf2, 0x77, 0xfa, 0x62, 0xe0,
1593 0xf9, 0x9c, 0x6f, 0x5c, 0x7b, 0x88, 0xbe, 0xe2, 0x07, 0xfc, 0xa9, 0x92,
1594 0x6b, 0xfc, 0x9e, 0x46,
1596 static const struct drbg_kat_no_reseed kat53_t = {
1597 7, kat53_entropyin, kat53_nonce, kat53_persstr,
1598 kat53_addin0, kat53_addin1, kat53_retbits
1600 static const struct drbg_kat kat53 = {
1601 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat53_t
1604 static const unsigned char kat54_entropyin[] = {
1605 0xf2, 0xad, 0xdf, 0x01, 0x67, 0xa1, 0x6d, 0xa3, 0x8d, 0x2f, 0xd7, 0x92,
1606 0xa7, 0x18, 0x9c, 0x06,
1608 static const unsigned char kat54_nonce[] = {
1609 0x2b, 0x50, 0xd8, 0xcc, 0x7f, 0x71, 0x40, 0x1c,
1611 static const unsigned char kat54_persstr[] = {
1612 0xb9, 0x17, 0xa5, 0x4c, 0x13, 0xd5, 0x8c, 0xb6, 0xad, 0x47, 0xc8, 0xfa,
1613 0xf6, 0xf9, 0xa7, 0xf5,
1615 static const unsigned char kat54_addin0[] = {
1616 0xcf, 0x2e, 0x78, 0x5a, 0x06, 0xbc, 0x5e, 0xb7, 0x1e, 0x3b, 0x52, 0x4f,
1617 0x11, 0x72, 0xc7, 0x55,
1619 static const unsigned char kat54_addin1[] = {
1620 0xc9, 0xa7, 0x53, 0xa9, 0xce, 0xdd, 0xd7, 0x5d, 0x1a, 0x62, 0x6d, 0xa7,
1621 0x27, 0x95, 0xa3, 0xc6,
1623 static const unsigned char kat54_retbits[] = {
1624 0xe2, 0xaa, 0xf1, 0x1c, 0x20, 0xde, 0x2b, 0xaf, 0x89, 0x23, 0x04, 0x1d,
1625 0x83, 0x8f, 0x4a, 0xcb, 0x38, 0xe2, 0x22, 0xd3, 0x06, 0xb9, 0x7c, 0x97,
1626 0xbf, 0xe5, 0x46, 0x61, 0x7b, 0x3d, 0x8d, 0x92, 0xe4, 0x0c, 0xaa, 0x2e,
1627 0xdc, 0xac, 0x7a, 0x2f, 0xb0, 0x64, 0x3e, 0xd5, 0x7d, 0x47, 0xa9, 0x0a,
1628 0x11, 0x64, 0x10, 0x44, 0xb6, 0xc6, 0xa7, 0xdf, 0x42, 0x4d, 0xbd, 0xa2,
1629 0xb4, 0x5f, 0x0d, 0xf9,
1631 static const struct drbg_kat_no_reseed kat54_t = {
1632 8, kat54_entropyin, kat54_nonce, kat54_persstr,
1633 kat54_addin0, kat54_addin1, kat54_retbits
1635 static const struct drbg_kat kat54 = {
1636 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat54_t
1639 static const unsigned char kat55_entropyin[] = {
1640 0xca, 0x23, 0x34, 0x58, 0xf6, 0x6b, 0x26, 0xf2, 0xc1, 0x35, 0x7a, 0xef,
1641 0xce, 0xb6, 0x79, 0xef,
1643 static const unsigned char kat55_nonce[] = {
1644 0xfe, 0x13, 0x64, 0x04, 0xad, 0x7a, 0x49, 0xe7,
1646 static const unsigned char kat55_persstr[] = {
1647 0x26, 0x83, 0xdc, 0x31, 0x3b, 0xc0, 0xbb, 0x93, 0xeb, 0xb4, 0x6b, 0xbb,
1648 0x55, 0x3f, 0x58, 0x75,
1650 static const unsigned char kat55_addin0[] = {
1651 0xf7, 0x8a, 0xb1, 0xf4, 0x52, 0x6f, 0x0f, 0xa5, 0xcb, 0x75, 0x43, 0xd1,
1652 0x46, 0x43, 0xfe, 0xb5,
1654 static const unsigned char kat55_addin1[] = {
1655 0x40, 0xb9, 0x26, 0x32, 0x4c, 0xc2, 0x94, 0x3a, 0xca, 0x83, 0x7f, 0x69,
1656 0x0d, 0x0b, 0xcd, 0xa4,
1658 static const unsigned char kat55_retbits[] = {
1659 0x37, 0x24, 0xd0, 0xe5, 0x80, 0xe9, 0x0d, 0x4e, 0xf3, 0x2e, 0x5f, 0x8a,
1660 0x5b, 0xb5, 0x62, 0x25, 0xa9, 0x13, 0xf2, 0x10, 0xb7, 0x6d, 0x5a, 0x78,
1661 0xfd, 0x8e, 0xf2, 0x5d, 0x6e, 0xec, 0x9f, 0xf1, 0x47, 0x11, 0xd6, 0xdb,
1662 0x80, 0xe1, 0xe8, 0x11, 0x42, 0xa5, 0x60, 0x75, 0x34, 0xa7, 0x25, 0xd2,
1663 0x78, 0x5c, 0x8e, 0x3e, 0x4a, 0x48, 0xa5, 0x94, 0xb0, 0xd9, 0x1b, 0xc9,
1664 0x32, 0x82, 0x7b, 0xd7,
1666 static const struct drbg_kat_no_reseed kat55_t = {
1667 9, kat55_entropyin, kat55_nonce, kat55_persstr,
1668 kat55_addin0, kat55_addin1, kat55_retbits
1670 static const struct drbg_kat kat55 = {
1671 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat55_t
1674 static const unsigned char kat56_entropyin[] = {
1675 0x2b, 0x52, 0x1d, 0xc4, 0x03, 0x12, 0x9f, 0xd9, 0xed, 0x0b, 0xe9, 0xf5,
1676 0xfd, 0xe0, 0x66, 0x17,
1678 static const unsigned char kat56_nonce[] = {
1679 0xf0, 0xdf, 0xa0, 0x1e, 0x09, 0x9b, 0x95, 0xa1,
1681 static const unsigned char kat56_persstr[] = {
1682 0xfe, 0x85, 0x8d, 0x59, 0xd7, 0x34, 0xf6, 0x0f, 0x71, 0xa3, 0x87, 0x55,
1683 0x3c, 0xca, 0x46, 0xff,
1685 static const unsigned char kat56_addin0[] = {
1686 0x6f, 0xba, 0x8d, 0x06, 0xff, 0x43, 0x30, 0x07, 0xbd, 0x7d, 0x15, 0x56,
1687 0x9a, 0xf3, 0xd0, 0x69,
1689 static const unsigned char kat56_addin1[] = {
1690 0x80, 0xb0, 0xc1, 0x1f, 0x18, 0xb5, 0x92, 0x3a, 0x89, 0xf0, 0xfe, 0x23,
1691 0x77, 0x6d, 0x39, 0x05,
1693 static const unsigned char kat56_retbits[] = {
1694 0x41, 0x73, 0x88, 0xde, 0xe9, 0x08, 0x4f, 0x58, 0x8d, 0x0a, 0xdb, 0x5e,
1695 0x5d, 0x1b, 0x54, 0x6b, 0x12, 0x55, 0xcd, 0xf5, 0x9d, 0x69, 0x95, 0x7a,
1696 0xe6, 0x87, 0xc7, 0x82, 0x2b, 0x93, 0x5c, 0xe0, 0x29, 0x30, 0x6c, 0x02,
1697 0x50, 0xd4, 0x69, 0x83, 0x9c, 0x7d, 0xf9, 0xd3, 0xd0, 0x8e, 0xc8, 0xc5,
1698 0x0a, 0x66, 0x7a, 0xf1, 0x0d, 0x8d, 0x5b, 0x00, 0x73, 0x02, 0xa6, 0xe8,
1699 0x7b, 0x4e, 0x7f, 0x2c,
1701 static const struct drbg_kat_no_reseed kat56_t = {
1702 10, kat56_entropyin, kat56_nonce, kat56_persstr,
1703 kat56_addin0, kat56_addin1, kat56_retbits
1705 static const struct drbg_kat kat56 = {
1706 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat56_t
1709 static const unsigned char kat57_entropyin[] = {
1710 0xd0, 0x50, 0x2b, 0x78, 0xf7, 0xaa, 0x6f, 0xa1, 0xd8, 0x88, 0x42, 0x1d,
1711 0x70, 0x2c, 0xad, 0xd1,
1713 static const unsigned char kat57_nonce[] = {
1714 0x4b, 0x37, 0xb8, 0x96, 0x59, 0x69, 0xea, 0x8d,
1716 static const unsigned char kat57_persstr[] = {
1717 0x56, 0xbd, 0x43, 0x1f, 0x04, 0x88, 0xfe, 0x6d, 0x7b, 0xa3, 0x83, 0x6e,
1718 0x5c, 0x8c, 0x7a, 0xa9,
1720 static const unsigned char kat57_addin0[] = {
1721 0x26, 0x92, 0x5d, 0xbc, 0xbe, 0xd7, 0x33, 0xbe, 0x2a, 0x5e, 0x76, 0x49,
1722 0xc8, 0x76, 0xa0, 0xf8,
1724 static const unsigned char kat57_addin1[] = {
1725 0x9c, 0x70, 0x35, 0x2d, 0x4f, 0x9c, 0x88, 0x0e, 0x76, 0xd4, 0x68, 0x08,
1726 0x38, 0xdd, 0x0d, 0xea,
1728 static const unsigned char kat57_retbits[] = {
1729 0x65, 0x00, 0x24, 0x2c, 0x35, 0x88, 0xb4, 0x52, 0x30, 0x7b, 0x2a, 0x06,
1730 0x34, 0x90, 0x0e, 0x75, 0x6a, 0x3d, 0x26, 0x19, 0xfc, 0x2a, 0xdf, 0x10,
1731 0x77, 0x69, 0x22, 0xb0, 0x06, 0x61, 0x7e, 0xe8, 0x81, 0x82, 0x83, 0x66,
1732 0xac, 0x52, 0x7f, 0xad, 0xa0, 0x01, 0x86, 0xbc, 0x8b, 0xfd, 0x6b, 0xee,
1733 0x66, 0xd6, 0x38, 0x03, 0x5a, 0xaf, 0xff, 0xbc, 0x83, 0x32, 0xa5, 0x4c,
1734 0xa1, 0x7d, 0xf1, 0x6f,
1736 static const struct drbg_kat_no_reseed kat57_t = {
1737 11, kat57_entropyin, kat57_nonce, kat57_persstr,
1738 kat57_addin0, kat57_addin1, kat57_retbits
1740 static const struct drbg_kat kat57 = {
1741 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat57_t
1744 static const unsigned char kat58_entropyin[] = {
1745 0xa3, 0xb9, 0x5f, 0x32, 0x01, 0xfa, 0x01, 0x01, 0x07, 0x57, 0x30, 0x74,
1746 0xb1, 0x19, 0x9b, 0xc0,
1748 static const unsigned char kat58_nonce[] = {
1749 0x60, 0x30, 0xe5, 0xb6, 0x13, 0x47, 0xb0, 0xe2,
1751 static const unsigned char kat58_persstr[] = {
1752 0x9e, 0x77, 0x85, 0x46, 0xd4, 0x5f, 0x17, 0x93, 0xa1, 0x1d, 0x80, 0xa0,
1753 0x2e, 0x4c, 0xa3, 0xc3,
1755 static const unsigned char kat58_addin0[] = {
1756 0xe5, 0x07, 0x33, 0x61, 0x98, 0x25, 0x31, 0x37, 0xa5, 0x55, 0xe8, 0xc1,
1757 0x18, 0xa1, 0x2d, 0x2f,
1759 static const unsigned char kat58_addin1[] = {
1760 0xe5, 0xce, 0xea, 0xcb, 0xb5, 0x22, 0xf5, 0xde, 0x81, 0x78, 0x9c, 0x32,
1761 0xcb, 0xcd, 0xef, 0x30,
1763 static const unsigned char kat58_retbits[] = {
1764 0x4a, 0xd1, 0x8e, 0xa0, 0x83, 0x7f, 0x06, 0x3e, 0x9f, 0xbf, 0x6c, 0x72,
1765 0xd1, 0xaf, 0x6f, 0x77, 0x96, 0x41, 0xf4, 0xe1, 0x1c, 0x40, 0x0d, 0x95,
1766 0xcb, 0x2b, 0xa4, 0x22, 0x99, 0xa9, 0x66, 0x48, 0xe0, 0x59, 0xe1, 0xa6,
1767 0x3f, 0x7c, 0x03, 0x79, 0x25, 0x44, 0x89, 0xc7, 0xcb, 0xff, 0xfb, 0x22,
1768 0x11, 0x84, 0x57, 0x18, 0xc5, 0x26, 0x00, 0xc9, 0xe8, 0x58, 0x49, 0xd6,
1769 0xe0, 0x95, 0x1f, 0x7b,
1771 static const struct drbg_kat_no_reseed kat58_t = {
1772 12, kat58_entropyin, kat58_nonce, kat58_persstr,
1773 kat58_addin0, kat58_addin1, kat58_retbits
1775 static const struct drbg_kat kat58 = {
1776 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat58_t
1779 static const unsigned char kat59_entropyin[] = {
1780 0x88, 0x18, 0xbe, 0x7e, 0x8e, 0x81, 0x5b, 0xca, 0x0c, 0xb5, 0xa0, 0x14,
1781 0x4d, 0x44, 0xb6, 0x72,
1783 static const unsigned char kat59_nonce[] = {
1784 0x12, 0x2b, 0x14, 0x8c, 0xa1, 0xaa, 0xba, 0x60,
1786 static const unsigned char kat59_persstr[] = {
1787 0x90, 0x6d, 0xc3, 0x0b, 0x39, 0x54, 0x27, 0x38, 0x56, 0x73, 0x26, 0x13,
1788 0x66, 0xf5, 0xe9, 0xa8,
1790 static const unsigned char kat59_addin0[] = {
1791 0x56, 0xee, 0x67, 0xff, 0x14, 0x66, 0xce, 0xed, 0xd7, 0x28, 0x1d, 0x73,
1792 0xf3, 0x9c, 0x6c, 0x85,
1794 static const unsigned char kat59_addin1[] = {
1795 0x82, 0xe4, 0xa6, 0xed, 0xb0, 0x78, 0x00, 0x79, 0xfa, 0xee, 0x25, 0x8e,
1796 0xd1, 0x13, 0x7e, 0xcf,
1798 static const unsigned char kat59_retbits[] = {
1799 0x88, 0x55, 0xad, 0x03, 0xe3, 0x87, 0x27, 0xd0, 0x49, 0xe8, 0x55, 0x8e,
1800 0xcc, 0x66, 0x3b, 0x8c, 0x89, 0xcb, 0x5b, 0xd1, 0x38, 0xac, 0x34, 0x9c,
1801 0x6e, 0x5f, 0x78, 0x41, 0x70, 0xc5, 0x07, 0x69, 0xc8, 0xc9, 0x7b, 0x09,
1802 0x4d, 0xfa, 0x07, 0x52, 0xd0, 0x65, 0x53, 0x1d, 0xa4, 0x00, 0x85, 0x81,
1803 0x7c, 0xcb, 0x08, 0xf2, 0xb9, 0x4c, 0xbb, 0xba, 0xe7, 0x59, 0x8c, 0x96,
1804 0x3e, 0x3a, 0xd6, 0xd1,
1806 static const struct drbg_kat_no_reseed kat59_t = {
1807 13, kat59_entropyin, kat59_nonce, kat59_persstr,
1808 kat59_addin0, kat59_addin1, kat59_retbits
1810 static const struct drbg_kat kat59 = {
1811 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat59_t
1814 static const unsigned char kat60_entropyin[] = {
1815 0x00, 0x90, 0xdc, 0xb9, 0x1f, 0x02, 0x70, 0xf6, 0x58, 0x20, 0x7d, 0x49,
1816 0xa7, 0x47, 0x38, 0xe2,
1818 static const unsigned char kat60_nonce[] = {
1819 0x9d, 0x18, 0xae, 0xa2, 0x68, 0x4e, 0xe2, 0xb7,
1821 static const unsigned char kat60_persstr[] = {
1822 0x64, 0xa8, 0x18, 0x57, 0xce, 0x29, 0xf0, 0xd2, 0xa8, 0x51, 0x03, 0x00,
1823 0xb0, 0xa3, 0xfa, 0xc0,
1825 static const unsigned char kat60_addin0[] = {
1826 0xcd, 0x7f, 0x89, 0xf8, 0xd5, 0x46, 0x8e, 0xae, 0x8b, 0xca, 0x31, 0x4f,
1827 0xd9, 0xf2, 0x5b, 0x23,
1829 static const unsigned char kat60_addin1[] = {
1830 0x94, 0x9b, 0x94, 0x41, 0x7f, 0xb4, 0x2b, 0xbc, 0x7c, 0xdb, 0x3f, 0x53,
1831 0xa0, 0x55, 0x80, 0x19,
1833 static const unsigned char kat60_retbits[] = {
1834 0x63, 0xd3, 0xe9, 0x19, 0x88, 0x1f, 0x87, 0xd6, 0x9c, 0xba, 0xdc, 0xb6,
1835 0x78, 0x9e, 0x0b, 0x8f, 0x2e, 0x49, 0xf4, 0xc9, 0xd0, 0xe3, 0xba, 0x1e,
1836 0x4a, 0x59, 0x16, 0x2a, 0xf7, 0x18, 0xbc, 0x40, 0xdd, 0x67, 0x3e, 0xae,
1837 0x8f, 0x48, 0xfd, 0x27, 0x82, 0xe0, 0x6c, 0xde, 0xc5, 0x63, 0x2a, 0x4b,
1838 0x2e, 0x60, 0x65, 0x5c, 0xba, 0x75, 0xaf, 0xaf, 0x4c, 0x12, 0xa6, 0x74,
1839 0xee, 0xe4, 0xd3, 0xfc,
1841 static const struct drbg_kat_no_reseed kat60_t = {
1842 14, kat60_entropyin, kat60_nonce, kat60_persstr,
1843 kat60_addin0, kat60_addin1, kat60_retbits
1845 static const struct drbg_kat kat60 = {
1846 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat60_t
1849 static const unsigned char kat61_entropyin[] = {
1850 0x2d, 0x2a, 0xb5, 0x64, 0x20, 0x29, 0x18, 0xc4, 0xef, 0x5b, 0x10, 0x2d,
1851 0xda, 0x38, 0x5a, 0x18,
1853 static const unsigned char kat61_nonce[] = {
1854 0x25, 0x91, 0x95, 0x26, 0x9e, 0xc1, 0x1a, 0xf6,
1856 static const unsigned char kat61_persstr[] = {0};
1857 static const unsigned char kat61_addin0[] = {0};
1858 static const unsigned char kat61_addin1[] = {0};
1859 static const unsigned char kat61_retbits[] = {
1860 0x2c, 0x5c, 0xd7, 0x9e, 0xd8, 0x76, 0x22, 0xa9, 0x1b, 0x86, 0x54, 0xc8,
1861 0x90, 0x3d, 0x85, 0x22, 0x42, 0xcd, 0x49, 0xcb, 0x5d, 0xf2, 0xd4, 0xb4,
1862 0x15, 0x05, 0x84, 0x30, 0x1c, 0x59, 0xf0, 0x1f, 0xd9, 0x5a, 0x70, 0x2a,
1863 0xc1, 0x57, 0xc8, 0x4c, 0xc1, 0x5f, 0x42, 0xc8, 0x21, 0x13, 0x35, 0x67,
1864 0x2d, 0x8c, 0xe1, 0x29, 0x1e, 0xf9, 0xb1, 0xde, 0xf7, 0x81, 0x49, 0xa0,
1865 0x4f, 0xa2, 0x69, 0x7c,
1867 static const struct drbg_kat_no_reseed kat61_t = {
1868 0, kat61_entropyin, kat61_nonce, kat61_persstr,
1869 kat61_addin0, kat61_addin1, kat61_retbits
1871 static const struct drbg_kat kat61 = {
1872 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat61_t
1875 static const unsigned char kat62_entropyin[] = {
1876 0xa0, 0x16, 0x46, 0x3d, 0xbb, 0x49, 0x99, 0x90, 0xcb, 0xcd, 0xa4, 0x50,
1877 0x46, 0xd8, 0xf3, 0x37,
1879 static const unsigned char kat62_nonce[] = {
1880 0x24, 0x9d, 0x02, 0xde, 0x2d, 0xcf, 0x3e, 0x57,
1882 static const unsigned char kat62_persstr[] = {0};
1883 static const unsigned char kat62_addin0[] = {0};
1884 static const unsigned char kat62_addin1[] = {0};
1885 static const unsigned char kat62_retbits[] = {
1886 0x35, 0xb8, 0x1f, 0xb9, 0x42, 0x41, 0xf4, 0xc9, 0x31, 0x9a, 0x7f, 0x16,
1887 0xb4, 0x42, 0x49, 0x52, 0x52, 0xdb, 0x4c, 0x98, 0x48, 0x60, 0xd0, 0x35,
1888 0xf6, 0xc4, 0x54, 0x03, 0xf9, 0x74, 0xf5, 0x34, 0xfa, 0x93, 0xb2, 0x1b,
1889 0x6b, 0x89, 0x44, 0x1b, 0xe0, 0x7c, 0x5c, 0x29, 0x31, 0x7f, 0x86, 0x8d,
1890 0xc9, 0xab, 0x5c, 0x18, 0x37, 0x74, 0x37, 0xfa, 0xdb, 0x4d, 0x85, 0x7e,
1891 0xe0, 0x92, 0xf9, 0x23,
1893 static const struct drbg_kat_no_reseed kat62_t = {
1894 1, kat62_entropyin, kat62_nonce, kat62_persstr,
1895 kat62_addin0, kat62_addin1, kat62_retbits
1897 static const struct drbg_kat kat62 = {
1898 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat62_t
1901 static const unsigned char kat63_entropyin[] = {
1902 0x1e, 0x38, 0x20, 0xc4, 0x6e, 0x50, 0xb7, 0xcb, 0xc5, 0x8b, 0x05, 0xaa,
1903 0x72, 0x24, 0x27, 0xa8,
1905 static const unsigned char kat63_nonce[] = {
1906 0xfe, 0x0f, 0x40, 0x01, 0x4e, 0xb3, 0x27, 0x9f,
1908 static const unsigned char kat63_persstr[] = {0};
1909 static const unsigned char kat63_addin0[] = {0};
1910 static const unsigned char kat63_addin1[] = {0};
1911 static const unsigned char kat63_retbits[] = {
1912 0x18, 0x53, 0x0b, 0x9d, 0xe8, 0x89, 0xd8, 0xad, 0x3f, 0x41, 0xd5, 0x39,
1913 0x79, 0x6c, 0x2a, 0x95, 0xd6, 0x82, 0xfb, 0x02, 0x6d, 0xf7, 0xca, 0x09,
1914 0x4a, 0xf4, 0xab, 0x23, 0x95, 0x29, 0x2e, 0x6f, 0xcd, 0xb1, 0x75, 0xba,
1915 0x25, 0x7d, 0x61, 0x27, 0x9d, 0xa4, 0xd0, 0xfc, 0x78, 0xfd, 0xf8, 0xa4,
1916 0xeb, 0x46, 0xa0, 0xe2, 0xd7, 0x54, 0xf5, 0xf8, 0xf0, 0x9e, 0xcb, 0x15,
1917 0x7c, 0x8a, 0x58, 0xa1,
1919 static const struct drbg_kat_no_reseed kat63_t = {
1920 2, kat63_entropyin, kat63_nonce, kat63_persstr,
1921 kat63_addin0, kat63_addin1, kat63_retbits
1923 static const struct drbg_kat kat63 = {
1924 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat63_t
1927 static const unsigned char kat64_entropyin[] = {
1928 0x3b, 0x02, 0xc5, 0xa4, 0x74, 0x67, 0x96, 0x48, 0xe2, 0xfe, 0x09, 0x0a,
1929 0x13, 0xbe, 0x04, 0x1c,
1931 static const unsigned char kat64_nonce[] = {
1932 0x71, 0xed, 0x5a, 0xa0, 0x78, 0xb8, 0x3a, 0x7b,
1934 static const unsigned char kat64_persstr[] = {0};
1935 static const unsigned char kat64_addin0[] = {0};
1936 static const unsigned char kat64_addin1[] = {0};
1937 static const unsigned char kat64_retbits[] = {
1938 0xe8, 0xe2, 0xe5, 0xd8, 0xbd, 0x99, 0x29, 0xe4, 0xe1, 0x67, 0x5c, 0x84,
1939 0x61, 0x45, 0x7c, 0xab, 0x06, 0x33, 0xd8, 0x3f, 0x9b, 0xd2, 0x43, 0xbc,
1940 0x58, 0x29, 0x37, 0xc2, 0xb9, 0x61, 0xb7, 0x1c, 0x11, 0x85, 0x6f, 0x83,
1941 0x6c, 0x37, 0x32, 0x9d, 0x3f, 0xa8, 0x63, 0x76, 0xee, 0xc9, 0x71, 0x39,
1942 0x10, 0x4d, 0xe5, 0x32, 0x60, 0xe1, 0x22, 0xcb, 0x2b, 0x6d, 0x82, 0x4e,
1943 0x21, 0xe7, 0x5c, 0xe7,
1945 static const struct drbg_kat_no_reseed kat64_t = {
1946 3, kat64_entropyin, kat64_nonce, kat64_persstr,
1947 kat64_addin0, kat64_addin1, kat64_retbits
1949 static const struct drbg_kat kat64 = {
1950 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat64_t
1953 static const unsigned char kat65_entropyin[] = {
1954 0x05, 0x0c, 0x48, 0xab, 0x8a, 0x05, 0xff, 0x69, 0x0b, 0x62, 0xe3, 0x7d,
1955 0x9b, 0x21, 0xf2, 0xfa,
1957 static const unsigned char kat65_nonce[] = {
1958 0xf7, 0x96, 0x48, 0x75, 0xbe, 0x28, 0x83, 0x53,
1960 static const unsigned char kat65_persstr[] = {0};
1961 static const unsigned char kat65_addin0[] = {0};
1962 static const unsigned char kat65_addin1[] = {0};
1963 static const unsigned char kat65_retbits[] = {
1964 0x24, 0xcb, 0x0e, 0xdc, 0xb8, 0x9e, 0xec, 0x61, 0x76, 0x13, 0xa2, 0x7f,
1965 0xe3, 0xe4, 0x47, 0x5a, 0xff, 0xab, 0x49, 0x8d, 0x57, 0xbc, 0x3c, 0x4e,
1966 0xf8, 0x44, 0xfe, 0x19, 0xb3, 0x84, 0x13, 0x47, 0x7c, 0x1d, 0xb0, 0x40,
1967 0xf1, 0x67, 0x57, 0xf1, 0x85, 0x1b, 0x79, 0x9c, 0x1f, 0x26, 0x69, 0xaa,
1968 0x9f, 0x9c, 0x50, 0x53, 0x2e, 0xaf, 0xbe, 0x1e, 0x29, 0x48, 0xe3, 0x38,
1969 0xd1, 0xca, 0x4b, 0xd7,
1971 static const struct drbg_kat_no_reseed kat65_t = {
1972 4, kat65_entropyin, kat65_nonce, kat65_persstr,
1973 kat65_addin0, kat65_addin1, kat65_retbits
1975 static const struct drbg_kat kat65 = {
1976 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat65_t
1979 static const unsigned char kat66_entropyin[] = {
1980 0xec, 0xd9, 0x9c, 0x0b, 0x49, 0x1c, 0xf6, 0xa3, 0x23, 0xbc, 0x33, 0x36,
1981 0x46, 0xe5, 0xc5, 0x6a,
1983 static const unsigned char kat66_nonce[] = {
1984 0xb1, 0x0a, 0x17, 0x84, 0x99, 0x5c, 0xb3, 0x4c,
1986 static const unsigned char kat66_persstr[] = {0};
1987 static const unsigned char kat66_addin0[] = {0};
1988 static const unsigned char kat66_addin1[] = {0};
1989 static const unsigned char kat66_retbits[] = {
1990 0x65, 0x35, 0xc4, 0x8d, 0x99, 0x9a, 0x30, 0x6a, 0xcb, 0x83, 0xf7, 0xb7,
1991 0x20, 0xb3, 0xc3, 0x97, 0x72, 0xa4, 0x96, 0xe7, 0x5a, 0x89, 0x0f, 0x6e,
1992 0x14, 0xd7, 0x0a, 0x82, 0x41, 0x42, 0xa1, 0x2d, 0x01, 0xde, 0xe5, 0x52,
1993 0x71, 0xb8, 0x2c, 0x7b, 0x02, 0x7b, 0x94, 0x68, 0xc3, 0x09, 0xfa, 0x2d,
1994 0x08, 0xe9, 0x1e, 0x5e, 0x37, 0x9e, 0xb9, 0x0c, 0xf8, 0x91, 0x5c, 0xf4,
1995 0xcc, 0x24, 0x1b, 0x50,
1997 static const struct drbg_kat_no_reseed kat66_t = {
1998 5, kat66_entropyin, kat66_nonce, kat66_persstr,
1999 kat66_addin0, kat66_addin1, kat66_retbits
2001 static const struct drbg_kat kat66 = {
2002 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat66_t
2005 static const unsigned char kat67_entropyin[] = {
2006 0x34, 0xae, 0xe3, 0xef, 0x35, 0xb2, 0xa1, 0xe3, 0x1c, 0x42, 0x97, 0x25,
2007 0xfe, 0xaa, 0x6b, 0xfd,
2009 static const unsigned char kat67_nonce[] = {
2010 0xe4, 0x36, 0x9b, 0x6a, 0xda, 0x90, 0x91, 0xed,
2012 static const unsigned char kat67_persstr[] = {0};
2013 static const unsigned char kat67_addin0[] = {0};
2014 static const unsigned char kat67_addin1[] = {0};
2015 static const unsigned char kat67_retbits[] = {
2016 0xaf, 0x9d, 0xb4, 0xdf, 0x46, 0xac, 0x80, 0xfe, 0xca, 0xd6, 0xc3, 0xd1,
2017 0xd9, 0x75, 0xd2, 0xd0, 0xa6, 0x65, 0xf3, 0x1b, 0x4e, 0x3b, 0x07, 0xd9,
2018 0x62, 0x63, 0x22, 0x96, 0xb7, 0x60, 0x39, 0xdd, 0xca, 0xb8, 0xed, 0xde,
2019 0x17, 0xba, 0xd6, 0x23, 0x01, 0x31, 0x16, 0x2e, 0x59, 0xd0, 0x7d, 0xbb,
2020 0xd0, 0xf0, 0xb5, 0x2e, 0x5c, 0xa9, 0x3c, 0xf3, 0x7f, 0x12, 0xc0, 0x30,
2021 0x42, 0xbf, 0x0c, 0x82,
2023 static const struct drbg_kat_no_reseed kat67_t = {
2024 6, kat67_entropyin, kat67_nonce, kat67_persstr,
2025 kat67_addin0, kat67_addin1, kat67_retbits
2027 static const struct drbg_kat kat67 = {
2028 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat67_t
2031 static const unsigned char kat68_entropyin[] = {
2032 0x91, 0x15, 0x64, 0x69, 0x54, 0x0c, 0x78, 0x5d, 0xf5, 0x6a, 0x10, 0xe1,
2033 0x6b, 0x66, 0x10, 0x7c,
2035 static const unsigned char kat68_nonce[] = {
2036 0x7e, 0x2b, 0x2a, 0x7f, 0x58, 0xf3, 0xef, 0x20,
2038 static const unsigned char kat68_persstr[] = {0};
2039 static const unsigned char kat68_addin0[] = {0};
2040 static const unsigned char kat68_addin1[] = {0};
2041 static const unsigned char kat68_retbits[] = {
2042 0x9a, 0x76, 0x3a, 0x4c, 0x05, 0x27, 0x25, 0xe7, 0xae, 0x9d, 0x21, 0x22,
2043 0xa4, 0x5c, 0xd1, 0x8e, 0xa2, 0x8c, 0x58, 0x17, 0x2b, 0x87, 0xc5, 0x7e,
2044 0xdb, 0x9d, 0xaa, 0x32, 0xf8, 0xa2, 0x6e, 0xb9, 0x8d, 0x6b, 0x88, 0x12,
2045 0x09, 0x5a, 0x54, 0xcf, 0x62, 0x82, 0xc5, 0xe0, 0xfc, 0x18, 0xcd, 0x30,
2046 0x12, 0x44, 0x15, 0xd2, 0x67, 0xc9, 0xfc, 0x2c, 0xda, 0xe9, 0xbe, 0xed,
2047 0xbb, 0x86, 0x58, 0x4e,
2049 static const struct drbg_kat_no_reseed kat68_t = {
2050 7, kat68_entropyin, kat68_nonce, kat68_persstr,
2051 kat68_addin0, kat68_addin1, kat68_retbits
2053 static const struct drbg_kat kat68 = {
2054 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat68_t
2057 static const unsigned char kat69_entropyin[] = {
2058 0xcd, 0x5d, 0xbc, 0x35, 0xd1, 0xb4, 0x43, 0x5c, 0x4c, 0x94, 0x5b, 0xaf,
2059 0xe4, 0xb8, 0xfc, 0x7a,
2061 static const unsigned char kat69_nonce[] = {
2062 0xaf, 0x4a, 0xcd, 0xfc, 0x81, 0x19, 0x32, 0x2c,
2064 static const unsigned char kat69_persstr[] = {0};
2065 static const unsigned char kat69_addin0[] = {0};
2066 static const unsigned char kat69_addin1[] = {0};
2067 static const unsigned char kat69_retbits[] = {
2068 0xfe, 0x67, 0x82, 0x99, 0xf1, 0xad, 0xe1, 0x96, 0x21, 0x88, 0x02, 0x35,
2069 0xfa, 0x6f, 0xe2, 0xb5, 0x01, 0x84, 0xf8, 0x12, 0x43, 0x83, 0x3e, 0xbe,
2070 0x68, 0xc6, 0x16, 0xa9, 0x03, 0x4e, 0x23, 0xe0, 0xcc, 0x87, 0x3e, 0x8a,
2071 0xc4, 0xd0, 0xe3, 0x65, 0xb5, 0x24, 0xa3, 0x78, 0x32, 0xb5, 0x2d, 0x97,
2072 0xa8, 0x38, 0x62, 0x93, 0x24, 0x91, 0xd2, 0x64, 0x3a, 0x73, 0xe4, 0x6a,
2073 0x80, 0xb5, 0x14, 0x9c,
2075 static const struct drbg_kat_no_reseed kat69_t = {
2076 8, kat69_entropyin, kat69_nonce, kat69_persstr,
2077 kat69_addin0, kat69_addin1, kat69_retbits
2079 static const struct drbg_kat kat69 = {
2080 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat69_t
2083 static const unsigned char kat70_entropyin[] = {
2084 0xd5, 0x2d, 0x11, 0x59, 0x78, 0x7b, 0xaa, 0xb2, 0x13, 0xe8, 0x79, 0x21,
2085 0xfd, 0x95, 0x91, 0x10,
2087 static const unsigned char kat70_nonce[] = {
2088 0x7a, 0xb3, 0x75, 0x38, 0xee, 0x02, 0x45, 0xc8,
2090 static const unsigned char kat70_persstr[] = {0};
2091 static const unsigned char kat70_addin0[] = {0};
2092 static const unsigned char kat70_addin1[] = {0};
2093 static const unsigned char kat70_retbits[] = {
2094 0xf4, 0xd9, 0xea, 0xd3, 0x59, 0x46, 0x06, 0xac, 0x51, 0x94, 0x22, 0x15,
2095 0xaa, 0x0b, 0xd2, 0x9b, 0xaa, 0x7c, 0x28, 0x1e, 0x62, 0xd2, 0xbc, 0xc1,
2096 0xa7, 0x7f, 0x57, 0xe3, 0x59, 0x66, 0x83, 0x19, 0x9d, 0x70, 0xc0, 0x09,
2097 0xc0, 0x84, 0xeb, 0x36, 0x54, 0x22, 0x4e, 0xd7, 0xb0, 0x7a, 0x09, 0xb4,
2098 0x94, 0x48, 0x0a, 0x11, 0x3b, 0x33, 0xe0, 0x36, 0x6c, 0xb2, 0x25, 0x3e,
2099 0xdb, 0xb0, 0xcb, 0x5e,
2101 static const struct drbg_kat_no_reseed kat70_t = {
2102 9, kat70_entropyin, kat70_nonce, kat70_persstr,
2103 kat70_addin0, kat70_addin1, kat70_retbits
2105 static const struct drbg_kat kat70 = {
2106 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat70_t
2109 static const unsigned char kat71_entropyin[] = {
2110 0x51, 0x10, 0xdb, 0x9d, 0x5f, 0x4f, 0xbd, 0xc0, 0x37, 0x55, 0x0e, 0x83,
2111 0xc2, 0xbd, 0x96, 0xfe,
2113 static const unsigned char kat71_nonce[] = {
2114 0xde, 0xe6, 0x41, 0xf9, 0x17, 0x7c, 0x9d, 0xa4,
2116 static const unsigned char kat71_persstr[] = {0};
2117 static const unsigned char kat71_addin0[] = {0};
2118 static const unsigned char kat71_addin1[] = {0};
2119 static const unsigned char kat71_retbits[] = {
2120 0x05, 0xf8, 0xca, 0xd2, 0xd0, 0x31, 0xce, 0x6b, 0x52, 0x7e, 0xe0, 0x43,
2121 0xb5, 0x05, 0x6d, 0xb2, 0x0e, 0xe5, 0xca, 0x66, 0x0a, 0x95, 0xc2, 0x9b,
2122 0x8f, 0x8b, 0x2e, 0x43, 0xef, 0xa5, 0xc7, 0xaa, 0x62, 0x35, 0x12, 0x33,
2123 0xf4, 0xf1, 0x60, 0x36, 0x8c, 0x3d, 0xad, 0x4a, 0x74, 0xf4, 0x71, 0xbb,
2124 0x02, 0x15, 0x3f, 0x86, 0xc8, 0x7a, 0x14, 0x0a, 0x36, 0xe0, 0xf1, 0x22,
2125 0xc6, 0x8b, 0xa7, 0x7d,
2127 static const struct drbg_kat_no_reseed kat71_t = {
2128 10, kat71_entropyin, kat71_nonce, kat71_persstr,
2129 kat71_addin0, kat71_addin1, kat71_retbits
2131 static const struct drbg_kat kat71 = {
2132 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat71_t
2135 static const unsigned char kat72_entropyin[] = {
2136 0x97, 0x90, 0x65, 0xbc, 0x1a, 0x1c, 0x8c, 0x82, 0x90, 0xdd, 0xe2, 0x19,
2137 0xf0, 0x12, 0x1a, 0xbe,
2139 static const unsigned char kat72_nonce[] = {
2140 0x59, 0x3a, 0x0e, 0x1f, 0xa9, 0x85, 0x64, 0xa3,
2142 static const unsigned char kat72_persstr[] = {0};
2143 static const unsigned char kat72_addin0[] = {0};
2144 static const unsigned char kat72_addin1[] = {0};
2145 static const unsigned char kat72_retbits[] = {
2146 0x19, 0x9e, 0x68, 0xe5, 0xb6, 0x37, 0xa2, 0x7b, 0xe7, 0x94, 0x53, 0xd9,
2147 0x95, 0x3a, 0x0e, 0x52, 0x95, 0x36, 0x37, 0x4e, 0x7f, 0x63, 0xe8, 0x59,
2148 0x5a, 0xfe, 0x4b, 0x5d, 0x4e, 0x3b, 0xb3, 0x79, 0xc6, 0xd4, 0x62, 0xf6,
2149 0x43, 0x12, 0x44, 0xaf, 0x43, 0x36, 0xb1, 0x7f, 0x9d, 0xfd, 0xfe, 0xaf,
2150 0xa6, 0xf4, 0xff, 0xf5, 0x00, 0x4a, 0xa6, 0x5f, 0x7d, 0x6b, 0xb3, 0xb8,
2151 0x8a, 0xf8, 0xe9, 0xe2,
2153 static const struct drbg_kat_no_reseed kat72_t = {
2154 11, kat72_entropyin, kat72_nonce, kat72_persstr,
2155 kat72_addin0, kat72_addin1, kat72_retbits
2157 static const struct drbg_kat kat72 = {
2158 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat72_t
2161 static const unsigned char kat73_entropyin[] = {
2162 0x89, 0xa7, 0x87, 0xbe, 0x64, 0xba, 0x33, 0x58, 0x95, 0x2f, 0x9d, 0x60,
2163 0x2b, 0xd8, 0xfa, 0xb4,
2165 static const unsigned char kat73_nonce[] = {
2166 0xab, 0x96, 0x1b, 0x68, 0xc6, 0x58, 0x92, 0xd3,
2168 static const unsigned char kat73_persstr[] = {0};
2169 static const unsigned char kat73_addin0[] = {0};
2170 static const unsigned char kat73_addin1[] = {0};
2171 static const unsigned char kat73_retbits[] = {
2172 0x6e, 0x5d, 0xd2, 0xa6, 0x51, 0xf2, 0x61, 0x4f, 0xca, 0x88, 0x1f, 0x5e,
2173 0xdb, 0x05, 0xd5, 0xee, 0xc6, 0x12, 0x75, 0xdd, 0x05, 0xb3, 0x1f, 0xd8,
2174 0xa3, 0x06, 0x2f, 0xac, 0x51, 0x59, 0x60, 0xde, 0xf7, 0xb0, 0xd4, 0xdb,
2175 0x30, 0x4f, 0x64, 0x2b, 0x91, 0xe6, 0x40, 0x1f, 0x2a, 0x00, 0xb0, 0xfb,
2176 0x69, 0x3e, 0xdd, 0x73, 0x13, 0x10, 0x2f, 0x58, 0xd7, 0x33, 0x02, 0xea,
2177 0x8b, 0x5a, 0x9d, 0x7a,
2179 static const struct drbg_kat_no_reseed kat73_t = {
2180 12, kat73_entropyin, kat73_nonce, kat73_persstr,
2181 kat73_addin0, kat73_addin1, kat73_retbits
2183 static const struct drbg_kat kat73 = {
2184 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat73_t
2187 static const unsigned char kat74_entropyin[] = {
2188 0x21, 0xf0, 0x2f, 0xc7, 0x5a, 0x28, 0x2d, 0x7f, 0x87, 0xca, 0xb0, 0x57,
2189 0x67, 0x55, 0x8e, 0x08,
2191 static const unsigned char kat74_nonce[] = {
2192 0x3b, 0x43, 0xd7, 0x7b, 0x0c, 0x64, 0x71, 0xe9,
2194 static const unsigned char kat74_persstr[] = {0};
2195 static const unsigned char kat74_addin0[] = {0};
2196 static const unsigned char kat74_addin1[] = {0};
2197 static const unsigned char kat74_retbits[] = {
2198 0x3b, 0x87, 0x09, 0xce, 0xfe, 0x27, 0x06, 0x27, 0xeb, 0x49, 0x47, 0xf3,
2199 0xc7, 0x69, 0x5e, 0xed, 0x2c, 0x85, 0xcc, 0x15, 0x25, 0xbe, 0x25, 0x3f,
2200 0x20, 0x0a, 0x44, 0xad, 0x55, 0xf7, 0x58, 0x3e, 0x10, 0x91, 0xb8, 0x80,
2201 0xee, 0x16, 0xa8, 0x08, 0xe9, 0x0d, 0xc1, 0xdd, 0x5c, 0x0e, 0xd3, 0xb8,
2202 0xd1, 0x96, 0x40, 0x76, 0x61, 0xde, 0x80, 0x61, 0xf6, 0xa2, 0xd7, 0x8c,
2203 0xdc, 0x93, 0x42, 0x9d,
2205 static const struct drbg_kat_no_reseed kat74_t = {
2206 13, kat74_entropyin, kat74_nonce, kat74_persstr,
2207 kat74_addin0, kat74_addin1, kat74_retbits
2209 static const struct drbg_kat kat74 = {
2210 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat74_t
2213 static const unsigned char kat75_entropyin[] = {
2214 0xdf, 0x5b, 0x1c, 0xd5, 0x10, 0x45, 0xc8, 0x38, 0x01, 0x53, 0x24, 0x49,
2215 0xd6, 0xa8, 0x7a, 0xed,
2217 static const unsigned char kat75_nonce[] = {
2218 0x8d, 0xd1, 0x72, 0xb8, 0x12, 0x86, 0xa2, 0x38,
2220 static const unsigned char kat75_persstr[] = {0};
2221 static const unsigned char kat75_addin0[] = {0};
2222 static const unsigned char kat75_addin1[] = {0};
2223 static const unsigned char kat75_retbits[] = {
2224 0xf0, 0x17, 0x2b, 0x3a, 0x5b, 0x42, 0xea, 0xd6, 0xe6, 0x54, 0xd3, 0xab,
2225 0xc7, 0x8d, 0xda, 0x08, 0x78, 0x0e, 0xa4, 0x32, 0x23, 0x62, 0x57, 0x07,
2226 0xf8, 0xab, 0x02, 0x1b, 0xef, 0x54, 0x12, 0xdb, 0x89, 0xb0, 0x89, 0xcf,
2227 0x75, 0x11, 0x78, 0xeb, 0x1b, 0x97, 0xbe, 0x13, 0xf5, 0xe8, 0x3b, 0x9f,
2228 0x10, 0x76, 0xd0, 0xfc, 0x88, 0xe6, 0xbb, 0xd6, 0xee, 0xf1, 0xef, 0x63,
2229 0x55, 0xe3, 0x67, 0x2b,
2231 static const struct drbg_kat_no_reseed kat75_t = {
2232 14, kat75_entropyin, kat75_nonce, kat75_persstr,
2233 kat75_addin0, kat75_addin1, kat75_retbits
2235 static const struct drbg_kat kat75 = {
2236 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat75_t
2239 static const unsigned char kat76_entropyin[] = {
2240 0xad, 0xf5, 0x71, 0x1f, 0x93, 0xd8, 0xc8, 0x99, 0x73, 0x49, 0x42, 0x9c,
2241 0xca, 0xed, 0xae, 0x0a,
2243 static const unsigned char kat76_nonce[] = {
2244 0xb2, 0x57, 0x16, 0x93, 0x1b, 0x6e, 0x3c, 0xc1,
2246 static const unsigned char kat76_persstr[] = {0};
2247 static const unsigned char kat76_addin0[] = {
2248 0xab, 0xf8, 0xcd, 0x66, 0xdd, 0x39, 0x75, 0x8b, 0x01, 0xd7, 0xdb, 0xb9,
2249 0x9a, 0xb1, 0x7d, 0xc3,
2251 static const unsigned char kat76_addin1[] = {
2252 0x4b, 0xe0, 0xf6, 0xb2, 0x75, 0x53, 0x77, 0xc6, 0xe8, 0x81, 0xfb, 0xb2,
2253 0x61, 0xb5, 0x6b, 0xeb,
2255 static const unsigned char kat76_retbits[] = {
2256 0xd4, 0x20, 0x60, 0x4d, 0xee, 0x64, 0x67, 0x49, 0x2d, 0xb5, 0x95, 0x7c,
2257 0x86, 0x20, 0x7a, 0x70, 0x8f, 0xd2, 0x42, 0xed, 0x67, 0x94, 0x2a, 0xed,
2258 0x29, 0x94, 0x25, 0x33, 0x5c, 0x83, 0xb4, 0x14, 0x37, 0x41, 0x85, 0x82,
2259 0xf4, 0x1b, 0xc7, 0xfc, 0x0e, 0xf0, 0xd6, 0x92, 0x7f, 0x34, 0xd8, 0x3a,
2260 0xcd, 0x67, 0xc7, 0x01, 0x33, 0x64, 0x4f, 0xd7, 0x11, 0xdd, 0x5a, 0x65,
2261 0x73, 0x1f, 0x9f, 0x02,
2263 static const struct drbg_kat_no_reseed kat76_t = {
2264 0, kat76_entropyin, kat76_nonce, kat76_persstr,
2265 kat76_addin0, kat76_addin1, kat76_retbits
2267 static const struct drbg_kat kat76 = {
2268 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat76_t
2271 static const unsigned char kat77_entropyin[] = {
2272 0xe9, 0x21, 0x00, 0x02, 0x07, 0x34, 0x90, 0x9d, 0x61, 0x09, 0xd2, 0x9c,
2273 0xf2, 0xc8, 0x98, 0xb0,
2275 static const unsigned char kat77_nonce[] = {
2276 0x91, 0xfb, 0xd9, 0xa3, 0xa8, 0xed, 0xc3, 0xa4,
2278 static const unsigned char kat77_persstr[] = {0};
2279 static const unsigned char kat77_addin0[] = {
2280 0x09, 0x80, 0xc7, 0xdb, 0xcf, 0xd0, 0xe7, 0xf7, 0x7a, 0xf8, 0x35, 0xac,
2281 0xc7, 0x4a, 0x4b, 0xa3,
2283 static const unsigned char kat77_addin1[] = {
2284 0x3c, 0xbf, 0x47, 0xd4, 0x66, 0x55, 0xa0, 0xce, 0x75, 0xa5, 0xd5, 0x65,
2285 0x28, 0x12, 0x7b, 0xc0,
2287 static const unsigned char kat77_retbits[] = {
2288 0xe7, 0x7c, 0xcc, 0x52, 0x63, 0x62, 0x54, 0x29, 0xce, 0x7e, 0x53, 0x56,
2289 0x22, 0x48, 0x1d, 0x0b, 0xef, 0x47, 0x61, 0x41, 0xd1, 0xa0, 0xab, 0xfa,
2290 0x7f, 0x69, 0x67, 0xc1, 0x1f, 0x47, 0xf7, 0xa7, 0x0f, 0xa9, 0xbc, 0x70,
2291 0x59, 0x8e, 0xce, 0x3f, 0xf2, 0x83, 0xe5, 0xae, 0x04, 0xf1, 0x05, 0x35,
2292 0xd3, 0x49, 0xc2, 0x31, 0x34, 0x9a, 0xf8, 0x07, 0x1a, 0x22, 0x32, 0x3a,
2293 0x6e, 0x95, 0x10, 0x39,
2295 static const struct drbg_kat_no_reseed kat77_t = {
2296 1, kat77_entropyin, kat77_nonce, kat77_persstr,
2297 kat77_addin0, kat77_addin1, kat77_retbits
2299 static const struct drbg_kat kat77 = {
2300 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat77_t
2303 static const unsigned char kat78_entropyin[] = {
2304 0x09, 0x2f, 0xfe, 0x74, 0x57, 0xd6, 0x17, 0x3e, 0x67, 0x13, 0xb0, 0xaf,
2305 0x76, 0x52, 0x1d, 0x82,
2307 static const unsigned char kat78_nonce[] = {
2308 0xd0, 0xb8, 0xca, 0xe6, 0xab, 0x9e, 0x29, 0xac,
2310 static const unsigned char kat78_persstr[] = {0};
2311 static const unsigned char kat78_addin0[] = {
2312 0xe3, 0x1a, 0xf5, 0xe1, 0x81, 0xc4, 0x34, 0x6e, 0x42, 0x3e, 0xbc, 0x1f,
2313 0xf9, 0xf4, 0x6d, 0xdd,
2315 static const unsigned char kat78_addin1[] = {
2316 0x02, 0xb9, 0x49, 0xd1, 0x34, 0xfc, 0x89, 0x68, 0xba, 0x51, 0x8f, 0xda,
2317 0x3b, 0x42, 0xc9, 0x7f,
2319 static const unsigned char kat78_retbits[] = {
2320 0x0b, 0x64, 0xd9, 0xc6, 0x1d, 0x1f, 0x23, 0x44, 0x0c, 0xe5, 0x7d, 0xbf,
2321 0x46, 0x5f, 0x8c, 0x62, 0x9a, 0x9f, 0xfe, 0xdd, 0x16, 0x43, 0x99, 0xab,
2322 0x84, 0xfc, 0x11, 0x84, 0x66, 0xa5, 0x67, 0x9b, 0xb2, 0xd9, 0xc8, 0x05,
2323 0xea, 0x9d, 0x29, 0x49, 0x72, 0x61, 0xea, 0x58, 0xbd, 0x8f, 0xa4, 0x5c,
2324 0xf2, 0x4e, 0x21, 0x2c, 0x07, 0x7b, 0xab, 0xa4, 0xd4, 0xe5, 0x73, 0x8b,
2325 0xb8, 0x83, 0xc8, 0x83,
2327 static const struct drbg_kat_no_reseed kat78_t = {
2328 2, kat78_entropyin, kat78_nonce, kat78_persstr,
2329 kat78_addin0, kat78_addin1, kat78_retbits
2331 static const struct drbg_kat kat78 = {
2332 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat78_t
2335 static const unsigned char kat79_entropyin[] = {
2336 0xa7, 0xa4, 0x78, 0x41, 0xcf, 0x1a, 0x75, 0xee, 0x96, 0x93, 0x5f, 0x52,
2337 0xa3, 0x32, 0x2d, 0x9d,
2339 static const unsigned char kat79_nonce[] = {
2340 0x5b, 0x48, 0xc3, 0xc3, 0x47, 0x39, 0x46, 0x56,
2342 static const unsigned char kat79_persstr[] = {0};
2343 static const unsigned char kat79_addin0[] = {
2344 0xaa, 0xc2, 0x03, 0x1f, 0x6a, 0xa4, 0x0f, 0x08, 0x75, 0x49, 0x33, 0x70,
2345 0x92, 0x7c, 0x7c, 0xa8,
2347 static const unsigned char kat79_addin1[] = {
2348 0x1a, 0x67, 0x44, 0xd0, 0x3f, 0xc2, 0x15, 0x12, 0x94, 0x70, 0x7c, 0x3b,
2349 0xce, 0xa8, 0x84, 0x02,
2351 static const unsigned char kat79_retbits[] = {
2352 0xb4, 0x67, 0x48, 0x67, 0xcb, 0x6c, 0xd4, 0xfa, 0xde, 0x78, 0x46, 0xf4,
2353 0x92, 0xbd, 0x9e, 0xca, 0x69, 0xc1, 0x33, 0xf1, 0x17, 0x1c, 0xc6, 0x0b,
2354 0x6c, 0xd7, 0x5f, 0x22, 0xe2, 0xba, 0x7e, 0x70, 0x20, 0x7c, 0xa3, 0x8b,
2355 0xdc, 0xef, 0x17, 0xac, 0x15, 0xe4, 0x88, 0x49, 0xba, 0x13, 0x0d, 0x5f,
2356 0xb8, 0x10, 0x84, 0x4c, 0x25, 0x39, 0xfe, 0xc5, 0x19, 0xc4, 0xfa, 0x97,
2357 0x7f, 0xfa, 0x07, 0x38,
2359 static const struct drbg_kat_no_reseed kat79_t = {
2360 3, kat79_entropyin, kat79_nonce, kat79_persstr,
2361 kat79_addin0, kat79_addin1, kat79_retbits
2363 static const struct drbg_kat kat79 = {
2364 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat79_t
2367 static const unsigned char kat80_entropyin[] = {
2368 0x52, 0x89, 0xc3, 0x33, 0xce, 0x1c, 0xee, 0xf5, 0x6a, 0x19, 0xa1, 0x11,
2369 0xe9, 0x20, 0x1a, 0x38,
2371 static const unsigned char kat80_nonce[] = {
2372 0xdb, 0xd6, 0xb7, 0x6b, 0x1f, 0xdf, 0x5d, 0x1b,
2374 static const unsigned char kat80_persstr[] = {0};
2375 static const unsigned char kat80_addin0[] = {
2376 0xf1, 0xfa, 0x6e, 0xc8, 0xca, 0xf9, 0x4f, 0x65, 0xf1, 0x2e, 0x9c, 0x0d,
2377 0x8f, 0x57, 0x04, 0xf6,
2379 static const unsigned char kat80_addin1[] = {
2380 0x6e, 0xb6, 0xa5, 0x57, 0xf1, 0x70, 0x18, 0x83, 0x0b, 0x5d, 0x72, 0xb6,
2381 0x7d, 0x32, 0x22, 0x63,
2383 static const unsigned char kat80_retbits[] = {
2384 0x39, 0xec, 0x96, 0xbc, 0x71, 0x6e, 0x1d, 0x21, 0x48, 0x80, 0xd1, 0xf4,
2385 0xb8, 0xa9, 0x84, 0xbb, 0x83, 0x39, 0x94, 0x53, 0xec, 0x1e, 0xb9, 0xf3,
2386 0x71, 0x28, 0x2d, 0x65, 0x8e, 0x32, 0xd7, 0x39, 0xb4, 0x89, 0xf4, 0xc5,
2387 0xee, 0xae, 0x62, 0xa8, 0xfe, 0xe8, 0xe0, 0x84, 0xee, 0xae, 0x6d, 0x01,
2388 0xcc, 0xa0, 0xad, 0x80, 0xda, 0x1c, 0x53, 0x23, 0x0f, 0x8a, 0x1f, 0xaf,
2389 0x7c, 0x33, 0x5e, 0xdf,
2391 static const struct drbg_kat_no_reseed kat80_t = {
2392 4, kat80_entropyin, kat80_nonce, kat80_persstr,
2393 kat80_addin0, kat80_addin1, kat80_retbits
2395 static const struct drbg_kat kat80 = {
2396 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat80_t
2399 static const unsigned char kat81_entropyin[] = {
2400 0x4f, 0x05, 0xef, 0x26, 0xc6, 0x85, 0x44, 0x4d, 0x6e, 0x65, 0xd8, 0xf2,
2401 0x6e, 0x0f, 0x2e, 0xf2,
2403 static const unsigned char kat81_nonce[] = {
2404 0xd0, 0xab, 0x06, 0x6c, 0x7a, 0x49, 0x03, 0xb7,
2406 static const unsigned char kat81_persstr[] = {0};
2407 static const unsigned char kat81_addin0[] = {
2408 0xd2, 0x75, 0x42, 0x60, 0x43, 0xa8, 0x2d, 0xe2, 0x0f, 0x89, 0xf1, 0xcb,
2409 0x2c, 0xff, 0x5c, 0x9b,
2411 static const unsigned char kat81_addin1[] = {
2412 0x02, 0xa3, 0x27, 0x63, 0xed, 0x9a, 0xab, 0x16, 0x72, 0x82, 0xd0, 0xa0,
2413 0x97, 0xf3, 0x10, 0x3e,
2415 static const unsigned char kat81_retbits[] = {
2416 0xaf, 0xa2, 0xd3, 0x7c, 0xc1, 0xc7, 0x9d, 0x20, 0xa6, 0x10, 0x4d, 0x67,
2417 0x29, 0xfc, 0x75, 0x44, 0x36, 0x1b, 0x95, 0xd2, 0x36, 0x33, 0x48, 0x7e,
2418 0x8b, 0xb2, 0x82, 0xb2, 0x77, 0xe2, 0x5f, 0x8a, 0xd5, 0x31, 0x36, 0x10,
2419 0x9b, 0x21, 0xc3, 0x80, 0xaa, 0x05, 0xe4, 0x1d, 0xd9, 0xef, 0xd8, 0xad,
2420 0xf4, 0x6b, 0x7d, 0x69, 0x5b, 0xba, 0xf5, 0xb0, 0x30, 0x72, 0x16, 0xa1,
2421 0x94, 0xfd, 0x91, 0x28,
2423 static const struct drbg_kat_no_reseed kat81_t = {
2424 5, kat81_entropyin, kat81_nonce, kat81_persstr,
2425 kat81_addin0, kat81_addin1, kat81_retbits
2427 static const struct drbg_kat kat81 = {
2428 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat81_t
2431 static const unsigned char kat82_entropyin[] = {
2432 0x0c, 0x2c, 0xcf, 0xd6, 0x5c, 0x23, 0xbc, 0x06, 0x93, 0xc9, 0xd4, 0x66,
2433 0x7a, 0x94, 0x2b, 0x42,
2435 static const unsigned char kat82_nonce[] = {
2436 0xc0, 0x8d, 0x55, 0x22, 0x8f, 0xe8, 0x4b, 0xd7,
2438 static const unsigned char kat82_persstr[] = {0};
2439 static const unsigned char kat82_addin0[] = {
2440 0xcc, 0x01, 0x7b, 0xb7, 0x96, 0x2d, 0xa6, 0xdb, 0x0f, 0x51, 0x7b, 0xe9,
2441 0x18, 0x3f, 0xa6, 0xf4,
2443 static const unsigned char kat82_addin1[] = {
2444 0xc4, 0x24, 0xaa, 0x0c, 0xe8, 0x4a, 0x80, 0x7a, 0x78, 0xb7, 0xb7, 0x32,
2445 0x11, 0x3c, 0x22, 0xa1,
2447 static const unsigned char kat82_retbits[] = {
2448 0xcb, 0x55, 0x6f, 0x6d, 0x22, 0x3a, 0x51, 0xa2, 0x00, 0xd7, 0x35, 0xf2,
2449 0xf4, 0xba, 0x21, 0x7a, 0x67, 0x2e, 0xf6, 0xbc, 0x14, 0x51, 0x97, 0x6d,
2450 0x1d, 0x05, 0xb4, 0x4a, 0x2c, 0x0d, 0x54, 0x27, 0x8a, 0xf7, 0x47, 0x83,
2451 0x79, 0x22, 0xcd, 0x0b, 0x28, 0xd7, 0xaa, 0xa2, 0xa8, 0x7e, 0x23, 0x05,
2452 0x5e, 0x18, 0xd6, 0x7d, 0x76, 0xfa, 0x90, 0x72, 0x82, 0x94, 0xab, 0xa4,
2453 0xac, 0x36, 0x96, 0x5e,
2455 static const struct drbg_kat_no_reseed kat82_t = {
2456 6, kat82_entropyin, kat82_nonce, kat82_persstr,
2457 kat82_addin0, kat82_addin1, kat82_retbits
2459 static const struct drbg_kat kat82 = {
2460 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat82_t
2463 static const unsigned char kat83_entropyin[] = {
2464 0x3b, 0x74, 0x81, 0x3e, 0xeb, 0xf5, 0xf5, 0xf2, 0xa6, 0xa5, 0xa4, 0xf3,
2465 0xf9, 0x07, 0xdc, 0xb8,
2467 static const unsigned char kat83_nonce[] = {
2468 0x35, 0xda, 0xa2, 0xef, 0xda, 0xd8, 0x8f, 0xb8,
2470 static const unsigned char kat83_persstr[] = {0};
2471 static const unsigned char kat83_addin0[] = {
2472 0x5e, 0x0a, 0xe3, 0x69, 0xb6, 0xe8, 0x50, 0xed, 0x30, 0xf9, 0xae, 0x64,
2473 0xfe, 0x10, 0x5a, 0xf3,
2475 static const unsigned char kat83_addin1[] = {
2476 0x3e, 0x69, 0x7b, 0xb2, 0xbf, 0x25, 0x85, 0x26, 0x45, 0xf2, 0xd1, 0x6f,
2477 0x67, 0x6f, 0x90, 0x78,
2479 static const unsigned char kat83_retbits[] = {
2480 0x79, 0x0b, 0x1f, 0x6c, 0xcd, 0xf3, 0x52, 0xde, 0xc0, 0xe5, 0x7f, 0xa0,
2481 0xc7, 0x72, 0xc6, 0x4d, 0x77, 0x77, 0xe4, 0xbd, 0xb9, 0xff, 0x8a, 0x91,
2482 0xda, 0x01, 0x89, 0x02, 0x20, 0x3d, 0xb5, 0x82, 0xf9, 0x01, 0xc2, 0x0d,
2483 0xd2, 0x53, 0x61, 0xdf, 0x22, 0xe7, 0x17, 0x12, 0xa4, 0x97, 0x57, 0x8d,
2484 0x22, 0xee, 0xa8, 0x52, 0x46, 0xce, 0xfd, 0x42, 0x5b, 0x08, 0xf1, 0x50,
2485 0x74, 0x34, 0x1f, 0x39,
2487 static const struct drbg_kat_no_reseed kat83_t = {
2488 7, kat83_entropyin, kat83_nonce, kat83_persstr,
2489 kat83_addin0, kat83_addin1, kat83_retbits
2491 static const struct drbg_kat kat83 = {
2492 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat83_t
2495 static const unsigned char kat84_entropyin[] = {
2496 0x46, 0x26, 0x07, 0xb2, 0xb7, 0x7b, 0x90, 0x3f, 0xdb, 0xd4, 0x2b, 0xf1,
2497 0xd7, 0x7b, 0xc8, 0x1a,
2499 static const unsigned char kat84_nonce[] = {
2500 0xb5, 0x4d, 0x43, 0x00, 0x6a, 0xde, 0x2a, 0x7c,
2502 static const unsigned char kat84_persstr[] = {0};
2503 static const unsigned char kat84_addin0[] = {
2504 0x61, 0x05, 0xc5, 0xdd, 0xed, 0xcc, 0x74, 0x46, 0x65, 0x91, 0x5e, 0xbe,
2505 0x48, 0xad, 0x3b, 0x54,
2507 static const unsigned char kat84_addin1[] = {
2508 0xfd, 0xde, 0xe2, 0x35, 0xc3, 0x7e, 0xd4, 0xbc, 0x21, 0xea, 0xe0, 0x8e,
2509 0x61, 0x53, 0x33, 0x1f,
2511 static const unsigned char kat84_retbits[] = {
2512 0x16, 0x33, 0x9e, 0x91, 0x0e, 0xaf, 0x9b, 0xad, 0x90, 0x4a, 0x7b, 0x3f,
2513 0x9b, 0x2e, 0x02, 0x41, 0xd2, 0xb4, 0x66, 0x5d, 0x1f, 0x9c, 0x76, 0x55,
2514 0xf9, 0x21, 0x7e, 0x34, 0x25, 0x3a, 0xcc, 0x33, 0x0d, 0xfc, 0x98, 0x81,
2515 0x7d, 0x97, 0x81, 0x86, 0xf8, 0xad, 0x77, 0xb1, 0x0f, 0x38, 0xdd, 0x72,
2516 0xf4, 0x71, 0xb4, 0x61, 0x5b, 0x28, 0xf3, 0xa3, 0x9c, 0x40, 0x66, 0x23,
2517 0xea, 0x5d, 0x63, 0x77,
2519 static const struct drbg_kat_no_reseed kat84_t = {
2520 8, kat84_entropyin, kat84_nonce, kat84_persstr,
2521 kat84_addin0, kat84_addin1, kat84_retbits
2523 static const struct drbg_kat kat84 = {
2524 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat84_t
2527 static const unsigned char kat85_entropyin[] = {
2528 0xba, 0x2e, 0xa9, 0x9b, 0x79, 0x2b, 0xde, 0xe8, 0xbd, 0xba, 0xf9, 0xc0,
2529 0x5a, 0xb7, 0xb6, 0x33,
2531 static const unsigned char kat85_nonce[] = {
2532 0x44, 0x53, 0x34, 0x46, 0x44, 0xd4, 0x34, 0xa5,
2534 static const unsigned char kat85_persstr[] = {0};
2535 static const unsigned char kat85_addin0[] = {
2536 0x81, 0x72, 0x7d, 0x30, 0xd6, 0x4a, 0xe0, 0x7f, 0xf6, 0x15, 0x69, 0xfc,
2537 0x7a, 0x35, 0x0c, 0xcc,
2539 static const unsigned char kat85_addin1[] = {
2540 0x65, 0x56, 0xf6, 0x2f, 0x75, 0xd5, 0x26, 0x84, 0x93, 0xcc, 0xa5, 0x12,
2541 0x01, 0x14, 0x93, 0x4c,
2543 static const unsigned char kat85_retbits[] = {
2544 0x2a, 0x3b, 0x39, 0x87, 0x02, 0xbc, 0x5f, 0xff, 0xd9, 0x14, 0xf9, 0x16,
2545 0x72, 0xaa, 0x05, 0xbe, 0xb6, 0x87, 0x82, 0xe0, 0xa6, 0x22, 0xf6, 0x7b,
2546 0x21, 0x82, 0x6c, 0x23, 0x32, 0x6c, 0x50, 0x78, 0xcc, 0xda, 0x6a, 0xa3,
2547 0xdb, 0x01, 0x4c, 0xec, 0x56, 0xa0, 0x65, 0x63, 0x6b, 0x80, 0x57, 0xe8,
2548 0x12, 0xa6, 0xf4, 0xb7, 0xc6, 0xc4, 0xde, 0x6e, 0x9f, 0x06, 0xaa, 0x53,
2549 0x77, 0xb2, 0x8b, 0xe6,
2551 static const struct drbg_kat_no_reseed kat85_t = {
2552 9, kat85_entropyin, kat85_nonce, kat85_persstr,
2553 kat85_addin0, kat85_addin1, kat85_retbits
2555 static const struct drbg_kat kat85 = {
2556 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat85_t
2559 static const unsigned char kat86_entropyin[] = {
2560 0x61, 0xcf, 0x4e, 0x09, 0xd9, 0xa4, 0x6a, 0xf3, 0x18, 0xc7, 0x06, 0x42,
2561 0x5c, 0xd3, 0x50, 0xfb,
2563 static const unsigned char kat86_nonce[] = {
2564 0x28, 0xec, 0x9c, 0x4a, 0xe9, 0x8f, 0x05, 0x74,
2566 static const unsigned char kat86_persstr[] = {0};
2567 static const unsigned char kat86_addin0[] = {
2568 0x7f, 0xc3, 0xbf, 0x8a, 0xd3, 0x3e, 0x59, 0x61, 0x74, 0x5b, 0xb2, 0xae,
2569 0x7c, 0x39, 0x9b, 0xa0,
2571 static const unsigned char kat86_addin1[] = {
2572 0x31, 0x35, 0x71, 0xd3, 0x0d, 0xc5, 0x90, 0x9a, 0x03, 0x38, 0x8c, 0x69,
2573 0x3f, 0x4e, 0xf9, 0x4c,
2575 static const unsigned char kat86_retbits[] = {
2576 0xd2, 0x25, 0xf0, 0xc6, 0x5e, 0x9a, 0xe8, 0xc3, 0x64, 0x93, 0xb0, 0x09,
2577 0x47, 0x6f, 0x5a, 0x56, 0x36, 0xd4, 0x52, 0x54, 0x4c, 0xe1, 0x6b, 0x99,
2578 0x1c, 0x73, 0xd6, 0xea, 0xe5, 0xef, 0x5e, 0xff, 0x3b, 0x74, 0xe0, 0x03,
2579 0x28, 0xf8, 0x7f, 0x20, 0x30, 0xf3, 0xdf, 0x53, 0xb2, 0xfc, 0x26, 0x47,
2580 0xd6, 0x3a, 0x28, 0xe5, 0xc7, 0xb5, 0x83, 0x44, 0xed, 0x99, 0xc5, 0xd0,
2581 0xbc, 0x62, 0x93, 0xb4,
2583 static const struct drbg_kat_no_reseed kat86_t = {
2584 10, kat86_entropyin, kat86_nonce, kat86_persstr,
2585 kat86_addin0, kat86_addin1, kat86_retbits
2587 static const struct drbg_kat kat86 = {
2588 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat86_t
2591 static const unsigned char kat87_entropyin[] = {
2592 0xdd, 0x6c, 0x7d, 0xba, 0xc4, 0xfc, 0x4c, 0x8d, 0x9c, 0x69, 0xce, 0x4d,
2593 0xcf, 0x43, 0xb6, 0x67,
2595 static const unsigned char kat87_nonce[] = {
2596 0x83, 0x26, 0x16, 0x1c, 0x2a, 0xac, 0x48, 0x06,
2598 static const unsigned char kat87_persstr[] = {0};
2599 static const unsigned char kat87_addin0[] = {
2600 0xcf, 0x95, 0x9f, 0x9e, 0x93, 0x89, 0x09, 0xd9, 0x5c, 0x47, 0x25, 0xdc,
2601 0x39, 0xd7, 0xef, 0xd7,
2603 static const unsigned char kat87_addin1[] = {
2604 0xe4, 0x37, 0xd2, 0x26, 0xc4, 0x02, 0x68, 0xcb, 0x9f, 0x63, 0x94, 0x5c,
2605 0xbc, 0xe5, 0x4b, 0x2d,
2607 static const unsigned char kat87_retbits[] = {
2608 0x90, 0xdd, 0xc5, 0x3c, 0x48, 0x04, 0x1f, 0x0c, 0x45, 0x01, 0xff, 0xee,
2609 0x61, 0x7b, 0x3a, 0x35, 0x83, 0xcb, 0xf5, 0x1a, 0x4c, 0x45, 0xad, 0x7b,
2610 0xa5, 0xb3, 0xdd, 0x34, 0x65, 0xff, 0x13, 0x92, 0xbd, 0x2e, 0xb4, 0x65,
2611 0x1a, 0xc2, 0x2a, 0x34, 0xa0, 0xf5, 0x37, 0x72, 0x01, 0x27, 0x12, 0xf2,
2612 0x39, 0x31, 0xba, 0x8f, 0x0a, 0x3b, 0x74, 0xfa, 0xe0, 0xa1, 0x6b, 0xd4,
2613 0xa1, 0x88, 0x35, 0x13,
2615 static const struct drbg_kat_no_reseed kat87_t = {
2616 11, kat87_entropyin, kat87_nonce, kat87_persstr,
2617 kat87_addin0, kat87_addin1, kat87_retbits
2619 static const struct drbg_kat kat87 = {
2620 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat87_t
2623 static const unsigned char kat88_entropyin[] = {
2624 0xdf, 0x4f, 0xef, 0xc1, 0xc3, 0xd4, 0x03, 0xfb, 0x17, 0x9b, 0x9b, 0x95,
2625 0x77, 0x53, 0x81, 0xe3,
2627 static const unsigned char kat88_nonce[] = {
2628 0xd6, 0x84, 0x83, 0xae, 0xe4, 0x2c, 0xfc, 0x00,
2630 static const unsigned char kat88_persstr[] = {0};
2631 static const unsigned char kat88_addin0[] = {
2632 0xe8, 0x77, 0xeb, 0x37, 0x51, 0xe2, 0xba, 0xfe, 0xa0, 0x33, 0xac, 0x8c,
2633 0xc5, 0xba, 0x66, 0xf6,
2635 static const unsigned char kat88_addin1[] = {
2636 0x79, 0x56, 0x87, 0x40, 0x22, 0xb5, 0x0a, 0xa0, 0x32, 0xba, 0xfa, 0x29,
2637 0xe7, 0x21, 0xf3, 0x56,
2639 static const unsigned char kat88_retbits[] = {
2640 0x6a, 0xda, 0x06, 0x20, 0xd4, 0x29, 0xcd, 0x38, 0x75, 0x4e, 0x55, 0x9a,
2641 0x2e, 0xb8, 0x8c, 0x08, 0x26, 0x6c, 0xd9, 0xcb, 0xac, 0x24, 0x48, 0xb2,
2642 0xb8, 0xa0, 0x5d, 0x92, 0x7d, 0xa1, 0x72, 0x59, 0x19, 0x9d, 0xbc, 0xc5,
2643 0xeb, 0x0b, 0x7a, 0xde, 0xe6, 0x1c, 0x60, 0x74, 0xae, 0x2e, 0x7a, 0xf6,
2644 0xb2, 0xc9, 0xb1, 0xfd, 0x52, 0x89, 0xfb, 0xc3, 0xd9, 0xbe, 0x30, 0x85,
2645 0x84, 0xd0, 0xae, 0x4a,
2647 static const struct drbg_kat_no_reseed kat88_t = {
2648 12, kat88_entropyin, kat88_nonce, kat88_persstr,
2649 kat88_addin0, kat88_addin1, kat88_retbits
2651 static const struct drbg_kat kat88 = {
2652 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat88_t
2655 static const unsigned char kat89_entropyin[] = {
2656 0x62, 0x0e, 0xa3, 0x17, 0x34, 0x4d, 0x86, 0x85, 0x8d, 0x64, 0xf6, 0xbb,
2657 0x05, 0xd4, 0x47, 0x97,
2659 static const unsigned char kat89_nonce[] = {
2660 0xf6, 0xdd, 0xc5, 0x84, 0x4f, 0xbd, 0x73, 0x9e,
2662 static const unsigned char kat89_persstr[] = {0};
2663 static const unsigned char kat89_addin0[] = {
2664 0x3c, 0xcf, 0xb0, 0x69, 0xef, 0x27, 0xf8, 0x64, 0xe3, 0xb7, 0x31, 0xd9,
2665 0x4c, 0x3f, 0x2c, 0x6c,
2667 static const unsigned char kat89_addin1[] = {
2668 0x80, 0x85, 0x7d, 0x3f, 0x59, 0x8b, 0x1b, 0x16, 0x01, 0x4e, 0x6a, 0x35,
2669 0x49, 0xa2, 0xd2, 0x2c,
2671 static const unsigned char kat89_retbits[] = {
2672 0xd7, 0xa7, 0x87, 0xbe, 0xeb, 0x7e, 0xfc, 0x9c, 0x58, 0x4f, 0x93, 0x34,
2673 0x55, 0x33, 0xa5, 0x99, 0xed, 0x61, 0x5e, 0xb2, 0x13, 0x6b, 0x8f, 0xb8,
2674 0x74, 0xa7, 0xf5, 0xa7, 0x1a, 0xea, 0x98, 0xf8, 0x0c, 0x56, 0x92, 0x30,
2675 0x98, 0x56, 0x7a, 0xa3, 0xb4, 0xc3, 0x16, 0x96, 0x82, 0x6f, 0x08, 0x16,
2676 0x76, 0xa3, 0xce, 0xed, 0x1d, 0x91, 0x4c, 0x94, 0x9d, 0x54, 0x23, 0x90,
2677 0xb6, 0x99, 0xd3, 0xfe,
2679 static const struct drbg_kat_no_reseed kat89_t = {
2680 13, kat89_entropyin, kat89_nonce, kat89_persstr,
2681 kat89_addin0, kat89_addin1, kat89_retbits
2683 static const struct drbg_kat kat89 = {
2684 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat89_t
2687 static const unsigned char kat90_entropyin[] = {
2688 0xd8, 0xba, 0x9d, 0x16, 0xa0, 0x07, 0x0f, 0xbd, 0xf5, 0x10, 0x9d, 0x3c,
2689 0x1e, 0xd8, 0x59, 0x16,
2691 static const unsigned char kat90_nonce[] = {
2692 0x29, 0xce, 0x07, 0xdd, 0xa6, 0x1b, 0x50, 0x14,
2694 static const unsigned char kat90_persstr[] = {0};
2695 static const unsigned char kat90_addin0[] = {
2696 0x16, 0x0a, 0xd7, 0x76, 0x75, 0xc6, 0x4c, 0x74, 0x87, 0xee, 0xdb, 0x34,
2697 0x34, 0x37, 0x00, 0xc0,
2699 static const unsigned char kat90_addin1[] = {
2700 0x16, 0x32, 0x54, 0x60, 0x58, 0xf1, 0x9e, 0xe1, 0xb8, 0x49, 0xe5, 0xd2,
2701 0x7e, 0x2d, 0x75, 0x5a,
2703 static const unsigned char kat90_retbits[] = {
2704 0xe0, 0x5c, 0x62, 0xcb, 0xef, 0xaf, 0x03, 0x80, 0x43, 0xd4, 0x9c, 0x97,
2705 0x6b, 0xa8, 0x55, 0x21, 0xc2, 0x06, 0x71, 0xd9, 0xf8, 0x1c, 0xeb, 0xf5,
2706 0xa8, 0x75, 0x81, 0x65, 0x9e, 0x3d, 0x18, 0x19, 0x90, 0x8e, 0x84, 0xec,
2707 0x01, 0x93, 0xa5, 0x30, 0xf3, 0x10, 0xcc, 0x35, 0x44, 0xba, 0x90, 0xad,
2708 0x92, 0xa6, 0xc9, 0x9d, 0x3a, 0x1a, 0xf5, 0x5b, 0x5a, 0xed, 0x72, 0x87,
2709 0x1d, 0xb8, 0x90, 0x02,
2711 static const struct drbg_kat_no_reseed kat90_t = {
2712 14, kat90_entropyin, kat90_nonce, kat90_persstr,
2713 kat90_addin0, kat90_addin1, kat90_retbits
2715 static const struct drbg_kat kat90 = {
2716 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat90_t
2719 static const unsigned char kat91_entropyin[] = {
2720 0x0a, 0xf1, 0x3f, 0x64, 0x59, 0x02, 0xaf, 0x49, 0xe9, 0xa7, 0xce, 0xd6,
2721 0xe3, 0x6a, 0x21, 0x0d,
2723 static const unsigned char kat91_nonce[] = {
2724 0xc3, 0xbf, 0xf2, 0x91, 0xa1, 0x1a, 0xc4, 0x97,
2726 static const unsigned char kat91_persstr[] = {
2727 0xe8, 0xf1, 0xd1, 0xb4, 0x73, 0x1c, 0x4d, 0x57, 0xd7, 0xea, 0xd9, 0xc2,
2728 0xf6, 0x00, 0xfd, 0xc6,
2730 static const unsigned char kat91_addin0[] = {0};
2731 static const unsigned char kat91_addin1[] = {0};
2732 static const unsigned char kat91_retbits[] = {
2733 0xac, 0x6f, 0x94, 0x5a, 0x4b, 0x9f, 0xd3, 0xb4, 0x7c, 0x74, 0x37, 0x9e,
2734 0xb1, 0xf2, 0xa7, 0xbb, 0xed, 0xf8, 0xee, 0xc6, 0x8e, 0xfd, 0x3c, 0x7a,
2735 0x6c, 0xf6, 0x8c, 0x54, 0xae, 0x7a, 0x3f, 0x7b, 0xe7, 0x28, 0x0f, 0x45,
2736 0x9c, 0x2e, 0x0b, 0x72, 0xaf, 0xa4, 0x5c, 0xeb, 0xbe, 0xbb, 0xa1, 0x7c,
2737 0x86, 0x7e, 0x96, 0x11, 0xc8, 0x96, 0xa5, 0x7d, 0x51, 0x5b, 0xeb, 0x06,
2738 0xa7, 0xb9, 0x1f, 0x4c,
2740 static const struct drbg_kat_no_reseed kat91_t = {
2741 0, kat91_entropyin, kat91_nonce, kat91_persstr,
2742 kat91_addin0, kat91_addin1, kat91_retbits
2744 static const struct drbg_kat kat91 = {
2745 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat91_t
2748 static const unsigned char kat92_entropyin[] = {
2749 0x0e, 0x11, 0x3f, 0x47, 0xf2, 0xfc, 0x76, 0xe8, 0x3e, 0x2d, 0x13, 0xd5,
2750 0x72, 0x24, 0x56, 0x08,
2752 static const unsigned char kat92_nonce[] = {
2753 0x5f, 0xf8, 0x5c, 0xc6, 0xa5, 0x34, 0xf1, 0x5a,
2755 static const unsigned char kat92_persstr[] = {
2756 0x50, 0x25, 0x06, 0x68, 0xe5, 0x9d, 0xe3, 0x5f, 0xde, 0x91, 0xe0, 0x8f,
2757 0xe1, 0x84, 0x84, 0xab,
2759 static const unsigned char kat92_addin0[] = {0};
2760 static const unsigned char kat92_addin1[] = {0};
2761 static const unsigned char kat92_retbits[] = {
2762 0xdc, 0xc6, 0x4a, 0x96, 0x6a, 0x52, 0xd6, 0x00, 0x8d, 0xbe, 0x07, 0xa2,
2763 0x48, 0x4b, 0xca, 0xad, 0x67, 0xb2, 0x54, 0xd6, 0xf2, 0x46, 0xe4, 0x50,
2764 0x1d, 0x98, 0x64, 0xb6, 0x4a, 0xd8, 0xb7, 0xed, 0xf1, 0x0f, 0xdb, 0xc6,
2765 0xdd, 0xc4, 0x14, 0xa9, 0xb4, 0x31, 0xb0, 0x58, 0xa7, 0xee, 0x5c, 0xed,
2766 0x23, 0xf7, 0xa6, 0xac, 0x7e, 0xea, 0x0f, 0xe6, 0x13, 0x1c, 0x9e, 0xb7,
2767 0x41, 0x2e, 0x68, 0xdf,
2769 static const struct drbg_kat_no_reseed kat92_t = {
2770 1, kat92_entropyin, kat92_nonce, kat92_persstr,
2771 kat92_addin0, kat92_addin1, kat92_retbits
2773 static const struct drbg_kat kat92 = {
2774 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat92_t
2777 static const unsigned char kat93_entropyin[] = {
2778 0x16, 0xd2, 0xa2, 0x33, 0xf0, 0x49, 0x7c, 0x75, 0x1d, 0xdd, 0x85, 0xef,
2779 0x7c, 0xd8, 0x62, 0xe6,
2781 static const unsigned char kat93_nonce[] = {
2782 0x7e, 0x7e, 0x1a, 0xab, 0x1b, 0x82, 0x67, 0x5d,
2784 static const unsigned char kat93_persstr[] = {
2785 0x15, 0xf8, 0x1e, 0x40, 0xa2, 0x49, 0x3b, 0x85, 0x9c, 0xce, 0xd3, 0x3c,
2786 0xdf, 0x7b, 0x75, 0x90,
2788 static const unsigned char kat93_addin0[] = {0};
2789 static const unsigned char kat93_addin1[] = {0};
2790 static const unsigned char kat93_retbits[] = {
2791 0xc5, 0x20, 0x97, 0xd2, 0xd0, 0x09, 0xdc, 0xe7, 0xcb, 0xd4, 0x6d, 0x74,
2792 0x0d, 0xe5, 0x4d, 0x70, 0xc0, 0x73, 0x2f, 0x96, 0xfa, 0xc0, 0xbd, 0x16,
2793 0x9f, 0x38, 0x56, 0xe5, 0x0f, 0x9e, 0x46, 0x01, 0x67, 0x25, 0x38, 0xb2,
2794 0x3f, 0x37, 0x1f, 0x78, 0x0e, 0x61, 0xe8, 0x2f, 0x2d, 0xb9, 0x9e, 0xf3,
2795 0x83, 0x40, 0x08, 0xaa, 0xdc, 0x26, 0xc2, 0x78, 0x55, 0xa6, 0x86, 0x96,
2796 0xee, 0x81, 0x2c, 0x9c,
2798 static const struct drbg_kat_no_reseed kat93_t = {
2799 2, kat93_entropyin, kat93_nonce, kat93_persstr,
2800 kat93_addin0, kat93_addin1, kat93_retbits
2802 static const struct drbg_kat kat93 = {
2803 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat93_t
2806 static const unsigned char kat94_entropyin[] = {
2807 0xea, 0x36, 0x89, 0x1e, 0x0d, 0x64, 0x26, 0x94, 0x5a, 0x6e, 0x1f, 0x33,
2808 0x8c, 0x86, 0xca, 0x4b,
2810 static const unsigned char kat94_nonce[] = {
2811 0x89, 0x69, 0x66, 0x60, 0x0e, 0x85, 0xd3, 0xda,
2813 static const unsigned char kat94_persstr[] = {
2814 0xb8, 0xc7, 0x01, 0xa1, 0x1e, 0x7c, 0x00, 0x8e, 0x37, 0xc2, 0x32, 0x62,
2815 0x7c, 0x24, 0xb6, 0xd1,
2817 static const unsigned char kat94_addin0[] = {0};
2818 static const unsigned char kat94_addin1[] = {0};
2819 static const unsigned char kat94_retbits[] = {
2820 0x44, 0x63, 0x60, 0xf1, 0x6b, 0x1e, 0x59, 0xa8, 0x25, 0x96, 0xe6, 0x1d,
2821 0xf2, 0x3a, 0xf1, 0x8f, 0x5a, 0x95, 0xb7, 0xd8, 0xb7, 0xdd, 0x61, 0x72,
2822 0xf3, 0x57, 0x5d, 0x45, 0x25, 0x13, 0x86, 0xb0, 0x4b, 0x69, 0x78, 0x5b,
2823 0xa4, 0x4a, 0x75, 0xeb, 0x2a, 0x54, 0x15, 0x71, 0x3a, 0x84, 0x36, 0x5c,
2824 0xac, 0x81, 0xb3, 0x0d, 0xf0, 0xb4, 0x8a, 0x61, 0x09, 0x77, 0xfe, 0x69,
2825 0x61, 0xe7, 0xee, 0x8a,
2827 static const struct drbg_kat_no_reseed kat94_t = {
2828 3, kat94_entropyin, kat94_nonce, kat94_persstr,
2829 kat94_addin0, kat94_addin1, kat94_retbits
2831 static const struct drbg_kat kat94 = {
2832 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat94_t
2835 static const unsigned char kat95_entropyin[] = {
2836 0x3f, 0x41, 0x38, 0xd8, 0x4d, 0x7a, 0xbd, 0x13, 0xbb, 0xe1, 0x5e, 0x18,
2837 0xb2, 0x92, 0xf1, 0x5f,
2839 static const unsigned char kat95_nonce[] = {
2840 0x34, 0x62, 0xe5, 0x2e, 0x82, 0xf2, 0x86, 0x53,
2842 static const unsigned char kat95_persstr[] = {
2843 0x24, 0xc5, 0x17, 0x70, 0x84, 0x95, 0x1c, 0xf5, 0x32, 0xf2, 0x43, 0x2a,
2844 0x18, 0x82, 0x59, 0x6f,
2846 static const unsigned char kat95_addin0[] = {0};
2847 static const unsigned char kat95_addin1[] = {0};
2848 static const unsigned char kat95_retbits[] = {
2849 0xba, 0x2c, 0xa1, 0xe4, 0x43, 0xc7, 0x5d, 0x55, 0xc4, 0x20, 0x65, 0xba,
2850 0x91, 0xf7, 0x7d, 0xb5, 0xb8, 0xde, 0x6c, 0x34, 0x2b, 0x65, 0xa2, 0xc1,
2851 0x49, 0x44, 0x59, 0x79, 0xff, 0x26, 0x3e, 0x9d, 0x01, 0x8f, 0x56, 0x44,
2852 0x30, 0xfe, 0x1e, 0xdb, 0x48, 0xb4, 0x03, 0xce, 0xf2, 0x3f, 0x86, 0x0e,
2853 0xa2, 0x71, 0x46, 0xd8, 0x51, 0x18, 0x43, 0xe0, 0xa3, 0x9f, 0xf3, 0x37,
2854 0xba, 0x74, 0xd2, 0x21,
2856 static const struct drbg_kat_no_reseed kat95_t = {
2857 4, kat95_entropyin, kat95_nonce, kat95_persstr,
2858 kat95_addin0, kat95_addin1, kat95_retbits
2860 static const struct drbg_kat kat95 = {
2861 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat95_t
2864 static const unsigned char kat96_entropyin[] = {
2865 0xa6, 0xae, 0xf8, 0x0f, 0xab, 0x61, 0xe2, 0x7e, 0xf6, 0x11, 0xb8, 0x6f,
2866 0x92, 0x4e, 0x97, 0x6c,
2868 static const unsigned char kat96_nonce[] = {
2869 0x74, 0x27, 0x8f, 0x50, 0x23, 0xc2, 0x55, 0x2c,
2871 static const unsigned char kat96_persstr[] = {
2872 0xa3, 0x85, 0x16, 0x79, 0xe1, 0x12, 0x94, 0x82, 0x01, 0x39, 0x6d, 0x98,
2873 0xd6, 0xbe, 0x5c, 0x13,
2875 static const unsigned char kat96_addin0[] = {0};
2876 static const unsigned char kat96_addin1[] = {0};
2877 static const unsigned char kat96_retbits[] = {
2878 0x68, 0x57, 0x26, 0x82, 0x7f, 0x3d, 0x38, 0x42, 0x7d, 0x07, 0xdf, 0xcf,
2879 0xb6, 0x4a, 0x7f, 0x95, 0xb6, 0xf0, 0x6e, 0xf0, 0x1c, 0xed, 0x28, 0x1d,
2880 0xce, 0x7f, 0x41, 0x30, 0x34, 0x12, 0x36, 0x11, 0x24, 0x36, 0x2b, 0xa5,
2881 0x1c, 0xe8, 0xd2, 0x55, 0x2a, 0xf0, 0x54, 0xa2, 0x0f, 0xda, 0xc9, 0x4e,
2882 0x51, 0x69, 0x16, 0x5b, 0x71, 0x52, 0x67, 0x63, 0x8c, 0x1e, 0x0b, 0x9b,
2883 0x34, 0x52, 0xb5, 0xb7,
2885 static const struct drbg_kat_no_reseed kat96_t = {
2886 5, kat96_entropyin, kat96_nonce, kat96_persstr,
2887 kat96_addin0, kat96_addin1, kat96_retbits
2889 static const struct drbg_kat kat96 = {
2890 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat96_t
2893 static const unsigned char kat97_entropyin[] = {
2894 0x01, 0x64, 0xae, 0x53, 0xe5, 0x33, 0xf2, 0xf1, 0x22, 0x2d, 0x4a, 0xa2,
2895 0x72, 0x76, 0x81, 0x4c,
2897 static const unsigned char kat97_nonce[] = {
2898 0x26, 0x05, 0xf5, 0x89, 0xcb, 0x1b, 0xea, 0x9c,
2900 static const unsigned char kat97_persstr[] = {
2901 0x9d, 0xe7, 0x03, 0xa5, 0xe2, 0xbb, 0xf2, 0xe5, 0x3d, 0x0f, 0xe3, 0xb5,
2902 0x73, 0xf5, 0x2a, 0xcf,
2904 static const unsigned char kat97_addin0[] = {0};
2905 static const unsigned char kat97_addin1[] = {0};
2906 static const unsigned char kat97_retbits[] = {
2907 0xfd, 0x7f, 0x64, 0x62, 0x2e, 0x87, 0xde, 0x3b, 0x66, 0xe1, 0x99, 0x30,
2908 0xcf, 0x4c, 0xcd, 0xc3, 0xe6, 0x72, 0xf5, 0xa4, 0xde, 0xf0, 0xda, 0xdd,
2909 0xb3, 0x71, 0x07, 0x43, 0x0e, 0xc7, 0xf6, 0x91, 0xc6, 0x32, 0x15, 0x45,
2910 0x10, 0x3c, 0x2a, 0x61, 0x4d, 0x7f, 0x0f, 0x33, 0x17, 0x3b, 0xde, 0xc4,
2911 0x20, 0x58, 0x58, 0x22, 0xcd, 0xa8, 0xc2, 0x72, 0x20, 0x19, 0x22, 0xb6,
2912 0x02, 0xf5, 0xd8, 0xa7,
2914 static const struct drbg_kat_no_reseed kat97_t = {
2915 6, kat97_entropyin, kat97_nonce, kat97_persstr,
2916 kat97_addin0, kat97_addin1, kat97_retbits
2918 static const struct drbg_kat kat97 = {
2919 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat97_t
2922 static const unsigned char kat98_entropyin[] = {
2923 0x29, 0xdc, 0x8b, 0xad, 0x50, 0x0c, 0xce, 0x29, 0x5b, 0x9e, 0x86, 0xb2,
2924 0x15, 0x9c, 0x6d, 0xcd,
2926 static const unsigned char kat98_nonce[] = {
2927 0xb6, 0x9a, 0x5a, 0x77, 0x69, 0x4f, 0xc4, 0xa0,
2929 static const unsigned char kat98_persstr[] = {
2930 0xc5, 0x3b, 0x13, 0xaf, 0xbf, 0x21, 0xf1, 0x7e, 0xe9, 0xf4, 0xdd, 0x7c,
2931 0x09, 0x93, 0xe0, 0xf9,
2933 static const unsigned char kat98_addin0[] = {0};
2934 static const unsigned char kat98_addin1[] = {0};
2935 static const unsigned char kat98_retbits[] = {
2936 0x08, 0xc9, 0x7d, 0x63, 0x8b, 0x5d, 0x82, 0x59, 0x93, 0x10, 0x32, 0x5d,
2937 0x3b, 0x1e, 0x63, 0x27, 0x74, 0x1c, 0xd9, 0x18, 0x87, 0xd6, 0x58, 0xb5,
2938 0xd8, 0x15, 0xee, 0xed, 0x7a, 0x72, 0xab, 0x86, 0xe2, 0xfa, 0x17, 0xe9,
2939 0xd0, 0x13, 0xe1, 0x7a, 0x92, 0x14, 0xd6, 0x39, 0x6a, 0xc1, 0x48, 0x1f,
2940 0x76, 0x88, 0x30, 0xa4, 0xd8, 0xc4, 0xfc, 0x39, 0x20, 0x12, 0xe9, 0x07,
2941 0x64, 0x34, 0x93, 0x9f,
2943 static const struct drbg_kat_no_reseed kat98_t = {
2944 7, kat98_entropyin, kat98_nonce, kat98_persstr,
2945 kat98_addin0, kat98_addin1, kat98_retbits
2947 static const struct drbg_kat kat98 = {
2948 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat98_t
2951 static const unsigned char kat99_entropyin[] = {
2952 0xb3, 0xae, 0xe2, 0xcf, 0x80, 0xe3, 0xd0, 0x5a, 0xed, 0xa0, 0xe0, 0x1c,
2953 0xf6, 0x5e, 0xa9, 0x65,
2955 static const unsigned char kat99_nonce[] = {
2956 0x24, 0xb5, 0x8b, 0x7c, 0x6a, 0x99, 0xeb, 0x2a,
2958 static const unsigned char kat99_persstr[] = {
2959 0x73, 0x44, 0x04, 0x3c, 0x84, 0x91, 0x5b, 0xcd, 0xd6, 0xd8, 0x1f, 0x3f,
2960 0xe2, 0x3b, 0xa2, 0x73,
2962 static const unsigned char kat99_addin0[] = {0};
2963 static const unsigned char kat99_addin1[] = {0};
2964 static const unsigned char kat99_retbits[] = {
2965 0xbe, 0x35, 0x3c, 0xf8, 0x32, 0xe8, 0x46, 0x44, 0x4a, 0xf0, 0x01, 0x5e,
2966 0xd0, 0x5d, 0x54, 0xb7, 0x2c, 0x9a, 0x1a, 0x02, 0x31, 0xf2, 0xa4, 0xc4,
2967 0x75, 0x61, 0x17, 0x46, 0xef, 0x86, 0x10, 0x29, 0xe1, 0x88, 0x42, 0xc1,
2968 0xb7, 0x61, 0x48, 0xd2, 0xa3, 0xeb, 0x01, 0x74, 0xa3, 0x0c, 0xad, 0x81,
2969 0xb5, 0x58, 0xd0, 0xd1, 0xe0, 0x1a, 0x8c, 0x7d, 0xd5, 0x10, 0xf0, 0xb5,
2970 0x6f, 0x1f, 0xdd, 0xc3,
2972 static const struct drbg_kat_no_reseed kat99_t = {
2973 8, kat99_entropyin, kat99_nonce, kat99_persstr,
2974 kat99_addin0, kat99_addin1, kat99_retbits
2976 static const struct drbg_kat kat99 = {
2977 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat99_t
2980 static const unsigned char kat100_entropyin[] = {
2981 0xa5, 0x25, 0xf6, 0x91, 0x65, 0xc4, 0x4f, 0x3a, 0x8a, 0xf8, 0x08, 0x57,
2982 0xa5, 0xe8, 0x74, 0xb0,
2984 static const unsigned char kat100_nonce[] = {
2985 0x0c, 0x80, 0x6a, 0x40, 0xc1, 0xdc, 0xb7, 0xcc,
2987 static const unsigned char kat100_persstr[] = {
2988 0x43, 0x12, 0xc2, 0x30, 0x9a, 0x1d, 0xfe, 0x2d, 0x9a, 0x66, 0xf5, 0xc1,
2989 0x8f, 0xc4, 0x0b, 0x87,
2991 static const unsigned char kat100_addin0[] = {0};
2992 static const unsigned char kat100_addin1[] = {0};
2993 static const unsigned char kat100_retbits[] = {
2994 0xd0, 0xb4, 0x6f, 0x7e, 0x18, 0x77, 0xdb, 0x24, 0x4f, 0xf4, 0xe0, 0xae,
2995 0xb6, 0x4c, 0x4e, 0xfa, 0x3e, 0x8c, 0x2a, 0x86, 0x62, 0x41, 0x5c, 0xf5,
2996 0xba, 0x67, 0xf2, 0xdc, 0x91, 0xe8, 0x23, 0x10, 0xa6, 0xa9, 0x33, 0xc4,
2997 0xdf, 0x6a, 0x40, 0x2f, 0x8f, 0xae, 0x27, 0x0b, 0x22, 0x9b, 0xf2, 0x54,
2998 0xcd, 0x35, 0x94, 0x3a, 0x13, 0x34, 0x09, 0x79, 0x37, 0x66, 0x69, 0x11,
2999 0x9e, 0x0e, 0x5c, 0xf8,
3001 static const struct drbg_kat_no_reseed kat100_t = {
3002 9, kat100_entropyin, kat100_nonce, kat100_persstr,
3003 kat100_addin0, kat100_addin1, kat100_retbits
3005 static const struct drbg_kat kat100 = {
3006 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat100_t
3009 static const unsigned char kat101_entropyin[] = {
3010 0x06, 0x08, 0xdc, 0x6c, 0x8f, 0x9f, 0x19, 0x56, 0xfb, 0xe7, 0xd5, 0xa7,
3011 0xc8, 0x2f, 0xd3, 0xb3,
3013 static const unsigned char kat101_nonce[] = {
3014 0x61, 0x5b, 0x62, 0xa0, 0x0d, 0x6d, 0x8d, 0x85,
3016 static const unsigned char kat101_persstr[] = {
3017 0x70, 0xdd, 0x43, 0xc1, 0x76, 0x43, 0x18, 0x17, 0x4a, 0x28, 0x57, 0xc4,
3018 0x20, 0xdd, 0xf4, 0x07,
3020 static const unsigned char kat101_addin0[] = {0};
3021 static const unsigned char kat101_addin1[] = {0};
3022 static const unsigned char kat101_retbits[] = {
3023 0x71, 0xf4, 0xb5, 0xdf, 0x5b, 0xfa, 0x5f, 0xd5, 0x2c, 0xdc, 0x98, 0x51,
3024 0xa6, 0x33, 0xf7, 0x7e, 0xd9, 0x04, 0x58, 0xb5, 0xa2, 0x90, 0xb0, 0x4d,
3025 0x2f, 0x35, 0x13, 0x0d, 0x67, 0xa4, 0x2c, 0x16, 0x98, 0xac, 0x5f, 0x9b,
3026 0x13, 0x9a, 0x9e, 0xcf, 0x35, 0x90, 0x75, 0x5a, 0x20, 0x41, 0x60, 0xa3,
3027 0xa8, 0xf1, 0x7b, 0x77, 0x72, 0x66, 0x52, 0xc6, 0xdc, 0x6e, 0x9f, 0x00,
3028 0x96, 0x64, 0x54, 0xfd,
3030 static const struct drbg_kat_no_reseed kat101_t = {
3031 10, kat101_entropyin, kat101_nonce, kat101_persstr,
3032 kat101_addin0, kat101_addin1, kat101_retbits
3034 static const struct drbg_kat kat101 = {
3035 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat101_t
3038 static const unsigned char kat102_entropyin[] = {
3039 0x7b, 0x39, 0x1f, 0x35, 0xdb, 0x0e, 0x53, 0xbf, 0x48, 0xee, 0x55, 0x76,
3040 0xb0, 0x23, 0xff, 0x90,
3042 static const unsigned char kat102_nonce[] = {
3043 0x76, 0x21, 0xaa, 0xd5, 0x32, 0x98, 0x2b, 0x23,
3045 static const unsigned char kat102_persstr[] = {
3046 0xa6, 0xe7, 0x57, 0x78, 0xb7, 0x77, 0xd0, 0x1f, 0x00, 0x62, 0x27, 0xc4,
3047 0x00, 0xd8, 0xff, 0x86,
3049 static const unsigned char kat102_addin0[] = {0};
3050 static const unsigned char kat102_addin1[] = {0};
3051 static const unsigned char kat102_retbits[] = {
3052 0xd6, 0x17, 0x80, 0xb5, 0xc7, 0x81, 0x41, 0x2b, 0xf3, 0x08, 0x5e, 0xec,
3053 0xce, 0xe4, 0x9b, 0x99, 0x35, 0x8a, 0x18, 0x32, 0x23, 0x82, 0x8c, 0x1d,
3054 0x80, 0x13, 0xac, 0xe6, 0x13, 0xd8, 0x9a, 0x45, 0x04, 0xd7, 0x5b, 0xa3,
3055 0x09, 0xe5, 0x10, 0x58, 0x9a, 0x53, 0xb4, 0x72, 0xbd, 0x5f, 0xa1, 0xee,
3056 0x2a, 0x22, 0x39, 0x2b, 0x82, 0x65, 0x70, 0x7c, 0x15, 0xe3, 0x29, 0x35,
3057 0xbc, 0x8e, 0xfb, 0x4e,
3059 static const struct drbg_kat_no_reseed kat102_t = {
3060 11, kat102_entropyin, kat102_nonce, kat102_persstr,
3061 kat102_addin0, kat102_addin1, kat102_retbits
3063 static const struct drbg_kat kat102 = {
3064 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat102_t
3067 static const unsigned char kat103_entropyin[] = {
3068 0x09, 0x9f, 0x1f, 0x59, 0x17, 0x07, 0xd1, 0xf9, 0xab, 0xae, 0x7e, 0x2b,
3069 0x65, 0xad, 0xab, 0xc3,
3071 static const unsigned char kat103_nonce[] = {
3072 0xf9, 0x0d, 0x35, 0x7a, 0x90, 0x1f, 0x11, 0x35,
3074 static const unsigned char kat103_persstr[] = {
3075 0x74, 0xb8, 0x26, 0x0c, 0xed, 0x4b, 0xbb, 0x80, 0x41, 0x77, 0x92, 0xf1,
3076 0x93, 0xc6, 0xf9, 0xac,
3078 static const unsigned char kat103_addin0[] = {0};
3079 static const unsigned char kat103_addin1[] = {0};
3080 static const unsigned char kat103_retbits[] = {
3081 0x86, 0xf5, 0x06, 0x25, 0x6d, 0x29, 0x45, 0x0f, 0x16, 0x07, 0x31, 0x27,
3082 0x39, 0xe5, 0xa0, 0x89, 0xb6, 0xb7, 0x86, 0xfd, 0xf5, 0x21, 0x45, 0x76,
3083 0x9c, 0xb7, 0x0e, 0xf4, 0xee, 0xd3, 0x21, 0x09, 0xcf, 0x62, 0x36, 0x9d,
3084 0x7a, 0x76, 0x59, 0x55, 0x78, 0x1e, 0xae, 0x63, 0x52, 0x02, 0x75, 0x16,
3085 0x93, 0x68, 0x25, 0x7c, 0x6d, 0x34, 0x8e, 0xcc, 0x90, 0x0a, 0x38, 0x98,
3086 0x77, 0x8d, 0x9a, 0x1a,
3088 static const struct drbg_kat_no_reseed kat103_t = {
3089 12, kat103_entropyin, kat103_nonce, kat103_persstr,
3090 kat103_addin0, kat103_addin1, kat103_retbits
3092 static const struct drbg_kat kat103 = {
3093 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat103_t
3096 static const unsigned char kat104_entropyin[] = {
3097 0xc9, 0x05, 0x9d, 0x7c, 0x01, 0x5c, 0x64, 0xf6, 0xe4, 0x1a, 0xa4, 0x92,
3098 0x09, 0x9f, 0x4e, 0xf0,
3100 static const unsigned char kat104_nonce[] = {
3101 0x3f, 0x6e, 0x07, 0x69, 0xce, 0xe1, 0x77, 0xc6,
3103 static const unsigned char kat104_persstr[] = {
3104 0x76, 0xc6, 0xc6, 0x61, 0x32, 0x98, 0xd9, 0x25, 0xa6, 0xc5, 0x07, 0xae,
3105 0x65, 0x4d, 0x6d, 0x9a,
3107 static const unsigned char kat104_addin0[] = {0};
3108 static const unsigned char kat104_addin1[] = {0};
3109 static const unsigned char kat104_retbits[] = {
3110 0x23, 0x81, 0x11, 0xc0, 0x06, 0xe5, 0x14, 0xc0, 0x5f, 0x2a, 0xe9, 0x35,
3111 0xa3, 0x2d, 0xba, 0xa0, 0xb1, 0x28, 0xda, 0xa0, 0x73, 0x6e, 0x83, 0xd9,
3112 0x34, 0x03, 0x77, 0x6c, 0x91, 0xe4, 0x77, 0xd0, 0xd0, 0x2c, 0x4a, 0x24,
3113 0x87, 0x6a, 0x23, 0x29, 0xa0, 0xf1, 0x06, 0x03, 0x8d, 0x70, 0x1f, 0xed,
3114 0xdf, 0x02, 0x47, 0xcc, 0x75, 0x84, 0x6d, 0xd3, 0x01, 0x08, 0x29, 0x9d,
3115 0x84, 0x0e, 0xc4, 0xa8,
3117 static const struct drbg_kat_no_reseed kat104_t = {
3118 13, kat104_entropyin, kat104_nonce, kat104_persstr,
3119 kat104_addin0, kat104_addin1, kat104_retbits
3121 static const struct drbg_kat kat104 = {
3122 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat104_t
3125 static const unsigned char kat105_entropyin[] = {
3126 0x98, 0xd1, 0x3c, 0x30, 0xa6, 0xda, 0xe2, 0xca, 0x76, 0xd7, 0xd6, 0x67,
3127 0x9f, 0x1f, 0xfb, 0xc4,
3129 static const unsigned char kat105_nonce[] = {
3130 0x49, 0x0b, 0x93, 0x9e, 0xb5, 0x56, 0xff, 0x1b,
3132 static const unsigned char kat105_persstr[] = {
3133 0x6c, 0x10, 0xa7, 0xc3, 0x0f, 0xb5, 0x34, 0xb5, 0x93, 0x4b, 0x1c, 0x29,
3134 0x80, 0x84, 0x94, 0xb9,
3136 static const unsigned char kat105_addin0[] = {0};
3137 static const unsigned char kat105_addin1[] = {0};
3138 static const unsigned char kat105_retbits[] = {
3139 0xcb, 0x7d, 0xee, 0xea, 0x97, 0xbd, 0xb0, 0x3f, 0x72, 0xa0, 0x3b, 0x2d,
3140 0x9b, 0x5f, 0x1b, 0x33, 0x03, 0x44, 0x48, 0x6e, 0x53, 0xe0, 0x49, 0x27,
3141 0xc5, 0x8f, 0xb6, 0x3c, 0x97, 0x1a, 0xc9, 0x87, 0x33, 0xb0, 0x24, 0x9a,
3142 0x1e, 0xfa, 0x85, 0xf8, 0x8b, 0xec, 0x48, 0x18, 0xe1, 0x31, 0x10, 0x22,
3143 0x07, 0x76, 0xe4, 0xfd, 0xe4, 0x29, 0xe6, 0x39, 0x0a, 0xf4, 0x66, 0x71,
3144 0x29, 0x01, 0x18, 0x9b,
3146 static const struct drbg_kat_no_reseed kat105_t = {
3147 14, kat105_entropyin, kat105_nonce, kat105_persstr,
3148 kat105_addin0, kat105_addin1, kat105_retbits
3150 static const struct drbg_kat kat105 = {
3151 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat105_t
3154 static const unsigned char kat106_entropyin[] = {
3155 0x25, 0xad, 0x6e, 0x73, 0x05, 0x5e, 0xcb, 0xc9, 0x49, 0xf2, 0x91, 0xf0,
3156 0xf7, 0x97, 0xf1, 0x7a,
3158 static const unsigned char kat106_nonce[] = {
3159 0x1f, 0x85, 0xa9, 0x2a, 0x46, 0x0a, 0x2e, 0xea,
3161 static const unsigned char kat106_persstr[] = {
3162 0x83, 0xd0, 0x4b, 0x4b, 0x15, 0x91, 0xc7, 0xba, 0xc9, 0xbc, 0xa9, 0x07,
3163 0xbb, 0xe9, 0xdd, 0xd4,
3165 static const unsigned char kat106_addin0[] = {
3166 0x52, 0x3c, 0x6c, 0xb0, 0xbc, 0x27, 0xd1, 0x9f, 0x8d, 0x2e, 0xbe, 0xf5,
3167 0x79, 0x26, 0xdd, 0xe4,
3169 static const unsigned char kat106_addin1[] = {
3170 0xd3, 0x3c, 0xd1, 0x4b, 0x5b, 0x79, 0x37, 0x38, 0x8e, 0x89, 0xec, 0xc0,
3171 0x80, 0x63, 0x03, 0xf0,
3173 static const unsigned char kat106_retbits[] = {
3174 0x23, 0xd9, 0x19, 0x5e, 0x40, 0x26, 0xed, 0xf0, 0x70, 0x88, 0xb8, 0x37,
3175 0x62, 0x75, 0x47, 0xa0, 0xea, 0x91, 0x37, 0xed, 0x03, 0x36, 0xd7, 0x69,
3176 0x60, 0x15, 0xdd, 0x6f, 0x29, 0x84, 0xde, 0xdb, 0x2a, 0x20, 0x7f, 0x2e,
3177 0xb8, 0xa2, 0x56, 0x60, 0xa5, 0xee, 0x78, 0x11, 0x78, 0x57, 0x9a, 0x0f,
3178 0x23, 0x3f, 0xb6, 0xf7, 0x26, 0x03, 0x58, 0xdb, 0xfd, 0x53, 0x25, 0xc3,
3179 0xf8, 0xc8, 0xfe, 0x33,
3181 static const struct drbg_kat_no_reseed kat106_t = {
3182 0, kat106_entropyin, kat106_nonce, kat106_persstr,
3183 kat106_addin0, kat106_addin1, kat106_retbits
3185 static const struct drbg_kat kat106 = {
3186 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat106_t
3189 static const unsigned char kat107_entropyin[] = {
3190 0xae, 0x33, 0x2f, 0x73, 0x39, 0x0e, 0x27, 0x75, 0x6b, 0xc9, 0x3d, 0x2b,
3191 0x95, 0x1b, 0x8b, 0x44,
3193 static const unsigned char kat107_nonce[] = {
3194 0xe6, 0x9f, 0xc8, 0xa1, 0x64, 0x50, 0xfb, 0x6d,
3196 static const unsigned char kat107_persstr[] = {
3197 0x5f, 0x76, 0x86, 0x3d, 0x3a, 0x20, 0x87, 0xe9, 0xcb, 0x90, 0xe1, 0x12,
3198 0xc1, 0x68, 0x06, 0xe2,
3200 static const unsigned char kat107_addin0[] = {
3201 0xbf, 0x6a, 0x8e, 0x05, 0x6e, 0x6c, 0x3c, 0xc1, 0xa6, 0xcb, 0xdb, 0x6b,
3202 0x59, 0xeb, 0xea, 0xe2,
3204 static const unsigned char kat107_addin1[] = {
3205 0xd8, 0x7a, 0xb9, 0x22, 0x4a, 0xa9, 0xcd, 0x9b, 0x5b, 0x84, 0x78, 0x35,
3206 0xcb, 0x0d, 0xaa, 0xc4,
3208 static const unsigned char kat107_retbits[] = {
3209 0xe0, 0xa2, 0xdd, 0x56, 0x06, 0xa0, 0xa2, 0x61, 0x57, 0xf9, 0x21, 0x05,
3210 0x11, 0xbb, 0xde, 0x50, 0xc9, 0x2f, 0x34, 0xad, 0x92, 0x36, 0x3c, 0xb9,
3211 0x2a, 0x05, 0x20, 0x8b, 0x60, 0xb3, 0x3d, 0x21, 0xc3, 0xd6, 0xc0, 0xc6,
3212 0xef, 0x05, 0x4e, 0xc4, 0x09, 0xb4, 0x63, 0x0d, 0xea, 0xc4, 0xc6, 0xd1,
3213 0xad, 0x1b, 0x6b, 0xe7, 0x5f, 0xff, 0x27, 0xaa, 0x74, 0x94, 0x13, 0xc8,
3214 0xb6, 0x4c, 0xf3, 0xe1,
3216 static const struct drbg_kat_no_reseed kat107_t = {
3217 1, kat107_entropyin, kat107_nonce, kat107_persstr,
3218 kat107_addin0, kat107_addin1, kat107_retbits
3220 static const struct drbg_kat kat107 = {
3221 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat107_t
3224 static const unsigned char kat108_entropyin[] = {
3225 0xe1, 0xa5, 0x89, 0xaf, 0xab, 0x83, 0x91, 0x69, 0x2d, 0xba, 0x52, 0x31,
3226 0x8a, 0xa8, 0xdc, 0x0d,
3228 static const unsigned char kat108_nonce[] = {
3229 0x22, 0xeb, 0xcf, 0x2e, 0x24, 0xa9, 0x55, 0x28,
3231 static const unsigned char kat108_persstr[] = {
3232 0x82, 0xe8, 0xc3, 0x55, 0xdb, 0xc9, 0xcd, 0x4c, 0x8d, 0x52, 0xfa, 0x45,
3233 0x21, 0x18, 0xf9, 0xf8,
3235 static const unsigned char kat108_addin0[] = {
3236 0xf7, 0x74, 0x57, 0xec, 0x32, 0xde, 0x66, 0x6f, 0x37, 0x0d, 0xa9, 0xe6,
3237 0xc2, 0x20, 0xc5, 0x80,
3239 static const unsigned char kat108_addin1[] = {
3240 0xba, 0x25, 0xaa, 0x3a, 0xb3, 0xd5, 0x0a, 0x72, 0xb6, 0xc1, 0xb4, 0x3f,
3241 0x30, 0xdb, 0x44, 0x55,
3243 static const unsigned char kat108_retbits[] = {
3244 0x88, 0x59, 0x55, 0xd1, 0x27, 0xfa, 0xf4, 0xc9, 0x21, 0xc4, 0xed, 0x3f,
3245 0x38, 0xbc, 0x15, 0x42, 0xb9, 0x5a, 0x87, 0x83, 0x4d, 0x4d, 0x73, 0xd1,
3246 0x56, 0x24, 0x00, 0xa6, 0xd3, 0xaa, 0x8e, 0x6c, 0x69, 0x7b, 0x71, 0x1d,
3247 0x91, 0x0e, 0xec, 0xeb, 0xc9, 0xca, 0x4e, 0xc2, 0xdc, 0x17, 0xe7, 0x98,
3248 0x93, 0xe7, 0xf7, 0x34, 0xc4, 0x56, 0x75, 0xde, 0x47, 0x7f, 0x55, 0x45,
3249 0xbd, 0x94, 0xcd, 0xee,
3251 static const struct drbg_kat_no_reseed kat108_t = {
3252 2, kat108_entropyin, kat108_nonce, kat108_persstr,
3253 kat108_addin0, kat108_addin1, kat108_retbits
3255 static const struct drbg_kat kat108 = {
3256 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat108_t
3259 static const unsigned char kat109_entropyin[] = {
3260 0x6f, 0xb7, 0x6f, 0xcd, 0x3d, 0x76, 0x2f, 0xa4, 0xc5, 0x0d, 0xe1, 0xf2,
3261 0x2e, 0x92, 0x76, 0x83,
3263 static const unsigned char kat109_nonce[] = {
3264 0xa5, 0xee, 0xf1, 0x2f, 0x3b, 0x3c, 0x25, 0xa3,
3266 static const unsigned char kat109_persstr[] = {
3267 0x54, 0x86, 0x7d, 0x7d, 0xc8, 0xce, 0xf5, 0x23, 0x42, 0xbb, 0xc0, 0x09,
3268 0x95, 0x4e, 0xfb, 0xf8,
3270 static const unsigned char kat109_addin0[] = {
3271 0xfa, 0xc5, 0x52, 0xaa, 0x87, 0x96, 0xe8, 0x85, 0x8d, 0x55, 0xae, 0x37,
3272 0x1a, 0x0f, 0x54, 0x8f,
3274 static const unsigned char kat109_addin1[] = {
3275 0xfe, 0xfb, 0xe9, 0xc8, 0x3c, 0x15, 0x9f, 0xcf, 0xa9, 0x2e, 0xe8, 0x18,
3276 0x76, 0x1d, 0x49, 0xdc,
3278 static const unsigned char kat109_retbits[] = {
3279 0x09, 0x4f, 0x86, 0x3b, 0x88, 0xe2, 0xb5, 0x5e, 0xf4, 0x15, 0xd2, 0x68,
3280 0x82, 0x94, 0xc7, 0xd8, 0xd2, 0xd7, 0x76, 0xc1, 0x69, 0x16, 0x73, 0x91,
3281 0xdf, 0x36, 0xf8, 0x0a, 0xd8, 0xe9, 0x83, 0x3e, 0x97, 0x61, 0x6e, 0xf6,
3282 0xe0, 0xa4, 0x5f, 0x94, 0x0d, 0x66, 0x38, 0x30, 0x18, 0xae, 0xe8, 0x6a,
3283 0x48, 0x0a, 0x26, 0x51, 0xd6, 0xe2, 0xef, 0xad, 0x61, 0x5a, 0x05, 0x1f,
3284 0x0d, 0xca, 0x64, 0xae,
3286 static const struct drbg_kat_no_reseed kat109_t = {
3287 3, kat109_entropyin, kat109_nonce, kat109_persstr,
3288 kat109_addin0, kat109_addin1, kat109_retbits
3290 static const struct drbg_kat kat109 = {
3291 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat109_t
3294 static const unsigned char kat110_entropyin[] = {
3295 0x5b, 0x32, 0xa3, 0x92, 0xdc, 0x66, 0x5a, 0xb5, 0x8f, 0x25, 0x98, 0xea,
3296 0xb0, 0x7d, 0x8e, 0x53,
3298 static const unsigned char kat110_nonce[] = {
3299 0xc6, 0xf6, 0x13, 0x10, 0x73, 0x88, 0x60, 0xf5,
3301 static const unsigned char kat110_persstr[] = {
3302 0x9f, 0x30, 0x9a, 0x68, 0x53, 0x29, 0x82, 0x16, 0x92, 0xa9, 0x73, 0x00,
3303 0x62, 0x0c, 0x01, 0x56,
3305 static const unsigned char kat110_addin0[] = {
3306 0x87, 0x5a, 0x4a, 0x43, 0xbd, 0xdf, 0x1a, 0x73, 0x05, 0x52, 0x6a, 0x48,
3307 0x8a, 0x1e, 0x0e, 0xb4,
3309 static const unsigned char kat110_addin1[] = {
3310 0x21, 0x14, 0xa7, 0xcb, 0x15, 0x49, 0x0c, 0x06, 0x3b, 0xb4, 0x66, 0x8f,
3311 0x36, 0x9a, 0x3d, 0x8e,
3313 static const unsigned char kat110_retbits[] = {
3314 0x91, 0xc1, 0xf1, 0x99, 0xf6, 0x71, 0xff, 0x56, 0x8e, 0x0e, 0xce, 0x46,
3315 0x08, 0x87, 0x65, 0x16, 0x23, 0x22, 0xa8, 0x21, 0x60, 0x66, 0xf9, 0xa4,
3316 0x15, 0xd7, 0xcc, 0xd9, 0xdf, 0xe7, 0x23, 0xc5, 0x21, 0xf5, 0x7d, 0xbd,
3317 0x84, 0x69, 0xe3, 0x9b, 0xac, 0xda, 0xc3, 0x1e, 0x74, 0x2a, 0x2d, 0x2f,
3318 0xf2, 0xa3, 0x1d, 0x5a, 0x15, 0xa0, 0x1b, 0xfd, 0x32, 0xbe, 0x50, 0x28,
3319 0x6c, 0x73, 0x0e, 0xad,
3321 static const struct drbg_kat_no_reseed kat110_t = {
3322 4, kat110_entropyin, kat110_nonce, kat110_persstr,
3323 kat110_addin0, kat110_addin1, kat110_retbits
3325 static const struct drbg_kat kat110 = {
3326 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat110_t
3329 static const unsigned char kat111_entropyin[] = {
3330 0x79, 0x95, 0x7c, 0x33, 0xe4, 0x5b, 0xba, 0x1c, 0x8a, 0xe6, 0x90, 0x29,
3331 0x07, 0x7a, 0xe3, 0x6b,
3333 static const unsigned char kat111_nonce[] = {
3334 0x5b, 0x49, 0xd8, 0xe7, 0xc1, 0x80, 0xbc, 0xb6,
3336 static const unsigned char kat111_persstr[] = {
3337 0x2a, 0xa8, 0xe7, 0x7b, 0x94, 0xfe, 0x0d, 0xdf, 0x0e, 0x57, 0x30, 0x2c,
3338 0x8e, 0xbd, 0xc2, 0x2a,
3340 static const unsigned char kat111_addin0[] = {
3341 0x14, 0x84, 0x4d, 0x85, 0xe5, 0x0c, 0xb1, 0xfc, 0xb4, 0xe6, 0x88, 0x7b,
3342 0x3f, 0xc6, 0x7f, 0x54,
3344 static const unsigned char kat111_addin1[] = {
3345 0x4c, 0x7c, 0xb0, 0x69, 0x29, 0x7c, 0x18, 0x65, 0x33, 0x94, 0xb8, 0x2b,
3346 0xe6, 0xa9, 0x30, 0x99,
3348 static const unsigned char kat111_retbits[] = {
3349 0x06, 0x61, 0xe2, 0x41, 0x6e, 0x71, 0xfe, 0x49, 0x11, 0x9f, 0x96, 0x76,
3350 0x42, 0xfd, 0x37, 0xdd, 0xb5, 0x82, 0xa1, 0x89, 0xa8, 0x88, 0xe7, 0xd4,
3351 0xa2, 0xaa, 0x56, 0x27, 0x51, 0x94, 0xc8, 0xca, 0x69, 0x8f, 0xb2, 0xd6,
3352 0x96, 0x83, 0x4b, 0x88, 0xb5, 0x72, 0xf0, 0xfd, 0xf5, 0xba, 0xdb, 0x6b,
3353 0xf5, 0x8d, 0x16, 0x12, 0xd2, 0x5f, 0x5e, 0xe3, 0xf6, 0x2d, 0x33, 0xdb,
3354 0x9a, 0x86, 0xb0, 0x87,
3356 static const struct drbg_kat_no_reseed kat111_t = {
3357 5, kat111_entropyin, kat111_nonce, kat111_persstr,
3358 kat111_addin0, kat111_addin1, kat111_retbits
3360 static const struct drbg_kat kat111 = {
3361 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat111_t
3364 static const unsigned char kat112_entropyin[] = {
3365 0x70, 0x50, 0x89, 0x80, 0x36, 0x2e, 0x96, 0x2a, 0xe7, 0x78, 0x45, 0x80,
3366 0x81, 0xcf, 0xbb, 0xe6,
3368 static const unsigned char kat112_nonce[] = {
3369 0x29, 0xcc, 0xf6, 0xed, 0xba, 0x46, 0x2d, 0xc2,
3371 static const unsigned char kat112_persstr[] = {
3372 0x48, 0xa3, 0xd8, 0xdb, 0xdc, 0x85, 0x18, 0x8a, 0xbb, 0x35, 0xb5, 0x6c,
3373 0x19, 0x4d, 0x60, 0x20,
3375 static const unsigned char kat112_addin0[] = {
3376 0xa8, 0x14, 0x72, 0x42, 0xe2, 0x47, 0x37, 0xfc, 0xf3, 0xb0, 0x07, 0xd2,
3377 0x84, 0xd6, 0x61, 0xc4,
3379 static const unsigned char kat112_addin1[] = {
3380 0x96, 0x4a, 0x9d, 0x06, 0x86, 0xd9, 0x61, 0x93, 0xfb, 0x2e, 0x4a, 0x35,
3381 0x14, 0x5e, 0xdc, 0xc8,
3383 static const unsigned char kat112_retbits[] = {
3384 0xd8, 0x1b, 0xd5, 0xda, 0x60, 0xd9, 0x9d, 0x6d, 0xaa, 0xec, 0xeb, 0xc0,
3385 0x60, 0x65, 0x26, 0x33, 0xec, 0x14, 0xdc, 0x3b, 0x84, 0x69, 0x3b, 0xdf,
3386 0xf7, 0x67, 0x77, 0x1f, 0x03, 0x2b, 0xfa, 0x2e, 0x4d, 0xfa, 0xd5, 0x3e,
3387 0xf6, 0xd1, 0x99, 0x10, 0xbd, 0x92, 0x5d, 0xf1, 0x20, 0x9f, 0x33, 0xea,
3388 0x11, 0xe3, 0xf1, 0xe8, 0x37, 0xb0, 0x3e, 0x7a, 0x70, 0x03, 0x25, 0x7f,
3389 0xf4, 0x20, 0xa6, 0x92,
3391 static const struct drbg_kat_no_reseed kat112_t = {
3392 6, kat112_entropyin, kat112_nonce, kat112_persstr,
3393 kat112_addin0, kat112_addin1, kat112_retbits
3395 static const struct drbg_kat kat112 = {
3396 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat112_t
3399 static const unsigned char kat113_entropyin[] = {
3400 0xb7, 0x83, 0x71, 0xba, 0xf5, 0x86, 0xc0, 0xdd, 0x05, 0x4b, 0xfd, 0x29,
3401 0x3f, 0xc7, 0xe8, 0xdc,
3403 static const unsigned char kat113_nonce[] = {
3404 0x11, 0x9b, 0x23, 0x2c, 0xe4, 0xca, 0xda, 0x97,
3406 static const unsigned char kat113_persstr[] = {
3407 0x3a, 0x58, 0x75, 0xb4, 0x43, 0x07, 0x3c, 0x9b, 0xf6, 0x4a, 0x0a, 0xaa,
3408 0xf2, 0x6b, 0xa4, 0x4f,
3410 static const unsigned char kat113_addin0[] = {
3411 0x4d, 0x2d, 0x4f, 0x16, 0xb7, 0xb7, 0xd2, 0xd2, 0xbb, 0x4d, 0x83, 0xa4,
3412 0x92, 0x99, 0x96, 0xb2,
3414 static const unsigned char kat113_addin1[] = {
3415 0x7d, 0x31, 0x73, 0xe0, 0x8a, 0xea, 0x4c, 0x8b, 0x6e, 0xf9, 0xe3, 0xcd,
3416 0x69, 0x8f, 0x9b, 0x09,
3418 static const unsigned char kat113_retbits[] = {
3419 0xbb, 0x04, 0x86, 0x41, 0xf0, 0x36, 0xdc, 0x11, 0xb8, 0xdf, 0x8a, 0xd3,
3420 0xe4, 0xd5, 0xbd, 0xfc, 0x30, 0x9b, 0x2c, 0x3f, 0x22, 0xb3, 0xd2, 0xb8,
3421 0xac, 0xf1, 0x96, 0xd5, 0x0c, 0xd5, 0x42, 0xde, 0x13, 0xcd, 0x99, 0x97,
3422 0x8a, 0x92, 0x0a, 0xcb, 0xa6, 0x1d, 0xc0, 0x7c, 0x64, 0x6b, 0x48, 0x09,
3423 0x44, 0x79, 0xbb, 0x44, 0x17, 0xd8, 0x40, 0x9a, 0xba, 0xe3, 0xd6, 0x9e,
3424 0xd5, 0x2a, 0x2a, 0x3e,
3426 static const struct drbg_kat_no_reseed kat113_t = {
3427 7, kat113_entropyin, kat113_nonce, kat113_persstr,
3428 kat113_addin0, kat113_addin1, kat113_retbits
3430 static const struct drbg_kat kat113 = {
3431 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat113_t
3434 static const unsigned char kat114_entropyin[] = {
3435 0x96, 0xbf, 0xc3, 0x47, 0xb3, 0x06, 0x80, 0x5a, 0xf8, 0x8d, 0xa0, 0x07,
3436 0x67, 0x5d, 0xb4, 0x7c,
3438 static const unsigned char kat114_nonce[] = {
3439 0x12, 0x95, 0x37, 0x06, 0xa0, 0x6e, 0xb5, 0x30,
3441 static const unsigned char kat114_persstr[] = {
3442 0x46, 0x73, 0x3d, 0xdd, 0xaf, 0x70, 0xe3, 0xf2, 0x07, 0x5c, 0xb8, 0x70,
3443 0xf4, 0x7e, 0x72, 0xdf,
3445 static const unsigned char kat114_addin0[] = {
3446 0x64, 0xf7, 0x9a, 0xd1, 0xdf, 0xa3, 0x93, 0xd3, 0x6b, 0xf5, 0xbe, 0x83,
3447 0x32, 0x90, 0xb6, 0x94,
3449 static const unsigned char kat114_addin1[] = {
3450 0x5d, 0x21, 0x0f, 0x12, 0x85, 0xf0, 0xfb, 0x03, 0x8a, 0x75, 0x34, 0x76,
3451 0xef, 0x24, 0x91, 0x79,
3453 static const unsigned char kat114_retbits[] = {
3454 0x67, 0xb6, 0x9b, 0xa4, 0x34, 0x90, 0x3e, 0x2b, 0xbf, 0x46, 0xd3, 0xf5,
3455 0xe3, 0x00, 0xb9, 0xe5, 0xcf, 0x33, 0x01, 0xbe, 0xaa, 0xb7, 0xd3, 0x0b,
3456 0x46, 0x52, 0xed, 0x3b, 0xf6, 0x62, 0x65, 0x79, 0x50, 0x3a, 0x54, 0x4e,
3457 0x58, 0x23, 0x7c, 0x5e, 0x55, 0x1a, 0xd5, 0xee, 0x17, 0xb7, 0x36, 0x12,
3458 0x0c, 0x37, 0xa3, 0x02, 0x9b, 0xd7, 0xa1, 0x03, 0x4d, 0x4c, 0x49, 0xf6,
3459 0x1e, 0x04, 0x0a, 0xca,
3461 static const struct drbg_kat_no_reseed kat114_t = {
3462 8, kat114_entropyin, kat114_nonce, kat114_persstr,
3463 kat114_addin0, kat114_addin1, kat114_retbits
3465 static const struct drbg_kat kat114 = {
3466 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat114_t
3469 static const unsigned char kat115_entropyin[] = {
3470 0x9a, 0x4c, 0x8b, 0x46, 0xa9, 0x74, 0xfb, 0xc8, 0x5e, 0x25, 0x6d, 0x1f,
3471 0x07, 0xcc, 0x59, 0xaa,
3473 static const unsigned char kat115_nonce[] = {
3474 0xeb, 0x8d, 0x66, 0x21, 0x02, 0x09, 0x01, 0x14,
3476 static const unsigned char kat115_persstr[] = {
3477 0xb9, 0x4b, 0x8d, 0x2a, 0x64, 0x92, 0x66, 0x64, 0x5a, 0x71, 0x5a, 0xfc,
3478 0xa0, 0x99, 0x5d, 0x9d,
3480 static const unsigned char kat115_addin0[] = {
3481 0xf3, 0x36, 0xe1, 0xd6, 0x2a, 0xc5, 0x68, 0xed, 0x13, 0x2e, 0xa0, 0x18,
3482 0x15, 0xda, 0xd5, 0x08,
3484 static const unsigned char kat115_addin1[] = {
3485 0x66, 0x76, 0x26, 0xa2, 0x3d, 0x23, 0xb7, 0x16, 0x5a, 0x6a, 0x88, 0x5d,
3486 0x41, 0xfa, 0x90, 0x1c,
3488 static const unsigned char kat115_retbits[] = {
3489 0x2d, 0xf3, 0x3f, 0x7a, 0xd2, 0xc2, 0xd8, 0x6e, 0x61, 0x63, 0x3c, 0x25,
3490 0xa8, 0xac, 0x57, 0xb5, 0xde, 0xad, 0x88, 0x02, 0x1c, 0x93, 0xad, 0x69,
3491 0xba, 0x6c, 0x52, 0x27, 0x99, 0xc4, 0xbe, 0xbf, 0xda, 0x78, 0x27, 0x72,
3492 0xc8, 0x1e, 0x7e, 0x02, 0xd8, 0xb8, 0x82, 0x54, 0x6b, 0x24, 0x2b, 0xb2,
3493 0x2f, 0x31, 0x05, 0x65, 0xba, 0xc3, 0x16, 0x26, 0x9f, 0xfc, 0x80, 0x04,
3494 0xd5, 0x44, 0x06, 0x31,
3496 static const struct drbg_kat_no_reseed kat115_t = {
3497 9, kat115_entropyin, kat115_nonce, kat115_persstr,
3498 kat115_addin0, kat115_addin1, kat115_retbits
3500 static const struct drbg_kat kat115 = {
3501 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat115_t
3504 static const unsigned char kat116_entropyin[] = {
3505 0xc7, 0xd6, 0x55, 0x75, 0x65, 0xa1, 0xfd, 0xe4, 0x80, 0x84, 0x1f, 0x1f,
3506 0x1a, 0x10, 0xf6, 0x7d,
3508 static const unsigned char kat116_nonce[] = {
3509 0x02, 0xf8, 0x47, 0x98, 0x66, 0x26, 0xbb, 0x4b,
3511 static const unsigned char kat116_persstr[] = {
3512 0x61, 0x8c, 0xac, 0x99, 0x53, 0x17, 0x91, 0x67, 0x36, 0x03, 0xa1, 0x6b,
3513 0x99, 0xab, 0x0e, 0x80,
3515 static const unsigned char kat116_addin0[] = {
3516 0x81, 0x0c, 0x8b, 0xe4, 0xb1, 0x80, 0x1f, 0xec, 0x75, 0x40, 0x63, 0xc2,
3517 0x61, 0x15, 0x66, 0x60,
3519 static const unsigned char kat116_addin1[] = {
3520 0xe2, 0x59, 0x4d, 0x34, 0xce, 0x1a, 0xd6, 0x53, 0x51, 0x28, 0x60, 0x69,
3521 0xeb, 0x1a, 0x63, 0x08,
3523 static const unsigned char kat116_retbits[] = {
3524 0xa3, 0xc4, 0xd0, 0x2d, 0xa0, 0x16, 0x6f, 0xef, 0x32, 0xce, 0x69, 0x97,
3525 0x5d, 0xb9, 0x4d, 0x19, 0x60, 0x44, 0xe8, 0x1f, 0x59, 0x04, 0x4d, 0x22,
3526 0xdf, 0x84, 0x05, 0xb4, 0x68, 0xeb, 0xd5, 0xa9, 0x29, 0x97, 0xfe, 0xeb,
3527 0xa8, 0x2d, 0x7a, 0xdf, 0x97, 0xcc, 0xbb, 0x1a, 0x59, 0x35, 0x56, 0x26,
3528 0xae, 0xfa, 0xe0, 0xd4, 0x35, 0xb4, 0x03, 0xb7, 0xde, 0xb9, 0x00, 0x5b,
3529 0x8f, 0x5e, 0xa9, 0xa5,
3531 static const struct drbg_kat_no_reseed kat116_t = {
3532 10, kat116_entropyin, kat116_nonce, kat116_persstr,
3533 kat116_addin0, kat116_addin1, kat116_retbits
3535 static const struct drbg_kat kat116 = {
3536 NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat116_t
3539 static const unsigned char kat117_entropyin[] = {
3540 0x14, 0x0d, 0xbf, 0xf6, 0x3e, 0x70, 0x83, 0xc3, 0x08, 0x41, 0x9f, 0x86,
3541 0x4c, 0x09, 0x3e, 0x99,
3543 static const unsigned char kat117_nonce[] = {
3544 0xeb, 0x1c, 0x66, 0x92, 0xdb, 0x94, 0x9d, 0x5a,
3546 static const unsigned char kat117_persstr[] = {
3547 0x23, 0xd3, 0x27, 0x21, 0xf1, 0xc0, 0x3a, 0x90, 0xf3, 0x9e, 0xf0, 0x21,
3548 0xac, 0x88, 0x84, 0xc7,
3550 static const unsigned char kat117_addin0[] = {
3551 0xc6, 0xe3, 0x80, 0x8d, 0xb9, 0xf9, 0xda, 0x14, 0x23, 0x9a, 0xd7, 0xd7,
3552 0x18, 0x28, 0x6a, 0x96,
3554 static const unsigned char kat117_addin1[] = {
3555 0xa8, 0x4a, 0xaa, 0xdb, 0x7d, 0x57, 0x2a, 0x9a, 0xfc, 0xa3, 0xf7, 0x6c,
3556 0xed, 0xf0, 0xa4, 0xb9,
3558 static const unsigned char kat117_retbits[] = {
3559 0x74, 0x3d, 0xf9, 0x7c, 0x2e, 0x99, 0xd9, 0x74, 0x07, 0x77, 0x72, 0xa6,
3560 0xfe, 0xa4, 0x03, 0x12, 0x8f, 0x41, 0xff, 0x32, 0xa9, 0x5f, 0xb4, 0xf8,
3561 0xb0, 0xec, 0xca, 0xa0, 0x57, 0x1c, 0xd2, 0x57, 0x8e, 0x48, 0x2c, 0xe7,
3562 0x09, 0x84, 0x99, 0xc4, 0xd3, 0x01, 0x5f, 0x91, 0x92, 0x35, 0x52, 0x38,
3563 0xc7, 0x0f, 0x8b, 0x76, 0xa5, 0x04, 0x27, 0x2a, 0x87, 0x09, 0xcd, 0x0e,
3564 0x2d, 0xc8, 0x2c, 0x9c,
3566 static const struct drbg_kat_no_reseed kat117_t = {
3567 11, kat117_entropyin, kat117_nonce, kat117_persstr,
3568 kat117_addin0, kat117_addin1, kat117_retbits