Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||||||||||||||||||||
2 | - | |||||||||||||||||||||||||||||||
3 | - | |||||||||||||||||||||||||||||||
4 | - | |||||||||||||||||||||||||||||||
5 | - | |||||||||||||||||||||||||||||||
6 | - | |||||||||||||||||||||||||||||||
7 | - | |||||||||||||||||||||||||||||||
8 | const unsigned char tls11downgrade[] = { | - | ||||||||||||||||||||||||||||||
9 | 0x44, 0x4f, 0x57, 0x4e, 0x47, 0x52, 0x44, 0x00 | - | ||||||||||||||||||||||||||||||
10 | }; | - | ||||||||||||||||||||||||||||||
11 | const unsigned char tls12downgrade[] = { | - | ||||||||||||||||||||||||||||||
12 | 0x44, 0x4f, 0x57, 0x4e, 0x47, 0x52, 0x44, 0x01 | - | ||||||||||||||||||||||||||||||
13 | }; | - | ||||||||||||||||||||||||||||||
14 | - | |||||||||||||||||||||||||||||||
15 | - | |||||||||||||||||||||||||||||||
16 | static SSL_CIPHER tls13_ciphers[] = { | - | ||||||||||||||||||||||||||||||
17 | { | - | ||||||||||||||||||||||||||||||
18 | 1, | - | ||||||||||||||||||||||||||||||
19 | "TLS_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
20 | "TLS_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
21 | 0x03001301, | - | ||||||||||||||||||||||||||||||
22 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
23 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
24 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
25 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
26 | 0x0304, 0x0304, | - | ||||||||||||||||||||||||||||||
27 | 0, 0, | - | ||||||||||||||||||||||||||||||
28 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
29 | 4, | - | ||||||||||||||||||||||||||||||
30 | 128, | - | ||||||||||||||||||||||||||||||
31 | 128, | - | ||||||||||||||||||||||||||||||
32 | }, { | - | ||||||||||||||||||||||||||||||
33 | 1, | - | ||||||||||||||||||||||||||||||
34 | "TLS_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
35 | "TLS_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
36 | 0x03001302, | - | ||||||||||||||||||||||||||||||
37 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
38 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
39 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
40 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
41 | 0x0304, 0x0304, | - | ||||||||||||||||||||||||||||||
42 | 0, 0, | - | ||||||||||||||||||||||||||||||
43 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
44 | 5, | - | ||||||||||||||||||||||||||||||
45 | 256, | - | ||||||||||||||||||||||||||||||
46 | 256, | - | ||||||||||||||||||||||||||||||
47 | }, | - | ||||||||||||||||||||||||||||||
48 | - | |||||||||||||||||||||||||||||||
49 | { | - | ||||||||||||||||||||||||||||||
50 | 1, | - | ||||||||||||||||||||||||||||||
51 | "TLS_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
52 | "TLS_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
53 | 0x03001303, | - | ||||||||||||||||||||||||||||||
54 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
55 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
56 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
57 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
58 | 0x0304, 0x0304, | - | ||||||||||||||||||||||||||||||
59 | 0, 0, | - | ||||||||||||||||||||||||||||||
60 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
61 | 4, | - | ||||||||||||||||||||||||||||||
62 | 256, | - | ||||||||||||||||||||||||||||||
63 | 256, | - | ||||||||||||||||||||||||||||||
64 | }, | - | ||||||||||||||||||||||||||||||
65 | - | |||||||||||||||||||||||||||||||
66 | { | - | ||||||||||||||||||||||||||||||
67 | 1, | - | ||||||||||||||||||||||||||||||
68 | "TLS_AES_128_CCM_SHA256", | - | ||||||||||||||||||||||||||||||
69 | "TLS_AES_128_CCM_SHA256", | - | ||||||||||||||||||||||||||||||
70 | 0x03001304, | - | ||||||||||||||||||||||||||||||
71 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
72 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
73 | 0x00004000U, | - | ||||||||||||||||||||||||||||||
74 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
75 | 0x0304, 0x0304, | - | ||||||||||||||||||||||||||||||
76 | 0, 0, | - | ||||||||||||||||||||||||||||||
77 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
78 | 4, | - | ||||||||||||||||||||||||||||||
79 | 128, | - | ||||||||||||||||||||||||||||||
80 | 128, | - | ||||||||||||||||||||||||||||||
81 | }, { | - | ||||||||||||||||||||||||||||||
82 | 1, | - | ||||||||||||||||||||||||||||||
83 | "TLS_AES_128_CCM_8_SHA256", | - | ||||||||||||||||||||||||||||||
84 | "TLS_AES_128_CCM_8_SHA256", | - | ||||||||||||||||||||||||||||||
85 | 0x03001305, | - | ||||||||||||||||||||||||||||||
86 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
87 | 0x00000000U, | - | ||||||||||||||||||||||||||||||
88 | 0x00010000U, | - | ||||||||||||||||||||||||||||||
89 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
90 | 0x0304, 0x0304, | - | ||||||||||||||||||||||||||||||
91 | 0, 0, | - | ||||||||||||||||||||||||||||||
92 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
93 | 4, | - | ||||||||||||||||||||||||||||||
94 | 128, | - | ||||||||||||||||||||||||||||||
95 | 128, | - | ||||||||||||||||||||||||||||||
96 | } | - | ||||||||||||||||||||||||||||||
97 | }; | - | ||||||||||||||||||||||||||||||
98 | static SSL_CIPHER ssl3_ciphers[] = { | - | ||||||||||||||||||||||||||||||
99 | { | - | ||||||||||||||||||||||||||||||
100 | 1, | - | ||||||||||||||||||||||||||||||
101 | "NULL-MD5", | - | ||||||||||||||||||||||||||||||
102 | "TLS_RSA_WITH_NULL_MD5", | - | ||||||||||||||||||||||||||||||
103 | 0x03000001, | - | ||||||||||||||||||||||||||||||
104 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
105 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
106 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
107 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
108 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
109 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
110 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
111 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
112 | 0, | - | ||||||||||||||||||||||||||||||
113 | 0, | - | ||||||||||||||||||||||||||||||
114 | }, | - | ||||||||||||||||||||||||||||||
115 | { | - | ||||||||||||||||||||||||||||||
116 | 1, | - | ||||||||||||||||||||||||||||||
117 | "NULL-SHA", | - | ||||||||||||||||||||||||||||||
118 | "TLS_RSA_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
119 | 0x03000002, | - | ||||||||||||||||||||||||||||||
120 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
121 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
122 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
123 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
124 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
125 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
126 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
127 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
128 | 0, | - | ||||||||||||||||||||||||||||||
129 | 0, | - | ||||||||||||||||||||||||||||||
130 | }, | - | ||||||||||||||||||||||||||||||
131 | { | - | ||||||||||||||||||||||||||||||
132 | 1, | - | ||||||||||||||||||||||||||||||
133 | "AES128-SHA", | - | ||||||||||||||||||||||||||||||
134 | "TLS_RSA_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
135 | 0x0300002F, | - | ||||||||||||||||||||||||||||||
136 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
137 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
138 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
139 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
140 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
141 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
142 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
143 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
144 | 128, | - | ||||||||||||||||||||||||||||||
145 | 128, | - | ||||||||||||||||||||||||||||||
146 | }, | - | ||||||||||||||||||||||||||||||
147 | { | - | ||||||||||||||||||||||||||||||
148 | 1, | - | ||||||||||||||||||||||||||||||
149 | "DHE-DSS-AES128-SHA", | - | ||||||||||||||||||||||||||||||
150 | "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
151 | 0x03000032, | - | ||||||||||||||||||||||||||||||
152 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
153 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
154 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
155 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
156 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
157 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
158 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
159 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
160 | 128, | - | ||||||||||||||||||||||||||||||
161 | 128, | - | ||||||||||||||||||||||||||||||
162 | }, | - | ||||||||||||||||||||||||||||||
163 | { | - | ||||||||||||||||||||||||||||||
164 | 1, | - | ||||||||||||||||||||||||||||||
165 | "DHE-RSA-AES128-SHA", | - | ||||||||||||||||||||||||||||||
166 | "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
167 | 0x03000033, | - | ||||||||||||||||||||||||||||||
168 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
169 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
170 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
171 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
172 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
173 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
174 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
175 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
176 | 128, | - | ||||||||||||||||||||||||||||||
177 | 128, | - | ||||||||||||||||||||||||||||||
178 | }, | - | ||||||||||||||||||||||||||||||
179 | { | - | ||||||||||||||||||||||||||||||
180 | 1, | - | ||||||||||||||||||||||||||||||
181 | "ADH-AES128-SHA", | - | ||||||||||||||||||||||||||||||
182 | "TLS_DH_anon_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
183 | 0x03000034, | - | ||||||||||||||||||||||||||||||
184 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
185 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
186 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
187 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
188 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
189 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
190 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
191 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
192 | 128, | - | ||||||||||||||||||||||||||||||
193 | 128, | - | ||||||||||||||||||||||||||||||
194 | }, | - | ||||||||||||||||||||||||||||||
195 | { | - | ||||||||||||||||||||||||||||||
196 | 1, | - | ||||||||||||||||||||||||||||||
197 | "AES256-SHA", | - | ||||||||||||||||||||||||||||||
198 | "TLS_RSA_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
199 | 0x03000035, | - | ||||||||||||||||||||||||||||||
200 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
201 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
202 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
203 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
204 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
205 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
206 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
207 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
208 | 256, | - | ||||||||||||||||||||||||||||||
209 | 256, | - | ||||||||||||||||||||||||||||||
210 | }, | - | ||||||||||||||||||||||||||||||
211 | { | - | ||||||||||||||||||||||||||||||
212 | 1, | - | ||||||||||||||||||||||||||||||
213 | "DHE-DSS-AES256-SHA", | - | ||||||||||||||||||||||||||||||
214 | "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
215 | 0x03000038, | - | ||||||||||||||||||||||||||||||
216 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
217 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
218 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
219 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
220 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
221 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
222 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
223 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
224 | 256, | - | ||||||||||||||||||||||||||||||
225 | 256, | - | ||||||||||||||||||||||||||||||
226 | }, | - | ||||||||||||||||||||||||||||||
227 | { | - | ||||||||||||||||||||||||||||||
228 | 1, | - | ||||||||||||||||||||||||||||||
229 | "DHE-RSA-AES256-SHA", | - | ||||||||||||||||||||||||||||||
230 | "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
231 | 0x03000039, | - | ||||||||||||||||||||||||||||||
232 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
233 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
234 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
235 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
236 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
237 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
238 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
239 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
240 | 256, | - | ||||||||||||||||||||||||||||||
241 | 256, | - | ||||||||||||||||||||||||||||||
242 | }, | - | ||||||||||||||||||||||||||||||
243 | { | - | ||||||||||||||||||||||||||||||
244 | 1, | - | ||||||||||||||||||||||||||||||
245 | "ADH-AES256-SHA", | - | ||||||||||||||||||||||||||||||
246 | "TLS_DH_anon_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
247 | 0x0300003A, | - | ||||||||||||||||||||||||||||||
248 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
249 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
250 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
251 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
252 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
253 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
254 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
255 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
256 | 256, | - | ||||||||||||||||||||||||||||||
257 | 256, | - | ||||||||||||||||||||||||||||||
258 | }, | - | ||||||||||||||||||||||||||||||
259 | { | - | ||||||||||||||||||||||||||||||
260 | 1, | - | ||||||||||||||||||||||||||||||
261 | "NULL-SHA256", | - | ||||||||||||||||||||||||||||||
262 | "TLS_RSA_WITH_NULL_SHA256", | - | ||||||||||||||||||||||||||||||
263 | 0x0300003B, | - | ||||||||||||||||||||||||||||||
264 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
265 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
266 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
267 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
268 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
269 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
270 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
271 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
272 | 0, | - | ||||||||||||||||||||||||||||||
273 | 0, | - | ||||||||||||||||||||||||||||||
274 | }, | - | ||||||||||||||||||||||||||||||
275 | { | - | ||||||||||||||||||||||||||||||
276 | 1, | - | ||||||||||||||||||||||||||||||
277 | "AES128-SHA256", | - | ||||||||||||||||||||||||||||||
278 | "TLS_RSA_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
279 | 0x0300003C, | - | ||||||||||||||||||||||||||||||
280 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
281 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
282 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
283 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
284 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
285 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
286 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
287 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
288 | 128, | - | ||||||||||||||||||||||||||||||
289 | 128, | - | ||||||||||||||||||||||||||||||
290 | }, | - | ||||||||||||||||||||||||||||||
291 | { | - | ||||||||||||||||||||||||||||||
292 | 1, | - | ||||||||||||||||||||||||||||||
293 | "AES256-SHA256", | - | ||||||||||||||||||||||||||||||
294 | "TLS_RSA_WITH_AES_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
295 | 0x0300003D, | - | ||||||||||||||||||||||||||||||
296 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
297 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
298 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
299 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
300 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
301 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
302 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
303 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
304 | 256, | - | ||||||||||||||||||||||||||||||
305 | 256, | - | ||||||||||||||||||||||||||||||
306 | }, | - | ||||||||||||||||||||||||||||||
307 | { | - | ||||||||||||||||||||||||||||||
308 | 1, | - | ||||||||||||||||||||||||||||||
309 | "DHE-DSS-AES128-SHA256", | - | ||||||||||||||||||||||||||||||
310 | "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
311 | 0x03000040, | - | ||||||||||||||||||||||||||||||
312 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
313 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
314 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
315 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
316 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
317 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
318 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
319 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
320 | 128, | - | ||||||||||||||||||||||||||||||
321 | 128, | - | ||||||||||||||||||||||||||||||
322 | }, | - | ||||||||||||||||||||||||||||||
323 | { | - | ||||||||||||||||||||||||||||||
324 | 1, | - | ||||||||||||||||||||||||||||||
325 | "DHE-RSA-AES128-SHA256", | - | ||||||||||||||||||||||||||||||
326 | "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
327 | 0x03000067, | - | ||||||||||||||||||||||||||||||
328 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
329 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
330 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
331 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
332 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
333 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
334 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
335 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
336 | 128, | - | ||||||||||||||||||||||||||||||
337 | 128, | - | ||||||||||||||||||||||||||||||
338 | }, | - | ||||||||||||||||||||||||||||||
339 | { | - | ||||||||||||||||||||||||||||||
340 | 1, | - | ||||||||||||||||||||||||||||||
341 | "DHE-DSS-AES256-SHA256", | - | ||||||||||||||||||||||||||||||
342 | "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
343 | 0x0300006A, | - | ||||||||||||||||||||||||||||||
344 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
345 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
346 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
347 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
348 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
349 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
350 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
351 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
352 | 256, | - | ||||||||||||||||||||||||||||||
353 | 256, | - | ||||||||||||||||||||||||||||||
354 | }, | - | ||||||||||||||||||||||||||||||
355 | { | - | ||||||||||||||||||||||||||||||
356 | 1, | - | ||||||||||||||||||||||||||||||
357 | "DHE-RSA-AES256-SHA256", | - | ||||||||||||||||||||||||||||||
358 | "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
359 | 0x0300006B, | - | ||||||||||||||||||||||||||||||
360 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
361 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
362 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
363 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
364 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
365 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
366 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
367 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
368 | 256, | - | ||||||||||||||||||||||||||||||
369 | 256, | - | ||||||||||||||||||||||||||||||
370 | }, | - | ||||||||||||||||||||||||||||||
371 | { | - | ||||||||||||||||||||||||||||||
372 | 1, | - | ||||||||||||||||||||||||||||||
373 | "ADH-AES128-SHA256", | - | ||||||||||||||||||||||||||||||
374 | "TLS_DH_anon_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
375 | 0x0300006C, | - | ||||||||||||||||||||||||||||||
376 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
377 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
378 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
379 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
380 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
381 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
382 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
383 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
384 | 128, | - | ||||||||||||||||||||||||||||||
385 | 128, | - | ||||||||||||||||||||||||||||||
386 | }, | - | ||||||||||||||||||||||||||||||
387 | { | - | ||||||||||||||||||||||||||||||
388 | 1, | - | ||||||||||||||||||||||||||||||
389 | "ADH-AES256-SHA256", | - | ||||||||||||||||||||||||||||||
390 | "TLS_DH_anon_WITH_AES_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
391 | 0x0300006D, | - | ||||||||||||||||||||||||||||||
392 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
393 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
394 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
395 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
396 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
397 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
398 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
399 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
400 | 256, | - | ||||||||||||||||||||||||||||||
401 | 256, | - | ||||||||||||||||||||||||||||||
402 | }, | - | ||||||||||||||||||||||||||||||
403 | { | - | ||||||||||||||||||||||||||||||
404 | 1, | - | ||||||||||||||||||||||||||||||
405 | "AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
406 | "TLS_RSA_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
407 | 0x0300009C, | - | ||||||||||||||||||||||||||||||
408 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
409 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
410 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
411 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
412 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
413 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
414 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
415 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
416 | 128, | - | ||||||||||||||||||||||||||||||
417 | 128, | - | ||||||||||||||||||||||||||||||
418 | }, | - | ||||||||||||||||||||||||||||||
419 | { | - | ||||||||||||||||||||||||||||||
420 | 1, | - | ||||||||||||||||||||||||||||||
421 | "AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
422 | "TLS_RSA_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
423 | 0x0300009D, | - | ||||||||||||||||||||||||||||||
424 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
425 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
426 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
427 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
428 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
429 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
430 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
431 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
432 | 256, | - | ||||||||||||||||||||||||||||||
433 | 256, | - | ||||||||||||||||||||||||||||||
434 | }, | - | ||||||||||||||||||||||||||||||
435 | { | - | ||||||||||||||||||||||||||||||
436 | 1, | - | ||||||||||||||||||||||||||||||
437 | "DHE-RSA-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
438 | "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
439 | 0x0300009E, | - | ||||||||||||||||||||||||||||||
440 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
441 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
442 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
443 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
444 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
445 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
446 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
447 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
448 | 128, | - | ||||||||||||||||||||||||||||||
449 | 128, | - | ||||||||||||||||||||||||||||||
450 | }, | - | ||||||||||||||||||||||||||||||
451 | { | - | ||||||||||||||||||||||||||||||
452 | 1, | - | ||||||||||||||||||||||||||||||
453 | "DHE-RSA-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
454 | "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
455 | 0x0300009F, | - | ||||||||||||||||||||||||||||||
456 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
457 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
458 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
459 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
460 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
461 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
462 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
463 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
464 | 256, | - | ||||||||||||||||||||||||||||||
465 | 256, | - | ||||||||||||||||||||||||||||||
466 | }, | - | ||||||||||||||||||||||||||||||
467 | { | - | ||||||||||||||||||||||||||||||
468 | 1, | - | ||||||||||||||||||||||||||||||
469 | "DHE-DSS-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
470 | "TLS_DHE_DSS_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
471 | 0x030000A2, | - | ||||||||||||||||||||||||||||||
472 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
473 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
474 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
475 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
476 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
477 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
478 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
479 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
480 | 128, | - | ||||||||||||||||||||||||||||||
481 | 128, | - | ||||||||||||||||||||||||||||||
482 | }, | - | ||||||||||||||||||||||||||||||
483 | { | - | ||||||||||||||||||||||||||||||
484 | 1, | - | ||||||||||||||||||||||||||||||
485 | "DHE-DSS-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
486 | "TLS_DHE_DSS_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
487 | 0x030000A3, | - | ||||||||||||||||||||||||||||||
488 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
489 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
490 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
491 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
492 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
493 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
494 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
495 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
496 | 256, | - | ||||||||||||||||||||||||||||||
497 | 256, | - | ||||||||||||||||||||||||||||||
498 | }, | - | ||||||||||||||||||||||||||||||
499 | { | - | ||||||||||||||||||||||||||||||
500 | 1, | - | ||||||||||||||||||||||||||||||
501 | "ADH-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
502 | "TLS_DH_anon_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
503 | 0x030000A6, | - | ||||||||||||||||||||||||||||||
504 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
505 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
506 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
507 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
508 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
509 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
510 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
511 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
512 | 128, | - | ||||||||||||||||||||||||||||||
513 | 128, | - | ||||||||||||||||||||||||||||||
514 | }, | - | ||||||||||||||||||||||||||||||
515 | { | - | ||||||||||||||||||||||||||||||
516 | 1, | - | ||||||||||||||||||||||||||||||
517 | "ADH-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
518 | "TLS_DH_anon_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
519 | 0x030000A7, | - | ||||||||||||||||||||||||||||||
520 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
521 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
522 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
523 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
524 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
525 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
526 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
527 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
528 | 256, | - | ||||||||||||||||||||||||||||||
529 | 256, | - | ||||||||||||||||||||||||||||||
530 | }, | - | ||||||||||||||||||||||||||||||
531 | { | - | ||||||||||||||||||||||||||||||
532 | 1, | - | ||||||||||||||||||||||||||||||
533 | "AES128-CCM", | - | ||||||||||||||||||||||||||||||
534 | "TLS_RSA_WITH_AES_128_CCM", | - | ||||||||||||||||||||||||||||||
535 | 0x0300C09C, | - | ||||||||||||||||||||||||||||||
536 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
537 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
538 | 0x00004000U, | - | ||||||||||||||||||||||||||||||
539 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
540 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
541 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
542 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
543 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
544 | 128, | - | ||||||||||||||||||||||||||||||
545 | 128, | - | ||||||||||||||||||||||||||||||
546 | }, | - | ||||||||||||||||||||||||||||||
547 | { | - | ||||||||||||||||||||||||||||||
548 | 1, | - | ||||||||||||||||||||||||||||||
549 | "AES256-CCM", | - | ||||||||||||||||||||||||||||||
550 | "TLS_RSA_WITH_AES_256_CCM", | - | ||||||||||||||||||||||||||||||
551 | 0x0300C09D, | - | ||||||||||||||||||||||||||||||
552 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
553 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
554 | 0x00008000U, | - | ||||||||||||||||||||||||||||||
555 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
556 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
557 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
558 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
559 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
560 | 256, | - | ||||||||||||||||||||||||||||||
561 | 256, | - | ||||||||||||||||||||||||||||||
562 | }, | - | ||||||||||||||||||||||||||||||
563 | { | - | ||||||||||||||||||||||||||||||
564 | 1, | - | ||||||||||||||||||||||||||||||
565 | "DHE-RSA-AES128-CCM", | - | ||||||||||||||||||||||||||||||
566 | "TLS_DHE_RSA_WITH_AES_128_CCM", | - | ||||||||||||||||||||||||||||||
567 | 0x0300C09E, | - | ||||||||||||||||||||||||||||||
568 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
569 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
570 | 0x00004000U, | - | ||||||||||||||||||||||||||||||
571 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
572 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
573 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
574 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
575 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
576 | 128, | - | ||||||||||||||||||||||||||||||
577 | 128, | - | ||||||||||||||||||||||||||||||
578 | }, | - | ||||||||||||||||||||||||||||||
579 | { | - | ||||||||||||||||||||||||||||||
580 | 1, | - | ||||||||||||||||||||||||||||||
581 | "DHE-RSA-AES256-CCM", | - | ||||||||||||||||||||||||||||||
582 | "TLS_DHE_RSA_WITH_AES_256_CCM", | - | ||||||||||||||||||||||||||||||
583 | 0x0300C09F, | - | ||||||||||||||||||||||||||||||
584 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
585 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
586 | 0x00008000U, | - | ||||||||||||||||||||||||||||||
587 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
588 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
589 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
590 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
591 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
592 | 256, | - | ||||||||||||||||||||||||||||||
593 | 256, | - | ||||||||||||||||||||||||||||||
594 | }, | - | ||||||||||||||||||||||||||||||
595 | { | - | ||||||||||||||||||||||||||||||
596 | 1, | - | ||||||||||||||||||||||||||||||
597 | "AES128-CCM8", | - | ||||||||||||||||||||||||||||||
598 | "TLS_RSA_WITH_AES_128_CCM_8", | - | ||||||||||||||||||||||||||||||
599 | 0x0300C0A0, | - | ||||||||||||||||||||||||||||||
600 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
601 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
602 | 0x00010000U, | - | ||||||||||||||||||||||||||||||
603 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
604 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
605 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
606 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
607 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
608 | 128, | - | ||||||||||||||||||||||||||||||
609 | 128, | - | ||||||||||||||||||||||||||||||
610 | }, | - | ||||||||||||||||||||||||||||||
611 | { | - | ||||||||||||||||||||||||||||||
612 | 1, | - | ||||||||||||||||||||||||||||||
613 | "AES256-CCM8", | - | ||||||||||||||||||||||||||||||
614 | "TLS_RSA_WITH_AES_256_CCM_8", | - | ||||||||||||||||||||||||||||||
615 | 0x0300C0A1, | - | ||||||||||||||||||||||||||||||
616 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
617 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
618 | 0x00020000U, | - | ||||||||||||||||||||||||||||||
619 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
620 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
621 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
622 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
623 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
624 | 256, | - | ||||||||||||||||||||||||||||||
625 | 256, | - | ||||||||||||||||||||||||||||||
626 | }, | - | ||||||||||||||||||||||||||||||
627 | { | - | ||||||||||||||||||||||||||||||
628 | 1, | - | ||||||||||||||||||||||||||||||
629 | "DHE-RSA-AES128-CCM8", | - | ||||||||||||||||||||||||||||||
630 | "TLS_DHE_RSA_WITH_AES_128_CCM_8", | - | ||||||||||||||||||||||||||||||
631 | 0x0300C0A2, | - | ||||||||||||||||||||||||||||||
632 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
633 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
634 | 0x00010000U, | - | ||||||||||||||||||||||||||||||
635 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
636 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
637 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
638 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
639 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
640 | 128, | - | ||||||||||||||||||||||||||||||
641 | 128, | - | ||||||||||||||||||||||||||||||
642 | }, | - | ||||||||||||||||||||||||||||||
643 | { | - | ||||||||||||||||||||||||||||||
644 | 1, | - | ||||||||||||||||||||||||||||||
645 | "DHE-RSA-AES256-CCM8", | - | ||||||||||||||||||||||||||||||
646 | "TLS_DHE_RSA_WITH_AES_256_CCM_8", | - | ||||||||||||||||||||||||||||||
647 | 0x0300C0A3, | - | ||||||||||||||||||||||||||||||
648 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
649 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
650 | 0x00020000U, | - | ||||||||||||||||||||||||||||||
651 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
652 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
653 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
654 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
655 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
656 | 256, | - | ||||||||||||||||||||||||||||||
657 | 256, | - | ||||||||||||||||||||||||||||||
658 | }, | - | ||||||||||||||||||||||||||||||
659 | { | - | ||||||||||||||||||||||||||||||
660 | 1, | - | ||||||||||||||||||||||||||||||
661 | "PSK-AES128-CCM", | - | ||||||||||||||||||||||||||||||
662 | "TLS_PSK_WITH_AES_128_CCM", | - | ||||||||||||||||||||||||||||||
663 | 0x0300C0A4, | - | ||||||||||||||||||||||||||||||
664 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
665 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
666 | 0x00004000U, | - | ||||||||||||||||||||||||||||||
667 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
668 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
669 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
670 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
671 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
672 | 128, | - | ||||||||||||||||||||||||||||||
673 | 128, | - | ||||||||||||||||||||||||||||||
674 | }, | - | ||||||||||||||||||||||||||||||
675 | { | - | ||||||||||||||||||||||||||||||
676 | 1, | - | ||||||||||||||||||||||||||||||
677 | "PSK-AES256-CCM", | - | ||||||||||||||||||||||||||||||
678 | "TLS_PSK_WITH_AES_256_CCM", | - | ||||||||||||||||||||||||||||||
679 | 0x0300C0A5, | - | ||||||||||||||||||||||||||||||
680 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
681 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
682 | 0x00008000U, | - | ||||||||||||||||||||||||||||||
683 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
684 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
685 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
686 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
687 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
688 | 256, | - | ||||||||||||||||||||||||||||||
689 | 256, | - | ||||||||||||||||||||||||||||||
690 | }, | - | ||||||||||||||||||||||||||||||
691 | { | - | ||||||||||||||||||||||||||||||
692 | 1, | - | ||||||||||||||||||||||||||||||
693 | "DHE-PSK-AES128-CCM", | - | ||||||||||||||||||||||||||||||
694 | "TLS_DHE_PSK_WITH_AES_128_CCM", | - | ||||||||||||||||||||||||||||||
695 | 0x0300C0A6, | - | ||||||||||||||||||||||||||||||
696 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
697 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
698 | 0x00004000U, | - | ||||||||||||||||||||||||||||||
699 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
700 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
701 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
702 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
703 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
704 | 128, | - | ||||||||||||||||||||||||||||||
705 | 128, | - | ||||||||||||||||||||||||||||||
706 | }, | - | ||||||||||||||||||||||||||||||
707 | { | - | ||||||||||||||||||||||||||||||
708 | 1, | - | ||||||||||||||||||||||||||||||
709 | "DHE-PSK-AES256-CCM", | - | ||||||||||||||||||||||||||||||
710 | "TLS_DHE_PSK_WITH_AES_256_CCM", | - | ||||||||||||||||||||||||||||||
711 | 0x0300C0A7, | - | ||||||||||||||||||||||||||||||
712 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
713 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
714 | 0x00008000U, | - | ||||||||||||||||||||||||||||||
715 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
716 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
717 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
718 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
719 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
720 | 256, | - | ||||||||||||||||||||||||||||||
721 | 256, | - | ||||||||||||||||||||||||||||||
722 | }, | - | ||||||||||||||||||||||||||||||
723 | { | - | ||||||||||||||||||||||||||||||
724 | 1, | - | ||||||||||||||||||||||||||||||
725 | "PSK-AES128-CCM8", | - | ||||||||||||||||||||||||||||||
726 | "TLS_PSK_WITH_AES_128_CCM_8", | - | ||||||||||||||||||||||||||||||
727 | 0x0300C0A8, | - | ||||||||||||||||||||||||||||||
728 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
729 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
730 | 0x00010000U, | - | ||||||||||||||||||||||||||||||
731 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
732 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
733 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
734 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
735 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
736 | 128, | - | ||||||||||||||||||||||||||||||
737 | 128, | - | ||||||||||||||||||||||||||||||
738 | }, | - | ||||||||||||||||||||||||||||||
739 | { | - | ||||||||||||||||||||||||||||||
740 | 1, | - | ||||||||||||||||||||||||||||||
741 | "PSK-AES256-CCM8", | - | ||||||||||||||||||||||||||||||
742 | "TLS_PSK_WITH_AES_256_CCM_8", | - | ||||||||||||||||||||||||||||||
743 | 0x0300C0A9, | - | ||||||||||||||||||||||||||||||
744 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
745 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
746 | 0x00020000U, | - | ||||||||||||||||||||||||||||||
747 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
748 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
749 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
750 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
751 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
752 | 256, | - | ||||||||||||||||||||||||||||||
753 | 256, | - | ||||||||||||||||||||||||||||||
754 | }, | - | ||||||||||||||||||||||||||||||
755 | { | - | ||||||||||||||||||||||||||||||
756 | 1, | - | ||||||||||||||||||||||||||||||
757 | "DHE-PSK-AES128-CCM8", | - | ||||||||||||||||||||||||||||||
758 | "TLS_PSK_DHE_WITH_AES_128_CCM_8", | - | ||||||||||||||||||||||||||||||
759 | 0x0300C0AA, | - | ||||||||||||||||||||||||||||||
760 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
761 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
762 | 0x00010000U, | - | ||||||||||||||||||||||||||||||
763 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
764 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
765 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
766 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
767 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
768 | 128, | - | ||||||||||||||||||||||||||||||
769 | 128, | - | ||||||||||||||||||||||||||||||
770 | }, | - | ||||||||||||||||||||||||||||||
771 | { | - | ||||||||||||||||||||||||||||||
772 | 1, | - | ||||||||||||||||||||||||||||||
773 | "DHE-PSK-AES256-CCM8", | - | ||||||||||||||||||||||||||||||
774 | "TLS_PSK_DHE_WITH_AES_256_CCM_8", | - | ||||||||||||||||||||||||||||||
775 | 0x0300C0AB, | - | ||||||||||||||||||||||||||||||
776 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
777 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
778 | 0x00020000U, | - | ||||||||||||||||||||||||||||||
779 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
780 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
781 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
782 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
783 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
784 | 256, | - | ||||||||||||||||||||||||||||||
785 | 256, | - | ||||||||||||||||||||||||||||||
786 | }, | - | ||||||||||||||||||||||||||||||
787 | { | - | ||||||||||||||||||||||||||||||
788 | 1, | - | ||||||||||||||||||||||||||||||
789 | "ECDHE-ECDSA-AES128-CCM", | - | ||||||||||||||||||||||||||||||
790 | "TLS_ECDHE_ECDSA_WITH_AES_128_CCM", | - | ||||||||||||||||||||||||||||||
791 | 0x0300C0AC, | - | ||||||||||||||||||||||||||||||
792 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
793 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
794 | 0x00004000U, | - | ||||||||||||||||||||||||||||||
795 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
796 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
797 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
798 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
799 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
800 | 128, | - | ||||||||||||||||||||||||||||||
801 | 128, | - | ||||||||||||||||||||||||||||||
802 | }, | - | ||||||||||||||||||||||||||||||
803 | { | - | ||||||||||||||||||||||||||||||
804 | 1, | - | ||||||||||||||||||||||||||||||
805 | "ECDHE-ECDSA-AES256-CCM", | - | ||||||||||||||||||||||||||||||
806 | "TLS_ECDHE_ECDSA_WITH_AES_256_CCM", | - | ||||||||||||||||||||||||||||||
807 | 0x0300C0AD, | - | ||||||||||||||||||||||||||||||
808 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
809 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
810 | 0x00008000U, | - | ||||||||||||||||||||||||||||||
811 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
812 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
813 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
814 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
815 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
816 | 256, | - | ||||||||||||||||||||||||||||||
817 | 256, | - | ||||||||||||||||||||||||||||||
818 | }, | - | ||||||||||||||||||||||||||||||
819 | { | - | ||||||||||||||||||||||||||||||
820 | 1, | - | ||||||||||||||||||||||||||||||
821 | "ECDHE-ECDSA-AES128-CCM8", | - | ||||||||||||||||||||||||||||||
822 | "TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8", | - | ||||||||||||||||||||||||||||||
823 | 0x0300C0AE, | - | ||||||||||||||||||||||||||||||
824 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
825 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
826 | 0x00010000U, | - | ||||||||||||||||||||||||||||||
827 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
828 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
829 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
830 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
831 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
832 | 128, | - | ||||||||||||||||||||||||||||||
833 | 128, | - | ||||||||||||||||||||||||||||||
834 | }, | - | ||||||||||||||||||||||||||||||
835 | { | - | ||||||||||||||||||||||||||||||
836 | 1, | - | ||||||||||||||||||||||||||||||
837 | "ECDHE-ECDSA-AES256-CCM8", | - | ||||||||||||||||||||||||||||||
838 | "TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8", | - | ||||||||||||||||||||||||||||||
839 | 0x0300C0AF, | - | ||||||||||||||||||||||||||||||
840 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
841 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
842 | 0x00020000U, | - | ||||||||||||||||||||||||||||||
843 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
844 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
845 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
846 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
847 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
848 | 256, | - | ||||||||||||||||||||||||||||||
849 | 256, | - | ||||||||||||||||||||||||||||||
850 | }, | - | ||||||||||||||||||||||||||||||
851 | { | - | ||||||||||||||||||||||||||||||
852 | 1, | - | ||||||||||||||||||||||||||||||
853 | "ECDHE-ECDSA-NULL-SHA", | - | ||||||||||||||||||||||||||||||
854 | "TLS_ECDHE_ECDSA_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
855 | 0x0300C006, | - | ||||||||||||||||||||||||||||||
856 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
857 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
858 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
859 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
860 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
861 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
862 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
863 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
864 | 0, | - | ||||||||||||||||||||||||||||||
865 | 0, | - | ||||||||||||||||||||||||||||||
866 | }, | - | ||||||||||||||||||||||||||||||
867 | { | - | ||||||||||||||||||||||||||||||
868 | 1, | - | ||||||||||||||||||||||||||||||
869 | "ECDHE-ECDSA-AES128-SHA", | - | ||||||||||||||||||||||||||||||
870 | "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
871 | 0x0300C009, | - | ||||||||||||||||||||||||||||||
872 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
873 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
874 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
875 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
876 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
877 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
878 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
879 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
880 | 128, | - | ||||||||||||||||||||||||||||||
881 | 128, | - | ||||||||||||||||||||||||||||||
882 | }, | - | ||||||||||||||||||||||||||||||
883 | { | - | ||||||||||||||||||||||||||||||
884 | 1, | - | ||||||||||||||||||||||||||||||
885 | "ECDHE-ECDSA-AES256-SHA", | - | ||||||||||||||||||||||||||||||
886 | "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
887 | 0x0300C00A, | - | ||||||||||||||||||||||||||||||
888 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
889 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
890 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
891 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
892 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
893 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
894 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
895 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
896 | 256, | - | ||||||||||||||||||||||||||||||
897 | 256, | - | ||||||||||||||||||||||||||||||
898 | }, | - | ||||||||||||||||||||||||||||||
899 | { | - | ||||||||||||||||||||||||||||||
900 | 1, | - | ||||||||||||||||||||||||||||||
901 | "ECDHE-RSA-NULL-SHA", | - | ||||||||||||||||||||||||||||||
902 | "TLS_ECDHE_RSA_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
903 | 0x0300C010, | - | ||||||||||||||||||||||||||||||
904 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
905 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
906 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
907 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
908 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
909 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
910 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
911 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
912 | 0, | - | ||||||||||||||||||||||||||||||
913 | 0, | - | ||||||||||||||||||||||||||||||
914 | }, | - | ||||||||||||||||||||||||||||||
915 | { | - | ||||||||||||||||||||||||||||||
916 | 1, | - | ||||||||||||||||||||||||||||||
917 | "ECDHE-RSA-AES128-SHA", | - | ||||||||||||||||||||||||||||||
918 | "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
919 | 0x0300C013, | - | ||||||||||||||||||||||||||||||
920 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
921 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
922 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
923 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
924 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
925 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
926 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
927 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
928 | 128, | - | ||||||||||||||||||||||||||||||
929 | 128, | - | ||||||||||||||||||||||||||||||
930 | }, | - | ||||||||||||||||||||||||||||||
931 | { | - | ||||||||||||||||||||||||||||||
932 | 1, | - | ||||||||||||||||||||||||||||||
933 | "ECDHE-RSA-AES256-SHA", | - | ||||||||||||||||||||||||||||||
934 | "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
935 | 0x0300C014, | - | ||||||||||||||||||||||||||||||
936 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
937 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
938 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
939 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
940 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
941 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
942 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
943 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
944 | 256, | - | ||||||||||||||||||||||||||||||
945 | 256, | - | ||||||||||||||||||||||||||||||
946 | }, | - | ||||||||||||||||||||||||||||||
947 | { | - | ||||||||||||||||||||||||||||||
948 | 1, | - | ||||||||||||||||||||||||||||||
949 | "AECDH-NULL-SHA", | - | ||||||||||||||||||||||||||||||
950 | "TLS_ECDH_anon_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
951 | 0x0300C015, | - | ||||||||||||||||||||||||||||||
952 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
953 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
954 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
955 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
956 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
957 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
958 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
959 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
960 | 0, | - | ||||||||||||||||||||||||||||||
961 | 0, | - | ||||||||||||||||||||||||||||||
962 | }, | - | ||||||||||||||||||||||||||||||
963 | { | - | ||||||||||||||||||||||||||||||
964 | 1, | - | ||||||||||||||||||||||||||||||
965 | "AECDH-AES128-SHA", | - | ||||||||||||||||||||||||||||||
966 | "TLS_ECDH_anon_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
967 | 0x0300C018, | - | ||||||||||||||||||||||||||||||
968 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
969 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
970 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
971 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
972 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
973 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
974 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
975 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
976 | 128, | - | ||||||||||||||||||||||||||||||
977 | 128, | - | ||||||||||||||||||||||||||||||
978 | }, | - | ||||||||||||||||||||||||||||||
979 | { | - | ||||||||||||||||||||||||||||||
980 | 1, | - | ||||||||||||||||||||||||||||||
981 | "AECDH-AES256-SHA", | - | ||||||||||||||||||||||||||||||
982 | "TLS_ECDH_anon_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
983 | 0x0300C019, | - | ||||||||||||||||||||||||||||||
984 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
985 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
986 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
987 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
988 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
989 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
990 | 0x00000020U | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
991 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
992 | 256, | - | ||||||||||||||||||||||||||||||
993 | 256, | - | ||||||||||||||||||||||||||||||
994 | }, | - | ||||||||||||||||||||||||||||||
995 | { | - | ||||||||||||||||||||||||||||||
996 | 1, | - | ||||||||||||||||||||||||||||||
997 | "ECDHE-ECDSA-AES128-SHA256", | - | ||||||||||||||||||||||||||||||
998 | "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
999 | 0x0300C023, | - | ||||||||||||||||||||||||||||||
1000 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1001 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1002 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1003 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1004 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1005 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1006 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1007 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1008 | 128, | - | ||||||||||||||||||||||||||||||
1009 | 128, | - | ||||||||||||||||||||||||||||||
1010 | }, | - | ||||||||||||||||||||||||||||||
1011 | { | - | ||||||||||||||||||||||||||||||
1012 | 1, | - | ||||||||||||||||||||||||||||||
1013 | "ECDHE-ECDSA-AES256-SHA384", | - | ||||||||||||||||||||||||||||||
1014 | "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
1015 | 0x0300C024, | - | ||||||||||||||||||||||||||||||
1016 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1017 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1018 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1019 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1020 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1021 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1022 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1023 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1024 | 256, | - | ||||||||||||||||||||||||||||||
1025 | 256, | - | ||||||||||||||||||||||||||||||
1026 | }, | - | ||||||||||||||||||||||||||||||
1027 | { | - | ||||||||||||||||||||||||||||||
1028 | 1, | - | ||||||||||||||||||||||||||||||
1029 | "ECDHE-RSA-AES128-SHA256", | - | ||||||||||||||||||||||||||||||
1030 | "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1031 | 0x0300C027, | - | ||||||||||||||||||||||||||||||
1032 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1033 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1034 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1035 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1036 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1037 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1038 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1039 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1040 | 128, | - | ||||||||||||||||||||||||||||||
1041 | 128, | - | ||||||||||||||||||||||||||||||
1042 | }, | - | ||||||||||||||||||||||||||||||
1043 | { | - | ||||||||||||||||||||||||||||||
1044 | 1, | - | ||||||||||||||||||||||||||||||
1045 | "ECDHE-RSA-AES256-SHA384", | - | ||||||||||||||||||||||||||||||
1046 | "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
1047 | 0x0300C028, | - | ||||||||||||||||||||||||||||||
1048 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1049 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1050 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1051 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1052 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1053 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1054 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1055 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1056 | 256, | - | ||||||||||||||||||||||||||||||
1057 | 256, | - | ||||||||||||||||||||||||||||||
1058 | }, | - | ||||||||||||||||||||||||||||||
1059 | { | - | ||||||||||||||||||||||||||||||
1060 | 1, | - | ||||||||||||||||||||||||||||||
1061 | "ECDHE-ECDSA-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
1062 | "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
1063 | 0x0300C02B, | - | ||||||||||||||||||||||||||||||
1064 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1065 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1066 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
1067 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1068 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1069 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1070 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1071 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1072 | 128, | - | ||||||||||||||||||||||||||||||
1073 | 128, | - | ||||||||||||||||||||||||||||||
1074 | }, | - | ||||||||||||||||||||||||||||||
1075 | { | - | ||||||||||||||||||||||||||||||
1076 | 1, | - | ||||||||||||||||||||||||||||||
1077 | "ECDHE-ECDSA-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
1078 | "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
1079 | 0x0300C02C, | - | ||||||||||||||||||||||||||||||
1080 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1081 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1082 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
1083 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1084 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1085 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1086 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1087 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1088 | 256, | - | ||||||||||||||||||||||||||||||
1089 | 256, | - | ||||||||||||||||||||||||||||||
1090 | }, | - | ||||||||||||||||||||||||||||||
1091 | { | - | ||||||||||||||||||||||||||||||
1092 | 1, | - | ||||||||||||||||||||||||||||||
1093 | "ECDHE-RSA-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
1094 | "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
1095 | 0x0300C02F, | - | ||||||||||||||||||||||||||||||
1096 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1097 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1098 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
1099 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1100 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1101 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1102 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1103 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1104 | 128, | - | ||||||||||||||||||||||||||||||
1105 | 128, | - | ||||||||||||||||||||||||||||||
1106 | }, | - | ||||||||||||||||||||||||||||||
1107 | { | - | ||||||||||||||||||||||||||||||
1108 | 1, | - | ||||||||||||||||||||||||||||||
1109 | "ECDHE-RSA-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
1110 | "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
1111 | 0x0300C030, | - | ||||||||||||||||||||||||||||||
1112 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1113 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1114 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
1115 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1116 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1117 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1118 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1119 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1120 | 256, | - | ||||||||||||||||||||||||||||||
1121 | 256, | - | ||||||||||||||||||||||||||||||
1122 | }, | - | ||||||||||||||||||||||||||||||
1123 | { | - | ||||||||||||||||||||||||||||||
1124 | 1, | - | ||||||||||||||||||||||||||||||
1125 | "PSK-NULL-SHA", | - | ||||||||||||||||||||||||||||||
1126 | "TLS_PSK_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
1127 | 0x0300002C, | - | ||||||||||||||||||||||||||||||
1128 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1129 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1130 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1131 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1132 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1133 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1134 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1135 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1136 | 0, | - | ||||||||||||||||||||||||||||||
1137 | 0, | - | ||||||||||||||||||||||||||||||
1138 | }, | - | ||||||||||||||||||||||||||||||
1139 | { | - | ||||||||||||||||||||||||||||||
1140 | 1, | - | ||||||||||||||||||||||||||||||
1141 | "DHE-PSK-NULL-SHA", | - | ||||||||||||||||||||||||||||||
1142 | "TLS_DHE_PSK_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
1143 | 0x0300002D, | - | ||||||||||||||||||||||||||||||
1144 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1145 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1146 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1147 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1148 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1149 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1150 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1151 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1152 | 0, | - | ||||||||||||||||||||||||||||||
1153 | 0, | - | ||||||||||||||||||||||||||||||
1154 | }, | - | ||||||||||||||||||||||||||||||
1155 | { | - | ||||||||||||||||||||||||||||||
1156 | 1, | - | ||||||||||||||||||||||||||||||
1157 | "RSA-PSK-NULL-SHA", | - | ||||||||||||||||||||||||||||||
1158 | "TLS_RSA_PSK_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
1159 | 0x0300002E, | - | ||||||||||||||||||||||||||||||
1160 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1161 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1162 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1163 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1164 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1165 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1166 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1167 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1168 | 0, | - | ||||||||||||||||||||||||||||||
1169 | 0, | - | ||||||||||||||||||||||||||||||
1170 | }, | - | ||||||||||||||||||||||||||||||
1171 | { | - | ||||||||||||||||||||||||||||||
1172 | 1, | - | ||||||||||||||||||||||||||||||
1173 | "PSK-AES128-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1174 | "TLS_PSK_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1175 | 0x0300008C, | - | ||||||||||||||||||||||||||||||
1176 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1177 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1178 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1179 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1180 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1181 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1182 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1183 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1184 | 128, | - | ||||||||||||||||||||||||||||||
1185 | 128, | - | ||||||||||||||||||||||||||||||
1186 | }, | - | ||||||||||||||||||||||||||||||
1187 | { | - | ||||||||||||||||||||||||||||||
1188 | 1, | - | ||||||||||||||||||||||||||||||
1189 | "PSK-AES256-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1190 | "TLS_PSK_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1191 | 0x0300008D, | - | ||||||||||||||||||||||||||||||
1192 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1193 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1194 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1195 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1196 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1197 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1198 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1199 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1200 | 256, | - | ||||||||||||||||||||||||||||||
1201 | 256, | - | ||||||||||||||||||||||||||||||
1202 | }, | - | ||||||||||||||||||||||||||||||
1203 | { | - | ||||||||||||||||||||||||||||||
1204 | 1, | - | ||||||||||||||||||||||||||||||
1205 | "DHE-PSK-AES128-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1206 | "TLS_DHE_PSK_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1207 | 0x03000090, | - | ||||||||||||||||||||||||||||||
1208 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1209 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1210 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1211 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1212 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1213 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1214 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1215 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1216 | 128, | - | ||||||||||||||||||||||||||||||
1217 | 128, | - | ||||||||||||||||||||||||||||||
1218 | }, | - | ||||||||||||||||||||||||||||||
1219 | { | - | ||||||||||||||||||||||||||||||
1220 | 1, | - | ||||||||||||||||||||||||||||||
1221 | "DHE-PSK-AES256-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1222 | "TLS_DHE_PSK_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1223 | 0x03000091, | - | ||||||||||||||||||||||||||||||
1224 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1225 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1226 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1227 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1228 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1229 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1230 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1231 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1232 | 256, | - | ||||||||||||||||||||||||||||||
1233 | 256, | - | ||||||||||||||||||||||||||||||
1234 | }, | - | ||||||||||||||||||||||||||||||
1235 | { | - | ||||||||||||||||||||||||||||||
1236 | 1, | - | ||||||||||||||||||||||||||||||
1237 | "RSA-PSK-AES128-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1238 | "TLS_RSA_PSK_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1239 | 0x03000094, | - | ||||||||||||||||||||||||||||||
1240 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1241 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1242 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1243 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1244 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1245 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1246 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1247 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1248 | 128, | - | ||||||||||||||||||||||||||||||
1249 | 128, | - | ||||||||||||||||||||||||||||||
1250 | }, | - | ||||||||||||||||||||||||||||||
1251 | { | - | ||||||||||||||||||||||||||||||
1252 | 1, | - | ||||||||||||||||||||||||||||||
1253 | "RSA-PSK-AES256-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1254 | "TLS_RSA_PSK_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1255 | 0x03000095, | - | ||||||||||||||||||||||||||||||
1256 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1257 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1258 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1259 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1260 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1261 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1262 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1263 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1264 | 256, | - | ||||||||||||||||||||||||||||||
1265 | 256, | - | ||||||||||||||||||||||||||||||
1266 | }, | - | ||||||||||||||||||||||||||||||
1267 | { | - | ||||||||||||||||||||||||||||||
1268 | 1, | - | ||||||||||||||||||||||||||||||
1269 | "PSK-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
1270 | "TLS_PSK_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
1271 | 0x030000A8, | - | ||||||||||||||||||||||||||||||
1272 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1273 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1274 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
1275 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1276 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1277 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1278 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1279 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1280 | 128, | - | ||||||||||||||||||||||||||||||
1281 | 128, | - | ||||||||||||||||||||||||||||||
1282 | }, | - | ||||||||||||||||||||||||||||||
1283 | { | - | ||||||||||||||||||||||||||||||
1284 | 1, | - | ||||||||||||||||||||||||||||||
1285 | "PSK-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
1286 | "TLS_PSK_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
1287 | 0x030000A9, | - | ||||||||||||||||||||||||||||||
1288 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1289 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1290 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
1291 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1292 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1293 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1294 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1295 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1296 | 256, | - | ||||||||||||||||||||||||||||||
1297 | 256, | - | ||||||||||||||||||||||||||||||
1298 | }, | - | ||||||||||||||||||||||||||||||
1299 | { | - | ||||||||||||||||||||||||||||||
1300 | 1, | - | ||||||||||||||||||||||||||||||
1301 | "DHE-PSK-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
1302 | "TLS_DHE_PSK_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
1303 | 0x030000AA, | - | ||||||||||||||||||||||||||||||
1304 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1305 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1306 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
1307 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1308 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1309 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1310 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1311 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1312 | 128, | - | ||||||||||||||||||||||||||||||
1313 | 128, | - | ||||||||||||||||||||||||||||||
1314 | }, | - | ||||||||||||||||||||||||||||||
1315 | { | - | ||||||||||||||||||||||||||||||
1316 | 1, | - | ||||||||||||||||||||||||||||||
1317 | "DHE-PSK-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
1318 | "TLS_DHE_PSK_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
1319 | 0x030000AB, | - | ||||||||||||||||||||||||||||||
1320 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1321 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1322 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
1323 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1324 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1325 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1326 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1327 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1328 | 256, | - | ||||||||||||||||||||||||||||||
1329 | 256, | - | ||||||||||||||||||||||||||||||
1330 | }, | - | ||||||||||||||||||||||||||||||
1331 | { | - | ||||||||||||||||||||||||||||||
1332 | 1, | - | ||||||||||||||||||||||||||||||
1333 | "RSA-PSK-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
1334 | "TLS_RSA_PSK_WITH_AES_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
1335 | 0x030000AC, | - | ||||||||||||||||||||||||||||||
1336 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1337 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1338 | 0x00001000U, | - | ||||||||||||||||||||||||||||||
1339 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1340 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1341 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1342 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1343 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1344 | 128, | - | ||||||||||||||||||||||||||||||
1345 | 128, | - | ||||||||||||||||||||||||||||||
1346 | }, | - | ||||||||||||||||||||||||||||||
1347 | { | - | ||||||||||||||||||||||||||||||
1348 | 1, | - | ||||||||||||||||||||||||||||||
1349 | "RSA-PSK-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
1350 | "TLS_RSA_PSK_WITH_AES_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
1351 | 0x030000AD, | - | ||||||||||||||||||||||||||||||
1352 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1353 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1354 | 0x00002000U, | - | ||||||||||||||||||||||||||||||
1355 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1356 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1357 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1358 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1359 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1360 | 256, | - | ||||||||||||||||||||||||||||||
1361 | 256, | - | ||||||||||||||||||||||||||||||
1362 | }, | - | ||||||||||||||||||||||||||||||
1363 | { | - | ||||||||||||||||||||||||||||||
1364 | 1, | - | ||||||||||||||||||||||||||||||
1365 | "PSK-AES128-CBC-SHA256", | - | ||||||||||||||||||||||||||||||
1366 | "TLS_PSK_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1367 | 0x030000AE, | - | ||||||||||||||||||||||||||||||
1368 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1369 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1370 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1371 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1372 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1373 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1374 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1375 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1376 | 128, | - | ||||||||||||||||||||||||||||||
1377 | 128, | - | ||||||||||||||||||||||||||||||
1378 | }, | - | ||||||||||||||||||||||||||||||
1379 | { | - | ||||||||||||||||||||||||||||||
1380 | 1, | - | ||||||||||||||||||||||||||||||
1381 | "PSK-AES256-CBC-SHA384", | - | ||||||||||||||||||||||||||||||
1382 | "TLS_PSK_WITH_AES_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
1383 | 0x030000AF, | - | ||||||||||||||||||||||||||||||
1384 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1385 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1386 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1387 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1388 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1389 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1390 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1391 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1392 | 256, | - | ||||||||||||||||||||||||||||||
1393 | 256, | - | ||||||||||||||||||||||||||||||
1394 | }, | - | ||||||||||||||||||||||||||||||
1395 | { | - | ||||||||||||||||||||||||||||||
1396 | 1, | - | ||||||||||||||||||||||||||||||
1397 | "PSK-NULL-SHA256", | - | ||||||||||||||||||||||||||||||
1398 | "TLS_PSK_WITH_NULL_SHA256", | - | ||||||||||||||||||||||||||||||
1399 | 0x030000B0, | - | ||||||||||||||||||||||||||||||
1400 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1401 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1402 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1403 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1404 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1405 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1406 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1407 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1408 | 0, | - | ||||||||||||||||||||||||||||||
1409 | 0, | - | ||||||||||||||||||||||||||||||
1410 | }, | - | ||||||||||||||||||||||||||||||
1411 | { | - | ||||||||||||||||||||||||||||||
1412 | 1, | - | ||||||||||||||||||||||||||||||
1413 | "PSK-NULL-SHA384", | - | ||||||||||||||||||||||||||||||
1414 | "TLS_PSK_WITH_NULL_SHA384", | - | ||||||||||||||||||||||||||||||
1415 | 0x030000B1, | - | ||||||||||||||||||||||||||||||
1416 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1417 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1418 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1419 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1420 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1421 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1422 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1423 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1424 | 0, | - | ||||||||||||||||||||||||||||||
1425 | 0, | - | ||||||||||||||||||||||||||||||
1426 | }, | - | ||||||||||||||||||||||||||||||
1427 | { | - | ||||||||||||||||||||||||||||||
1428 | 1, | - | ||||||||||||||||||||||||||||||
1429 | "DHE-PSK-AES128-CBC-SHA256", | - | ||||||||||||||||||||||||||||||
1430 | "TLS_DHE_PSK_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1431 | 0x030000B2, | - | ||||||||||||||||||||||||||||||
1432 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1433 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1434 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1435 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1436 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1437 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1438 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1439 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1440 | 128, | - | ||||||||||||||||||||||||||||||
1441 | 128, | - | ||||||||||||||||||||||||||||||
1442 | }, | - | ||||||||||||||||||||||||||||||
1443 | { | - | ||||||||||||||||||||||||||||||
1444 | 1, | - | ||||||||||||||||||||||||||||||
1445 | "DHE-PSK-AES256-CBC-SHA384", | - | ||||||||||||||||||||||||||||||
1446 | "TLS_DHE_PSK_WITH_AES_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
1447 | 0x030000B3, | - | ||||||||||||||||||||||||||||||
1448 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1449 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1450 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1451 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1452 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1453 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1454 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1455 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1456 | 256, | - | ||||||||||||||||||||||||||||||
1457 | 256, | - | ||||||||||||||||||||||||||||||
1458 | }, | - | ||||||||||||||||||||||||||||||
1459 | { | - | ||||||||||||||||||||||||||||||
1460 | 1, | - | ||||||||||||||||||||||||||||||
1461 | "DHE-PSK-NULL-SHA256", | - | ||||||||||||||||||||||||||||||
1462 | "TLS_DHE_PSK_WITH_NULL_SHA256", | - | ||||||||||||||||||||||||||||||
1463 | 0x030000B4, | - | ||||||||||||||||||||||||||||||
1464 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1465 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1466 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1467 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1468 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1469 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1470 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1471 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1472 | 0, | - | ||||||||||||||||||||||||||||||
1473 | 0, | - | ||||||||||||||||||||||||||||||
1474 | }, | - | ||||||||||||||||||||||||||||||
1475 | { | - | ||||||||||||||||||||||||||||||
1476 | 1, | - | ||||||||||||||||||||||||||||||
1477 | "DHE-PSK-NULL-SHA384", | - | ||||||||||||||||||||||||||||||
1478 | "TLS_DHE_PSK_WITH_NULL_SHA384", | - | ||||||||||||||||||||||||||||||
1479 | 0x030000B5, | - | ||||||||||||||||||||||||||||||
1480 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1481 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1482 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1483 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1484 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1485 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1486 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1487 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1488 | 0, | - | ||||||||||||||||||||||||||||||
1489 | 0, | - | ||||||||||||||||||||||||||||||
1490 | }, | - | ||||||||||||||||||||||||||||||
1491 | { | - | ||||||||||||||||||||||||||||||
1492 | 1, | - | ||||||||||||||||||||||||||||||
1493 | "RSA-PSK-AES128-CBC-SHA256", | - | ||||||||||||||||||||||||||||||
1494 | "TLS_RSA_PSK_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1495 | 0x030000B6, | - | ||||||||||||||||||||||||||||||
1496 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1497 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1498 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1499 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1500 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1501 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1502 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1503 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1504 | 128, | - | ||||||||||||||||||||||||||||||
1505 | 128, | - | ||||||||||||||||||||||||||||||
1506 | }, | - | ||||||||||||||||||||||||||||||
1507 | { | - | ||||||||||||||||||||||||||||||
1508 | 1, | - | ||||||||||||||||||||||||||||||
1509 | "RSA-PSK-AES256-CBC-SHA384", | - | ||||||||||||||||||||||||||||||
1510 | "TLS_RSA_PSK_WITH_AES_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
1511 | 0x030000B7, | - | ||||||||||||||||||||||||||||||
1512 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1513 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1514 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1515 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1516 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1517 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1518 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1519 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1520 | 256, | - | ||||||||||||||||||||||||||||||
1521 | 256, | - | ||||||||||||||||||||||||||||||
1522 | }, | - | ||||||||||||||||||||||||||||||
1523 | { | - | ||||||||||||||||||||||||||||||
1524 | 1, | - | ||||||||||||||||||||||||||||||
1525 | "RSA-PSK-NULL-SHA256", | - | ||||||||||||||||||||||||||||||
1526 | "TLS_RSA_PSK_WITH_NULL_SHA256", | - | ||||||||||||||||||||||||||||||
1527 | 0x030000B8, | - | ||||||||||||||||||||||||||||||
1528 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1529 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1530 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1531 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1532 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1533 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1534 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1535 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1536 | 0, | - | ||||||||||||||||||||||||||||||
1537 | 0, | - | ||||||||||||||||||||||||||||||
1538 | }, | - | ||||||||||||||||||||||||||||||
1539 | { | - | ||||||||||||||||||||||||||||||
1540 | 1, | - | ||||||||||||||||||||||||||||||
1541 | "RSA-PSK-NULL-SHA384", | - | ||||||||||||||||||||||||||||||
1542 | "TLS_RSA_PSK_WITH_NULL_SHA384", | - | ||||||||||||||||||||||||||||||
1543 | 0x030000B9, | - | ||||||||||||||||||||||||||||||
1544 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1545 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1546 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1547 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1548 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1549 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1550 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1551 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1552 | 0, | - | ||||||||||||||||||||||||||||||
1553 | 0, | - | ||||||||||||||||||||||||||||||
1554 | }, | - | ||||||||||||||||||||||||||||||
1555 | { | - | ||||||||||||||||||||||||||||||
1556 | 1, | - | ||||||||||||||||||||||||||||||
1557 | "ECDHE-PSK-AES128-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1558 | "TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1559 | 0x0300C035, | - | ||||||||||||||||||||||||||||||
1560 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1561 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1562 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1563 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1564 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1565 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1566 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1567 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1568 | 128, | - | ||||||||||||||||||||||||||||||
1569 | 128, | - | ||||||||||||||||||||||||||||||
1570 | }, | - | ||||||||||||||||||||||||||||||
1571 | { | - | ||||||||||||||||||||||||||||||
1572 | 1, | - | ||||||||||||||||||||||||||||||
1573 | "ECDHE-PSK-AES256-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1574 | "TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1575 | 0x0300C036, | - | ||||||||||||||||||||||||||||||
1576 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1577 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1578 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1579 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1580 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1581 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1582 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1583 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1584 | 256, | - | ||||||||||||||||||||||||||||||
1585 | 256, | - | ||||||||||||||||||||||||||||||
1586 | }, | - | ||||||||||||||||||||||||||||||
1587 | { | - | ||||||||||||||||||||||||||||||
1588 | 1, | - | ||||||||||||||||||||||||||||||
1589 | "ECDHE-PSK-AES128-CBC-SHA256", | - | ||||||||||||||||||||||||||||||
1590 | "TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1591 | 0x0300C037, | - | ||||||||||||||||||||||||||||||
1592 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1593 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1594 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1595 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1596 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1597 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1598 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1599 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1600 | 128, | - | ||||||||||||||||||||||||||||||
1601 | 128, | - | ||||||||||||||||||||||||||||||
1602 | }, | - | ||||||||||||||||||||||||||||||
1603 | { | - | ||||||||||||||||||||||||||||||
1604 | 1, | - | ||||||||||||||||||||||||||||||
1605 | "ECDHE-PSK-AES256-CBC-SHA384", | - | ||||||||||||||||||||||||||||||
1606 | "TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
1607 | 0x0300C038, | - | ||||||||||||||||||||||||||||||
1608 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1609 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1610 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1611 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1612 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1613 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1614 | 0x00000008U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1615 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1616 | 256, | - | ||||||||||||||||||||||||||||||
1617 | 256, | - | ||||||||||||||||||||||||||||||
1618 | }, | - | ||||||||||||||||||||||||||||||
1619 | { | - | ||||||||||||||||||||||||||||||
1620 | 1, | - | ||||||||||||||||||||||||||||||
1621 | "ECDHE-PSK-NULL-SHA", | - | ||||||||||||||||||||||||||||||
1622 | "TLS_ECDHE_PSK_WITH_NULL_SHA", | - | ||||||||||||||||||||||||||||||
1623 | 0x0300C039, | - | ||||||||||||||||||||||||||||||
1624 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1625 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1626 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1627 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1628 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1629 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1630 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1631 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1632 | 0, | - | ||||||||||||||||||||||||||||||
1633 | 0, | - | ||||||||||||||||||||||||||||||
1634 | }, | - | ||||||||||||||||||||||||||||||
1635 | { | - | ||||||||||||||||||||||||||||||
1636 | 1, | - | ||||||||||||||||||||||||||||||
1637 | "ECDHE-PSK-NULL-SHA256", | - | ||||||||||||||||||||||||||||||
1638 | "TLS_ECDHE_PSK_WITH_NULL_SHA256", | - | ||||||||||||||||||||||||||||||
1639 | 0x0300C03A, | - | ||||||||||||||||||||||||||||||
1640 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1641 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1642 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1643 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1644 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1645 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1646 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1647 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1648 | 0, | - | ||||||||||||||||||||||||||||||
1649 | 0, | - | ||||||||||||||||||||||||||||||
1650 | }, | - | ||||||||||||||||||||||||||||||
1651 | { | - | ||||||||||||||||||||||||||||||
1652 | 1, | - | ||||||||||||||||||||||||||||||
1653 | "ECDHE-PSK-NULL-SHA384", | - | ||||||||||||||||||||||||||||||
1654 | "TLS_ECDHE_PSK_WITH_NULL_SHA384", | - | ||||||||||||||||||||||||||||||
1655 | 0x0300C03B, | - | ||||||||||||||||||||||||||||||
1656 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1657 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1658 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1659 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1660 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
1661 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1662 | 0x00000001U | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1663 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
1664 | 0, | - | ||||||||||||||||||||||||||||||
1665 | 0, | - | ||||||||||||||||||||||||||||||
1666 | }, | - | ||||||||||||||||||||||||||||||
1667 | { | - | ||||||||||||||||||||||||||||||
1668 | 1, | - | ||||||||||||||||||||||||||||||
1669 | "SRP-AES-128-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1670 | "TLS_SRP_SHA_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1671 | 0x0300C01D, | - | ||||||||||||||||||||||||||||||
1672 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1673 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1674 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1675 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1676 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1677 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1678 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1679 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1680 | 128, | - | ||||||||||||||||||||||||||||||
1681 | 128, | - | ||||||||||||||||||||||||||||||
1682 | }, | - | ||||||||||||||||||||||||||||||
1683 | { | - | ||||||||||||||||||||||||||||||
1684 | 1, | - | ||||||||||||||||||||||||||||||
1685 | "SRP-RSA-AES-128-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1686 | "TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1687 | 0x0300C01E, | - | ||||||||||||||||||||||||||||||
1688 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1689 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1690 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1691 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1692 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1693 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1694 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1695 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1696 | 128, | - | ||||||||||||||||||||||||||||||
1697 | 128, | - | ||||||||||||||||||||||||||||||
1698 | }, | - | ||||||||||||||||||||||||||||||
1699 | { | - | ||||||||||||||||||||||||||||||
1700 | 1, | - | ||||||||||||||||||||||||||||||
1701 | "SRP-DSS-AES-128-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1702 | "TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1703 | 0x0300C01F, | - | ||||||||||||||||||||||||||||||
1704 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1705 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1706 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1707 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1708 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1709 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1710 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1711 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1712 | 128, | - | ||||||||||||||||||||||||||||||
1713 | 128, | - | ||||||||||||||||||||||||||||||
1714 | }, | - | ||||||||||||||||||||||||||||||
1715 | { | - | ||||||||||||||||||||||||||||||
1716 | 1, | - | ||||||||||||||||||||||||||||||
1717 | "SRP-AES-256-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1718 | "TLS_SRP_SHA_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1719 | 0x0300C020, | - | ||||||||||||||||||||||||||||||
1720 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1721 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1722 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1723 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1724 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1725 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1726 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1727 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1728 | 256, | - | ||||||||||||||||||||||||||||||
1729 | 256, | - | ||||||||||||||||||||||||||||||
1730 | }, | - | ||||||||||||||||||||||||||||||
1731 | { | - | ||||||||||||||||||||||||||||||
1732 | 1, | - | ||||||||||||||||||||||||||||||
1733 | "SRP-RSA-AES-256-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1734 | "TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1735 | 0x0300C021, | - | ||||||||||||||||||||||||||||||
1736 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1737 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1738 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1739 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1740 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1741 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1742 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1743 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1744 | 256, | - | ||||||||||||||||||||||||||||||
1745 | 256, | - | ||||||||||||||||||||||||||||||
1746 | }, | - | ||||||||||||||||||||||||||||||
1747 | { | - | ||||||||||||||||||||||||||||||
1748 | 1, | - | ||||||||||||||||||||||||||||||
1749 | "SRP-DSS-AES-256-CBC-SHA", | - | ||||||||||||||||||||||||||||||
1750 | "TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
1751 | 0x0300C022, | - | ||||||||||||||||||||||||||||||
1752 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
1753 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1754 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1755 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1756 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
1757 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1758 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1759 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
1760 | 256, | - | ||||||||||||||||||||||||||||||
1761 | 256, | - | ||||||||||||||||||||||||||||||
1762 | }, | - | ||||||||||||||||||||||||||||||
1763 | - | |||||||||||||||||||||||||||||||
1764 | - | |||||||||||||||||||||||||||||||
1765 | { | - | ||||||||||||||||||||||||||||||
1766 | 1, | - | ||||||||||||||||||||||||||||||
1767 | "DHE-RSA-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||||||||
1768 | "TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
1769 | 0x0300CCAA, | - | ||||||||||||||||||||||||||||||
1770 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1771 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1772 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
1773 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1774 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1775 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1776 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1777 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1778 | 256, | - | ||||||||||||||||||||||||||||||
1779 | 256, | - | ||||||||||||||||||||||||||||||
1780 | }, | - | ||||||||||||||||||||||||||||||
1781 | { | - | ||||||||||||||||||||||||||||||
1782 | 1, | - | ||||||||||||||||||||||||||||||
1783 | "ECDHE-RSA-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||||||||
1784 | "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
1785 | 0x0300CCA8, | - | ||||||||||||||||||||||||||||||
1786 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1787 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1788 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
1789 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1790 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1791 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1792 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1793 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1794 | 256, | - | ||||||||||||||||||||||||||||||
1795 | 256, | - | ||||||||||||||||||||||||||||||
1796 | }, | - | ||||||||||||||||||||||||||||||
1797 | { | - | ||||||||||||||||||||||||||||||
1798 | 1, | - | ||||||||||||||||||||||||||||||
1799 | "ECDHE-ECDSA-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||||||||
1800 | "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
1801 | 0x0300CCA9, | - | ||||||||||||||||||||||||||||||
1802 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1803 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1804 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
1805 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1806 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1807 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1808 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1809 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1810 | 256, | - | ||||||||||||||||||||||||||||||
1811 | 256, | - | ||||||||||||||||||||||||||||||
1812 | }, | - | ||||||||||||||||||||||||||||||
1813 | { | - | ||||||||||||||||||||||||||||||
1814 | 1, | - | ||||||||||||||||||||||||||||||
1815 | "PSK-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||||||||
1816 | "TLS_PSK_WITH_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
1817 | 0x0300CCAB, | - | ||||||||||||||||||||||||||||||
1818 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1819 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1820 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
1821 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1822 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1823 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1824 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1825 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1826 | 256, | - | ||||||||||||||||||||||||||||||
1827 | 256, | - | ||||||||||||||||||||||||||||||
1828 | }, | - | ||||||||||||||||||||||||||||||
1829 | { | - | ||||||||||||||||||||||||||||||
1830 | 1, | - | ||||||||||||||||||||||||||||||
1831 | "ECDHE-PSK-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||||||||
1832 | "TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
1833 | 0x0300CCAC, | - | ||||||||||||||||||||||||||||||
1834 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
1835 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1836 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
1837 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1838 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1839 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1840 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1841 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1842 | 256, | - | ||||||||||||||||||||||||||||||
1843 | 256, | - | ||||||||||||||||||||||||||||||
1844 | }, | - | ||||||||||||||||||||||||||||||
1845 | { | - | ||||||||||||||||||||||||||||||
1846 | 1, | - | ||||||||||||||||||||||||||||||
1847 | "DHE-PSK-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||||||||
1848 | "TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
1849 | 0x0300CCAD, | - | ||||||||||||||||||||||||||||||
1850 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1851 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1852 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
1853 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1854 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1855 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1856 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1857 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1858 | 256, | - | ||||||||||||||||||||||||||||||
1859 | 256, | - | ||||||||||||||||||||||||||||||
1860 | }, | - | ||||||||||||||||||||||||||||||
1861 | { | - | ||||||||||||||||||||||||||||||
1862 | 1, | - | ||||||||||||||||||||||||||||||
1863 | "RSA-PSK-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||||||||
1864 | "TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256", | - | ||||||||||||||||||||||||||||||
1865 | 0x0300CCAE, | - | ||||||||||||||||||||||||||||||
1866 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1867 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1868 | 0x00080000U, | - | ||||||||||||||||||||||||||||||
1869 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
1870 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1871 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1872 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1873 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1874 | 256, | - | ||||||||||||||||||||||||||||||
1875 | 256, | - | ||||||||||||||||||||||||||||||
1876 | }, | - | ||||||||||||||||||||||||||||||
1877 | - | |||||||||||||||||||||||||||||||
1878 | - | |||||||||||||||||||||||||||||||
1879 | - | |||||||||||||||||||||||||||||||
1880 | - | |||||||||||||||||||||||||||||||
1881 | { | - | ||||||||||||||||||||||||||||||
1882 | 1, | - | ||||||||||||||||||||||||||||||
1883 | "CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
1884 | "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1885 | 0x030000BA, | - | ||||||||||||||||||||||||||||||
1886 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1887 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1888 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1889 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1890 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1891 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1892 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1893 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1894 | 128, | - | ||||||||||||||||||||||||||||||
1895 | 128, | - | ||||||||||||||||||||||||||||||
1896 | }, | - | ||||||||||||||||||||||||||||||
1897 | { | - | ||||||||||||||||||||||||||||||
1898 | 1, | - | ||||||||||||||||||||||||||||||
1899 | "DHE-DSS-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
1900 | "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1901 | 0x030000BD, | - | ||||||||||||||||||||||||||||||
1902 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1903 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1904 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1905 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1906 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1907 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1908 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1909 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1910 | 128, | - | ||||||||||||||||||||||||||||||
1911 | 128, | - | ||||||||||||||||||||||||||||||
1912 | }, | - | ||||||||||||||||||||||||||||||
1913 | { | - | ||||||||||||||||||||||||||||||
1914 | 1, | - | ||||||||||||||||||||||||||||||
1915 | "DHE-RSA-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
1916 | "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1917 | 0x030000BE, | - | ||||||||||||||||||||||||||||||
1918 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1919 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1920 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1921 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1922 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1923 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1924 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1925 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1926 | 128, | - | ||||||||||||||||||||||||||||||
1927 | 128, | - | ||||||||||||||||||||||||||||||
1928 | }, | - | ||||||||||||||||||||||||||||||
1929 | { | - | ||||||||||||||||||||||||||||||
1930 | 1, | - | ||||||||||||||||||||||||||||||
1931 | "ADH-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
1932 | "TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1933 | 0x030000BF, | - | ||||||||||||||||||||||||||||||
1934 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1935 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
1936 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
1937 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1938 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1939 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1940 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1941 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1942 | 128, | - | ||||||||||||||||||||||||||||||
1943 | 128, | - | ||||||||||||||||||||||||||||||
1944 | }, | - | ||||||||||||||||||||||||||||||
1945 | { | - | ||||||||||||||||||||||||||||||
1946 | 1, | - | ||||||||||||||||||||||||||||||
1947 | "CAMELLIA256-SHA256", | - | ||||||||||||||||||||||||||||||
1948 | "TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1949 | 0x030000C0, | - | ||||||||||||||||||||||||||||||
1950 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1951 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1952 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
1953 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1954 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1955 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1956 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1957 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1958 | 256, | - | ||||||||||||||||||||||||||||||
1959 | 256, | - | ||||||||||||||||||||||||||||||
1960 | }, | - | ||||||||||||||||||||||||||||||
1961 | { | - | ||||||||||||||||||||||||||||||
1962 | 1, | - | ||||||||||||||||||||||||||||||
1963 | "DHE-DSS-CAMELLIA256-SHA256", | - | ||||||||||||||||||||||||||||||
1964 | "TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1965 | 0x030000C3, | - | ||||||||||||||||||||||||||||||
1966 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1967 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1968 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
1969 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1970 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1971 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1972 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1973 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1974 | 256, | - | ||||||||||||||||||||||||||||||
1975 | 256, | - | ||||||||||||||||||||||||||||||
1976 | }, | - | ||||||||||||||||||||||||||||||
1977 | { | - | ||||||||||||||||||||||||||||||
1978 | 1, | - | ||||||||||||||||||||||||||||||
1979 | "DHE-RSA-CAMELLIA256-SHA256", | - | ||||||||||||||||||||||||||||||
1980 | "TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1981 | 0x030000C4, | - | ||||||||||||||||||||||||||||||
1982 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1983 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
1984 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
1985 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
1986 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
1987 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
1988 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
1989 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
1990 | 256, | - | ||||||||||||||||||||||||||||||
1991 | 256, | - | ||||||||||||||||||||||||||||||
1992 | }, | - | ||||||||||||||||||||||||||||||
1993 | { | - | ||||||||||||||||||||||||||||||
1994 | 1, | - | ||||||||||||||||||||||||||||||
1995 | "ADH-CAMELLIA256-SHA256", | - | ||||||||||||||||||||||||||||||
1996 | "TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
1997 | 0x030000C5, | - | ||||||||||||||||||||||||||||||
1998 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
1999 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2000 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2001 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2002 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2003 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2004 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2005 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2006 | 256, | - | ||||||||||||||||||||||||||||||
2007 | 256, | - | ||||||||||||||||||||||||||||||
2008 | }, | - | ||||||||||||||||||||||||||||||
2009 | { | - | ||||||||||||||||||||||||||||||
2010 | 1, | - | ||||||||||||||||||||||||||||||
2011 | "CAMELLIA256-SHA", | - | ||||||||||||||||||||||||||||||
2012 | "TLS_RSA_WITH_CAMELLIA_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2013 | 0x03000084, | - | ||||||||||||||||||||||||||||||
2014 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2015 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2016 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2017 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2018 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2019 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2020 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2021 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2022 | 256, | - | ||||||||||||||||||||||||||||||
2023 | 256, | - | ||||||||||||||||||||||||||||||
2024 | }, | - | ||||||||||||||||||||||||||||||
2025 | { | - | ||||||||||||||||||||||||||||||
2026 | 1, | - | ||||||||||||||||||||||||||||||
2027 | "DHE-DSS-CAMELLIA256-SHA", | - | ||||||||||||||||||||||||||||||
2028 | "TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2029 | 0x03000087, | - | ||||||||||||||||||||||||||||||
2030 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2031 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2032 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2033 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2034 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2035 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2036 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2037 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2038 | 256, | - | ||||||||||||||||||||||||||||||
2039 | 256, | - | ||||||||||||||||||||||||||||||
2040 | }, | - | ||||||||||||||||||||||||||||||
2041 | { | - | ||||||||||||||||||||||||||||||
2042 | 1, | - | ||||||||||||||||||||||||||||||
2043 | "DHE-RSA-CAMELLIA256-SHA", | - | ||||||||||||||||||||||||||||||
2044 | "TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2045 | 0x03000088, | - | ||||||||||||||||||||||||||||||
2046 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2047 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2048 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2049 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2050 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2051 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2052 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2053 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2054 | 256, | - | ||||||||||||||||||||||||||||||
2055 | 256, | - | ||||||||||||||||||||||||||||||
2056 | }, | - | ||||||||||||||||||||||||||||||
2057 | { | - | ||||||||||||||||||||||||||||||
2058 | 1, | - | ||||||||||||||||||||||||||||||
2059 | "ADH-CAMELLIA256-SHA", | - | ||||||||||||||||||||||||||||||
2060 | "TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2061 | 0x03000089, | - | ||||||||||||||||||||||||||||||
2062 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2063 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2064 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2065 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2066 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2067 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2068 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2069 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2070 | 256, | - | ||||||||||||||||||||||||||||||
2071 | 256, | - | ||||||||||||||||||||||||||||||
2072 | }, | - | ||||||||||||||||||||||||||||||
2073 | { | - | ||||||||||||||||||||||||||||||
2074 | 1, | - | ||||||||||||||||||||||||||||||
2075 | "CAMELLIA128-SHA", | - | ||||||||||||||||||||||||||||||
2076 | "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2077 | 0x03000041, | - | ||||||||||||||||||||||||||||||
2078 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2079 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2080 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2081 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2082 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2083 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2084 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2085 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2086 | 128, | - | ||||||||||||||||||||||||||||||
2087 | 128, | - | ||||||||||||||||||||||||||||||
2088 | }, | - | ||||||||||||||||||||||||||||||
2089 | { | - | ||||||||||||||||||||||||||||||
2090 | 1, | - | ||||||||||||||||||||||||||||||
2091 | "DHE-DSS-CAMELLIA128-SHA", | - | ||||||||||||||||||||||||||||||
2092 | "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2093 | 0x03000044, | - | ||||||||||||||||||||||||||||||
2094 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2095 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2096 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2097 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2098 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2099 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2100 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2101 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2102 | 128, | - | ||||||||||||||||||||||||||||||
2103 | 128, | - | ||||||||||||||||||||||||||||||
2104 | }, | - | ||||||||||||||||||||||||||||||
2105 | { | - | ||||||||||||||||||||||||||||||
2106 | 1, | - | ||||||||||||||||||||||||||||||
2107 | "DHE-RSA-CAMELLIA128-SHA", | - | ||||||||||||||||||||||||||||||
2108 | "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2109 | 0x03000045, | - | ||||||||||||||||||||||||||||||
2110 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2111 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2112 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2113 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2114 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2115 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2116 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2117 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2118 | 128, | - | ||||||||||||||||||||||||||||||
2119 | 128, | - | ||||||||||||||||||||||||||||||
2120 | }, | - | ||||||||||||||||||||||||||||||
2121 | { | - | ||||||||||||||||||||||||||||||
2122 | 1, | - | ||||||||||||||||||||||||||||||
2123 | "ADH-CAMELLIA128-SHA", | - | ||||||||||||||||||||||||||||||
2124 | "TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2125 | 0x03000046, | - | ||||||||||||||||||||||||||||||
2126 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2127 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2128 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2129 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2130 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2131 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2132 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2133 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2134 | 128, | - | ||||||||||||||||||||||||||||||
2135 | 128, | - | ||||||||||||||||||||||||||||||
2136 | }, | - | ||||||||||||||||||||||||||||||
2137 | { | - | ||||||||||||||||||||||||||||||
2138 | 1, | - | ||||||||||||||||||||||||||||||
2139 | "ECDHE-ECDSA-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
2140 | "TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
2141 | 0x0300C072, | - | ||||||||||||||||||||||||||||||
2142 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2143 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2144 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2145 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2146 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2147 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2148 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2149 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2150 | 128, | - | ||||||||||||||||||||||||||||||
2151 | 128, | - | ||||||||||||||||||||||||||||||
2152 | }, | - | ||||||||||||||||||||||||||||||
2153 | { | - | ||||||||||||||||||||||||||||||
2154 | 1, | - | ||||||||||||||||||||||||||||||
2155 | "ECDHE-ECDSA-CAMELLIA256-SHA384", | - | ||||||||||||||||||||||||||||||
2156 | "TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
2157 | 0x0300C073, | - | ||||||||||||||||||||||||||||||
2158 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2159 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2160 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2161 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2162 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2163 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2164 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2165 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2166 | 256, | - | ||||||||||||||||||||||||||||||
2167 | 256, | - | ||||||||||||||||||||||||||||||
2168 | }, | - | ||||||||||||||||||||||||||||||
2169 | { | - | ||||||||||||||||||||||||||||||
2170 | 1, | - | ||||||||||||||||||||||||||||||
2171 | "ECDHE-RSA-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
2172 | "TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
2173 | 0x0300C076, | - | ||||||||||||||||||||||||||||||
2174 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2175 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2176 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2177 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2178 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2179 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2180 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2181 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2182 | 128, | - | ||||||||||||||||||||||||||||||
2183 | 128, | - | ||||||||||||||||||||||||||||||
2184 | }, | - | ||||||||||||||||||||||||||||||
2185 | { | - | ||||||||||||||||||||||||||||||
2186 | 1, | - | ||||||||||||||||||||||||||||||
2187 | "ECDHE-RSA-CAMELLIA256-SHA384", | - | ||||||||||||||||||||||||||||||
2188 | "TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
2189 | 0x0300C077, | - | ||||||||||||||||||||||||||||||
2190 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2191 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2192 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2193 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2194 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2195 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2196 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2197 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2198 | 256, | - | ||||||||||||||||||||||||||||||
2199 | 256, | - | ||||||||||||||||||||||||||||||
2200 | }, | - | ||||||||||||||||||||||||||||||
2201 | { | - | ||||||||||||||||||||||||||||||
2202 | 1, | - | ||||||||||||||||||||||||||||||
2203 | "PSK-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
2204 | "TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
2205 | 0x0300C094, | - | ||||||||||||||||||||||||||||||
2206 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2207 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2208 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2209 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2210 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2211 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2212 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2213 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2214 | 128, | - | ||||||||||||||||||||||||||||||
2215 | 128, | - | ||||||||||||||||||||||||||||||
2216 | }, | - | ||||||||||||||||||||||||||||||
2217 | { | - | ||||||||||||||||||||||||||||||
2218 | 1, | - | ||||||||||||||||||||||||||||||
2219 | "PSK-CAMELLIA256-SHA384", | - | ||||||||||||||||||||||||||||||
2220 | "TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
2221 | 0x0300C095, | - | ||||||||||||||||||||||||||||||
2222 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2223 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2224 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2225 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2226 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2227 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2228 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2229 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2230 | 256, | - | ||||||||||||||||||||||||||||||
2231 | 256, | - | ||||||||||||||||||||||||||||||
2232 | }, | - | ||||||||||||||||||||||||||||||
2233 | { | - | ||||||||||||||||||||||||||||||
2234 | 1, | - | ||||||||||||||||||||||||||||||
2235 | "DHE-PSK-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
2236 | "TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
2237 | 0x0300C096, | - | ||||||||||||||||||||||||||||||
2238 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2239 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2240 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2241 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2242 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2243 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2244 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2245 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2246 | 128, | - | ||||||||||||||||||||||||||||||
2247 | 128, | - | ||||||||||||||||||||||||||||||
2248 | }, | - | ||||||||||||||||||||||||||||||
2249 | { | - | ||||||||||||||||||||||||||||||
2250 | 1, | - | ||||||||||||||||||||||||||||||
2251 | "DHE-PSK-CAMELLIA256-SHA384", | - | ||||||||||||||||||||||||||||||
2252 | "TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
2253 | 0x0300C097, | - | ||||||||||||||||||||||||||||||
2254 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2255 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2256 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2257 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2258 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2259 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2260 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2261 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2262 | 256, | - | ||||||||||||||||||||||||||||||
2263 | 256, | - | ||||||||||||||||||||||||||||||
2264 | }, | - | ||||||||||||||||||||||||||||||
2265 | { | - | ||||||||||||||||||||||||||||||
2266 | 1, | - | ||||||||||||||||||||||||||||||
2267 | "RSA-PSK-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
2268 | "TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
2269 | 0x0300C098, | - | ||||||||||||||||||||||||||||||
2270 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2271 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2272 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2273 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2274 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2275 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2276 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2277 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2278 | 128, | - | ||||||||||||||||||||||||||||||
2279 | 128, | - | ||||||||||||||||||||||||||||||
2280 | }, | - | ||||||||||||||||||||||||||||||
2281 | { | - | ||||||||||||||||||||||||||||||
2282 | 1, | - | ||||||||||||||||||||||||||||||
2283 | "RSA-PSK-CAMELLIA256-SHA384", | - | ||||||||||||||||||||||||||||||
2284 | "TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
2285 | 0x0300C099, | - | ||||||||||||||||||||||||||||||
2286 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2287 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2288 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2289 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2290 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2291 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2292 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2293 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2294 | 256, | - | ||||||||||||||||||||||||||||||
2295 | 256, | - | ||||||||||||||||||||||||||||||
2296 | }, | - | ||||||||||||||||||||||||||||||
2297 | { | - | ||||||||||||||||||||||||||||||
2298 | 1, | - | ||||||||||||||||||||||||||||||
2299 | "ECDHE-PSK-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||||||||
2300 | "TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256", | - | ||||||||||||||||||||||||||||||
2301 | 0x0300C09A, | - | ||||||||||||||||||||||||||||||
2302 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
2303 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2304 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2305 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2306 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2307 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2308 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2309 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2310 | 128, | - | ||||||||||||||||||||||||||||||
2311 | 128, | - | ||||||||||||||||||||||||||||||
2312 | }, | - | ||||||||||||||||||||||||||||||
2313 | { | - | ||||||||||||||||||||||||||||||
2314 | 1, | - | ||||||||||||||||||||||||||||||
2315 | "ECDHE-PSK-CAMELLIA256-SHA384", | - | ||||||||||||||||||||||||||||||
2316 | "TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384", | - | ||||||||||||||||||||||||||||||
2317 | 0x0300C09B, | - | ||||||||||||||||||||||||||||||
2318 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
2319 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2320 | 0x00000200U, | - | ||||||||||||||||||||||||||||||
2321 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2322 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2323 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2324 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2325 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2326 | 256, | - | ||||||||||||||||||||||||||||||
2327 | 256, | - | ||||||||||||||||||||||||||||||
2328 | }, | - | ||||||||||||||||||||||||||||||
2329 | - | |||||||||||||||||||||||||||||||
2330 | - | |||||||||||||||||||||||||||||||
2331 | - | |||||||||||||||||||||||||||||||
2332 | { | - | ||||||||||||||||||||||||||||||
2333 | 1, | - | ||||||||||||||||||||||||||||||
2334 | "GOST2001-GOST89-GOST89", | - | ||||||||||||||||||||||||||||||
2335 | "TLS_GOSTR341001_WITH_28147_CNT_IMIT", | - | ||||||||||||||||||||||||||||||
2336 | 0x3000081, | - | ||||||||||||||||||||||||||||||
2337 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2338 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2339 | 0x00000400U, | - | ||||||||||||||||||||||||||||||
2340 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2341 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2342 | 0, 0, | - | ||||||||||||||||||||||||||||||
2343 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2344 | 2 | (2 << 8) | 0x10000, | - | ||||||||||||||||||||||||||||||
2345 | 256, | - | ||||||||||||||||||||||||||||||
2346 | 256, | - | ||||||||||||||||||||||||||||||
2347 | }, | - | ||||||||||||||||||||||||||||||
2348 | { | - | ||||||||||||||||||||||||||||||
2349 | 1, | - | ||||||||||||||||||||||||||||||
2350 | "GOST2001-NULL-GOST94", | - | ||||||||||||||||||||||||||||||
2351 | "TLS_GOSTR341001_WITH_NULL_GOSTR3411", | - | ||||||||||||||||||||||||||||||
2352 | 0x3000083, | - | ||||||||||||||||||||||||||||||
2353 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2354 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2355 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2356 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2357 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2358 | 0, 0, | - | ||||||||||||||||||||||||||||||
2359 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2360 | 2 | (2 << 8), | - | ||||||||||||||||||||||||||||||
2361 | 0, | - | ||||||||||||||||||||||||||||||
2362 | 0, | - | ||||||||||||||||||||||||||||||
2363 | }, | - | ||||||||||||||||||||||||||||||
2364 | { | - | ||||||||||||||||||||||||||||||
2365 | 1, | - | ||||||||||||||||||||||||||||||
2366 | "GOST2012-GOST8912-GOST8912", | - | ||||||||||||||||||||||||||||||
2367 | - | |||||||||||||||||||||||||||||||
2368 | ((void *)0) | - | ||||||||||||||||||||||||||||||
2369 | , | - | ||||||||||||||||||||||||||||||
2370 | 0x0300ff85, | - | ||||||||||||||||||||||||||||||
2371 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2372 | 0x00000080U | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2373 | 0x00040000U, | - | ||||||||||||||||||||||||||||||
2374 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2375 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2376 | 0, 0, | - | ||||||||||||||||||||||||||||||
2377 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2378 | 6 | (6 << 8) | 0x10000, | - | ||||||||||||||||||||||||||||||
2379 | 256, | - | ||||||||||||||||||||||||||||||
2380 | 256, | - | ||||||||||||||||||||||||||||||
2381 | }, | - | ||||||||||||||||||||||||||||||
2382 | { | - | ||||||||||||||||||||||||||||||
2383 | 1, | - | ||||||||||||||||||||||||||||||
2384 | "GOST2012-NULL-GOST12", | - | ||||||||||||||||||||||||||||||
2385 | - | |||||||||||||||||||||||||||||||
2386 | ((void *)0) | - | ||||||||||||||||||||||||||||||
2387 | , | - | ||||||||||||||||||||||||||||||
2388 | 0x0300ff87, | - | ||||||||||||||||||||||||||||||
2389 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2390 | 0x00000080U | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2391 | 0x00000020U, | - | ||||||||||||||||||||||||||||||
2392 | 0x00000080U, | - | ||||||||||||||||||||||||||||||
2393 | 0x0301, 0x0303, | - | ||||||||||||||||||||||||||||||
2394 | 0, 0, | - | ||||||||||||||||||||||||||||||
2395 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2396 | 6 | (6 << 8) | 0x10000, | - | ||||||||||||||||||||||||||||||
2397 | 0, | - | ||||||||||||||||||||||||||||||
2398 | 0, | - | ||||||||||||||||||||||||||||||
2399 | }, | - | ||||||||||||||||||||||||||||||
2400 | - | |||||||||||||||||||||||||||||||
2401 | - | |||||||||||||||||||||||||||||||
2402 | - | |||||||||||||||||||||||||||||||
2403 | { | - | ||||||||||||||||||||||||||||||
2404 | 1, | - | ||||||||||||||||||||||||||||||
2405 | "IDEA-CBC-SHA", | - | ||||||||||||||||||||||||||||||
2406 | "TLS_RSA_WITH_IDEA_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2407 | 0x03000007, | - | ||||||||||||||||||||||||||||||
2408 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2409 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2410 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2411 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2412 | 0x0300, 0x0302, | - | ||||||||||||||||||||||||||||||
2413 | 0x0100, 0xFEFF, | - | ||||||||||||||||||||||||||||||
2414 | 0x00000020U | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2415 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2416 | 128, | - | ||||||||||||||||||||||||||||||
2417 | 128, | - | ||||||||||||||||||||||||||||||
2418 | }, | - | ||||||||||||||||||||||||||||||
2419 | - | |||||||||||||||||||||||||||||||
2420 | - | |||||||||||||||||||||||||||||||
2421 | - | |||||||||||||||||||||||||||||||
2422 | { | - | ||||||||||||||||||||||||||||||
2423 | 1, | - | ||||||||||||||||||||||||||||||
2424 | "SEED-SHA", | - | ||||||||||||||||||||||||||||||
2425 | "TLS_RSA_WITH_SEED_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2426 | 0x03000096, | - | ||||||||||||||||||||||||||||||
2427 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2428 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2429 | 0x00000800U, | - | ||||||||||||||||||||||||||||||
2430 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2431 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2432 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2433 | 0x00000020U | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2434 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2435 | 128, | - | ||||||||||||||||||||||||||||||
2436 | 128, | - | ||||||||||||||||||||||||||||||
2437 | }, | - | ||||||||||||||||||||||||||||||
2438 | { | - | ||||||||||||||||||||||||||||||
2439 | 1, | - | ||||||||||||||||||||||||||||||
2440 | "DHE-DSS-SEED-SHA", | - | ||||||||||||||||||||||||||||||
2441 | "TLS_DHE_DSS_WITH_SEED_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2442 | 0x03000099, | - | ||||||||||||||||||||||||||||||
2443 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2444 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2445 | 0x00000800U, | - | ||||||||||||||||||||||||||||||
2446 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2447 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2448 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2449 | 0x00000020U | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2450 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2451 | 128, | - | ||||||||||||||||||||||||||||||
2452 | 128, | - | ||||||||||||||||||||||||||||||
2453 | }, | - | ||||||||||||||||||||||||||||||
2454 | { | - | ||||||||||||||||||||||||||||||
2455 | 1, | - | ||||||||||||||||||||||||||||||
2456 | "DHE-RSA-SEED-SHA", | - | ||||||||||||||||||||||||||||||
2457 | "TLS_DHE_RSA_WITH_SEED_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2458 | 0x0300009A, | - | ||||||||||||||||||||||||||||||
2459 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2460 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2461 | 0x00000800U, | - | ||||||||||||||||||||||||||||||
2462 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2463 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2464 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2465 | 0x00000020U | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2466 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2467 | 128, | - | ||||||||||||||||||||||||||||||
2468 | 128, | - | ||||||||||||||||||||||||||||||
2469 | }, | - | ||||||||||||||||||||||||||||||
2470 | { | - | ||||||||||||||||||||||||||||||
2471 | 1, | - | ||||||||||||||||||||||||||||||
2472 | "ADH-SEED-SHA", | - | ||||||||||||||||||||||||||||||
2473 | "TLS_DH_anon_WITH_SEED_CBC_SHA", | - | ||||||||||||||||||||||||||||||
2474 | 0x0300009B, | - | ||||||||||||||||||||||||||||||
2475 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2476 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2477 | 0x00000800U, | - | ||||||||||||||||||||||||||||||
2478 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2479 | 0x0300, 0x0303, | - | ||||||||||||||||||||||||||||||
2480 | 0x0100, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2481 | 0x00000020U | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2482 | 9 | (9 << 8), | - | ||||||||||||||||||||||||||||||
2483 | 128, | - | ||||||||||||||||||||||||||||||
2484 | 128, | - | ||||||||||||||||||||||||||||||
2485 | }, | - | ||||||||||||||||||||||||||||||
2486 | { | - | ||||||||||||||||||||||||||||||
2487 | 1, | - | ||||||||||||||||||||||||||||||
2488 | "ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2489 | "TLS_RSA_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2490 | 0x0300C050, | - | ||||||||||||||||||||||||||||||
2491 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2492 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2493 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2494 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2495 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2496 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2497 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2498 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2499 | 128, | - | ||||||||||||||||||||||||||||||
2500 | 128, | - | ||||||||||||||||||||||||||||||
2501 | }, | - | ||||||||||||||||||||||||||||||
2502 | { | - | ||||||||||||||||||||||||||||||
2503 | 1, | - | ||||||||||||||||||||||||||||||
2504 | "ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2505 | "TLS_RSA_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2506 | 0x0300C051, | - | ||||||||||||||||||||||||||||||
2507 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2508 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2509 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2510 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2511 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2512 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2513 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2514 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2515 | 256, | - | ||||||||||||||||||||||||||||||
2516 | 256, | - | ||||||||||||||||||||||||||||||
2517 | }, | - | ||||||||||||||||||||||||||||||
2518 | { | - | ||||||||||||||||||||||||||||||
2519 | 1, | - | ||||||||||||||||||||||||||||||
2520 | "DHE-RSA-ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2521 | "TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2522 | 0x0300C052, | - | ||||||||||||||||||||||||||||||
2523 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2524 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2525 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2526 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2527 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2528 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2529 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2530 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2531 | 128, | - | ||||||||||||||||||||||||||||||
2532 | 128, | - | ||||||||||||||||||||||||||||||
2533 | }, | - | ||||||||||||||||||||||||||||||
2534 | { | - | ||||||||||||||||||||||||||||||
2535 | 1, | - | ||||||||||||||||||||||||||||||
2536 | "DHE-RSA-ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2537 | "TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2538 | 0x0300C053, | - | ||||||||||||||||||||||||||||||
2539 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2540 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2541 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2542 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2543 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2544 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2545 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2546 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2547 | 256, | - | ||||||||||||||||||||||||||||||
2548 | 256, | - | ||||||||||||||||||||||||||||||
2549 | }, | - | ||||||||||||||||||||||||||||||
2550 | { | - | ||||||||||||||||||||||||||||||
2551 | 1, | - | ||||||||||||||||||||||||||||||
2552 | "DHE-DSS-ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2553 | "TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2554 | 0x0300C056, | - | ||||||||||||||||||||||||||||||
2555 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2556 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2557 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2558 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2559 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2560 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2561 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2562 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2563 | 128, | - | ||||||||||||||||||||||||||||||
2564 | 128, | - | ||||||||||||||||||||||||||||||
2565 | }, | - | ||||||||||||||||||||||||||||||
2566 | { | - | ||||||||||||||||||||||||||||||
2567 | 1, | - | ||||||||||||||||||||||||||||||
2568 | "DHE-DSS-ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2569 | "TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2570 | 0x0300C057, | - | ||||||||||||||||||||||||||||||
2571 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2572 | 0x00000002U, | - | ||||||||||||||||||||||||||||||
2573 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2574 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2575 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2576 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2577 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2578 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2579 | 256, | - | ||||||||||||||||||||||||||||||
2580 | 256, | - | ||||||||||||||||||||||||||||||
2581 | }, | - | ||||||||||||||||||||||||||||||
2582 | { | - | ||||||||||||||||||||||||||||||
2583 | 1, | - | ||||||||||||||||||||||||||||||
2584 | "ECDHE-ECDSA-ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2585 | "TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2586 | 0x0300C05C, | - | ||||||||||||||||||||||||||||||
2587 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2588 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2589 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2590 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2591 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2592 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2593 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2594 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2595 | 128, | - | ||||||||||||||||||||||||||||||
2596 | 128, | - | ||||||||||||||||||||||||||||||
2597 | }, | - | ||||||||||||||||||||||||||||||
2598 | { | - | ||||||||||||||||||||||||||||||
2599 | 1, | - | ||||||||||||||||||||||||||||||
2600 | "ECDHE-ECDSA-ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2601 | "TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2602 | 0x0300C05D, | - | ||||||||||||||||||||||||||||||
2603 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2604 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2605 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2606 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2607 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2608 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2609 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2610 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2611 | 256, | - | ||||||||||||||||||||||||||||||
2612 | 256, | - | ||||||||||||||||||||||||||||||
2613 | }, | - | ||||||||||||||||||||||||||||||
2614 | { | - | ||||||||||||||||||||||||||||||
2615 | 1, | - | ||||||||||||||||||||||||||||||
2616 | "ECDHE-ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2617 | "TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2618 | 0x0300C060, | - | ||||||||||||||||||||||||||||||
2619 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2620 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2621 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2622 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2623 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2624 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2625 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2626 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2627 | 128, | - | ||||||||||||||||||||||||||||||
2628 | 128, | - | ||||||||||||||||||||||||||||||
2629 | }, | - | ||||||||||||||||||||||||||||||
2630 | { | - | ||||||||||||||||||||||||||||||
2631 | 1, | - | ||||||||||||||||||||||||||||||
2632 | "ECDHE-ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2633 | "TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2634 | 0x0300C061, | - | ||||||||||||||||||||||||||||||
2635 | 0x00000004U, | - | ||||||||||||||||||||||||||||||
2636 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2637 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2638 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2639 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2640 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2641 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2642 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2643 | 256, | - | ||||||||||||||||||||||||||||||
2644 | 256, | - | ||||||||||||||||||||||||||||||
2645 | }, | - | ||||||||||||||||||||||||||||||
2646 | { | - | ||||||||||||||||||||||||||||||
2647 | 1, | - | ||||||||||||||||||||||||||||||
2648 | "PSK-ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2649 | "TLS_PSK_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2650 | 0x0300C06A, | - | ||||||||||||||||||||||||||||||
2651 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2652 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2653 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2654 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2655 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2656 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2657 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2658 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2659 | 128, | - | ||||||||||||||||||||||||||||||
2660 | 128, | - | ||||||||||||||||||||||||||||||
2661 | }, | - | ||||||||||||||||||||||||||||||
2662 | { | - | ||||||||||||||||||||||||||||||
2663 | 1, | - | ||||||||||||||||||||||||||||||
2664 | "PSK-ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2665 | "TLS_PSK_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2666 | 0x0300C06B, | - | ||||||||||||||||||||||||||||||
2667 | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2668 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2669 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2670 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2671 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2672 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2673 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2674 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2675 | 256, | - | ||||||||||||||||||||||||||||||
2676 | 256, | - | ||||||||||||||||||||||||||||||
2677 | }, | - | ||||||||||||||||||||||||||||||
2678 | { | - | ||||||||||||||||||||||||||||||
2679 | 1, | - | ||||||||||||||||||||||||||||||
2680 | "DHE-PSK-ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2681 | "TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2682 | 0x0300C06C, | - | ||||||||||||||||||||||||||||||
2683 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2684 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2685 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2686 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2687 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2688 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2689 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2690 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2691 | 128, | - | ||||||||||||||||||||||||||||||
2692 | 128, | - | ||||||||||||||||||||||||||||||
2693 | }, | - | ||||||||||||||||||||||||||||||
2694 | { | - | ||||||||||||||||||||||||||||||
2695 | 1, | - | ||||||||||||||||||||||||||||||
2696 | "DHE-PSK-ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2697 | "TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2698 | 0x0300C06D, | - | ||||||||||||||||||||||||||||||
2699 | 0x00000100U, | - | ||||||||||||||||||||||||||||||
2700 | 0x00000010U, | - | ||||||||||||||||||||||||||||||
2701 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2702 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2703 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2704 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2705 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2706 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2707 | 256, | - | ||||||||||||||||||||||||||||||
2708 | 256, | - | ||||||||||||||||||||||||||||||
2709 | }, | - | ||||||||||||||||||||||||||||||
2710 | { | - | ||||||||||||||||||||||||||||||
2711 | 1, | - | ||||||||||||||||||||||||||||||
2712 | "RSA-PSK-ARIA128-GCM-SHA256", | - | ||||||||||||||||||||||||||||||
2713 | "TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256", | - | ||||||||||||||||||||||||||||||
2714 | 0x0300C06E, | - | ||||||||||||||||||||||||||||||
2715 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2716 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2717 | 0x00100000U, | - | ||||||||||||||||||||||||||||||
2718 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2719 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2720 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2721 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2722 | 4 | (4 << 8), | - | ||||||||||||||||||||||||||||||
2723 | 128, | - | ||||||||||||||||||||||||||||||
2724 | 128, | - | ||||||||||||||||||||||||||||||
2725 | }, | - | ||||||||||||||||||||||||||||||
2726 | { | - | ||||||||||||||||||||||||||||||
2727 | 1, | - | ||||||||||||||||||||||||||||||
2728 | "RSA-PSK-ARIA256-GCM-SHA384", | - | ||||||||||||||||||||||||||||||
2729 | "TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384", | - | ||||||||||||||||||||||||||||||
2730 | 0x0300C06F, | - | ||||||||||||||||||||||||||||||
2731 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2732 | 0x00000001U, | - | ||||||||||||||||||||||||||||||
2733 | 0x00200000U, | - | ||||||||||||||||||||||||||||||
2734 | 0x00000040U, | - | ||||||||||||||||||||||||||||||
2735 | 0x0303, 0x0303, | - | ||||||||||||||||||||||||||||||
2736 | 0xFEFD, 0xFEFD, | - | ||||||||||||||||||||||||||||||
2737 | 0x00000020U | 0x00000008U, | - | ||||||||||||||||||||||||||||||
2738 | 5 | (5 << 8), | - | ||||||||||||||||||||||||||||||
2739 | 256, | - | ||||||||||||||||||||||||||||||
2740 | 256, | - | ||||||||||||||||||||||||||||||
2741 | }, | - | ||||||||||||||||||||||||||||||
2742 | - | |||||||||||||||||||||||||||||||
2743 | }; | - | ||||||||||||||||||||||||||||||
2744 | - | |||||||||||||||||||||||||||||||
2745 | - | |||||||||||||||||||||||||||||||
2746 | - | |||||||||||||||||||||||||||||||
2747 | - | |||||||||||||||||||||||||||||||
2748 | - | |||||||||||||||||||||||||||||||
2749 | - | |||||||||||||||||||||||||||||||
2750 | static SSL_CIPHER ssl3_scsvs[] = { | - | ||||||||||||||||||||||||||||||
2751 | { | - | ||||||||||||||||||||||||||||||
2752 | 0, | - | ||||||||||||||||||||||||||||||
2753 | "TLS_EMPTY_RENEGOTIATION_INFO_SCSV", | - | ||||||||||||||||||||||||||||||
2754 | "TLS_EMPTY_RENEGOTIATION_INFO_SCSV", | - | ||||||||||||||||||||||||||||||
2755 | 0x030000FF, | - | ||||||||||||||||||||||||||||||
2756 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | ||||||||||||||||||||||||||||||
2757 | }, | - | ||||||||||||||||||||||||||||||
2758 | { | - | ||||||||||||||||||||||||||||||
2759 | 0, | - | ||||||||||||||||||||||||||||||
2760 | "TLS_FALLBACK_SCSV", | - | ||||||||||||||||||||||||||||||
2761 | "TLS_FALLBACK_SCSV", | - | ||||||||||||||||||||||||||||||
2762 | 0x03005600, | - | ||||||||||||||||||||||||||||||
2763 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | ||||||||||||||||||||||||||||||
2764 | }, | - | ||||||||||||||||||||||||||||||
2765 | }; | - | ||||||||||||||||||||||||||||||
2766 | - | |||||||||||||||||||||||||||||||
2767 | static int cipher_compare(const void *a, const void *b) | - | ||||||||||||||||||||||||||||||
2768 | { | - | ||||||||||||||||||||||||||||||
2769 | const SSL_CIPHER *ap = (const SSL_CIPHER *)a; | - | ||||||||||||||||||||||||||||||
2770 | const SSL_CIPHER *bp = (const SSL_CIPHER *)b; | - | ||||||||||||||||||||||||||||||
2771 | - | |||||||||||||||||||||||||||||||
2772 | if (ap->id == bp->id
| 0-1587938 | ||||||||||||||||||||||||||||||
2773 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
2774 | return executed 1587938 times by 2 tests: ap->id < bp->idreturn ap->id < bp->id ? -1 : 1; Executed by:
executed 1587938 times by 2 tests: return ap->id < bp->id ? -1 : 1; Executed by:
| 558030-1587938 | ||||||||||||||||||||||||||||||
2775 | } | - | ||||||||||||||||||||||||||||||
2776 | - | |||||||||||||||||||||||||||||||
2777 | void ssl_sort_cipher_list(void) | - | ||||||||||||||||||||||||||||||
2778 | { | - | ||||||||||||||||||||||||||||||
2779 | qsort(tls13_ciphers, (sizeof(tls13_ciphers)/sizeof((tls13_ciphers)[0])), sizeof(tls13_ciphers[0]), | - | ||||||||||||||||||||||||||||||
2780 | cipher_compare); | - | ||||||||||||||||||||||||||||||
2781 | qsort(ssl3_ciphers, (sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0])), sizeof(ssl3_ciphers[0]), | - | ||||||||||||||||||||||||||||||
2782 | cipher_compare); | - | ||||||||||||||||||||||||||||||
2783 | qsort(ssl3_scsvs, (sizeof(ssl3_scsvs)/sizeof((ssl3_scsvs)[0])), sizeof(ssl3_scsvs[0]), cipher_compare); | - | ||||||||||||||||||||||||||||||
2784 | } executed 1958 times by 2 tests: end of block Executed by:
| 1958 | ||||||||||||||||||||||||||||||
2785 | - | |||||||||||||||||||||||||||||||
2786 | static int ssl_undefined_function_1(SSL *ssl, unsigned char *r, size_t s, | - | ||||||||||||||||||||||||||||||
2787 | const char * t, size_t u, | - | ||||||||||||||||||||||||||||||
2788 | const unsigned char * v, size_t w, int x) | - | ||||||||||||||||||||||||||||||
2789 | { | - | ||||||||||||||||||||||||||||||
2790 | (void)r; | - | ||||||||||||||||||||||||||||||
2791 | (void)s; | - | ||||||||||||||||||||||||||||||
2792 | (void)t; | - | ||||||||||||||||||||||||||||||
2793 | (void)u; | - | ||||||||||||||||||||||||||||||
2794 | (void)v; | - | ||||||||||||||||||||||||||||||
2795 | (void)w; | - | ||||||||||||||||||||||||||||||
2796 | (void)x; | - | ||||||||||||||||||||||||||||||
2797 | return never executed: ssl_undefined_function(ssl);return ssl_undefined_function(ssl); never executed: return ssl_undefined_function(ssl); | 0 | ||||||||||||||||||||||||||||||
2798 | } | - | ||||||||||||||||||||||||||||||
2799 | - | |||||||||||||||||||||||||||||||
2800 | const SSL3_ENC_METHOD SSLv3_enc_data = { | - | ||||||||||||||||||||||||||||||
2801 | ssl3_enc, | - | ||||||||||||||||||||||||||||||
2802 | n_ssl3_mac, | - | ||||||||||||||||||||||||||||||
2803 | ssl3_setup_key_block, | - | ||||||||||||||||||||||||||||||
2804 | ssl3_generate_master_secret, | - | ||||||||||||||||||||||||||||||
2805 | ssl3_change_cipher_state, | - | ||||||||||||||||||||||||||||||
2806 | ssl3_final_finish_mac, | - | ||||||||||||||||||||||||||||||
2807 | "\x43\x4C\x4E\x54", 4, | - | ||||||||||||||||||||||||||||||
2808 | "\x53\x52\x56\x52", 4, | - | ||||||||||||||||||||||||||||||
2809 | ssl3_alert_code, | - | ||||||||||||||||||||||||||||||
2810 | ssl_undefined_function_1, | - | ||||||||||||||||||||||||||||||
2811 | 0, | - | ||||||||||||||||||||||||||||||
2812 | ssl3_set_handshake_header, | - | ||||||||||||||||||||||||||||||
2813 | tls_close_construct_packet, | - | ||||||||||||||||||||||||||||||
2814 | ssl3_handshake_write | - | ||||||||||||||||||||||||||||||
2815 | }; | - | ||||||||||||||||||||||||||||||
2816 | - | |||||||||||||||||||||||||||||||
2817 | long ssl3_default_timeout(void) | - | ||||||||||||||||||||||||||||||
2818 | { | - | ||||||||||||||||||||||||||||||
2819 | - | |||||||||||||||||||||||||||||||
2820 | - | |||||||||||||||||||||||||||||||
2821 | - | |||||||||||||||||||||||||||||||
2822 | - | |||||||||||||||||||||||||||||||
2823 | return never executed: (60 * 60 * 2);return (60 * 60 * 2); never executed: return (60 * 60 * 2); | 0 | ||||||||||||||||||||||||||||||
2824 | } | - | ||||||||||||||||||||||||||||||
2825 | - | |||||||||||||||||||||||||||||||
2826 | int ssl3_num_ciphers(void) | - | ||||||||||||||||||||||||||||||
2827 | { | - | ||||||||||||||||||||||||||||||
2828 | return executed 15196 times by 2 tests: (sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0]));return (sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0])); Executed by:
executed 15196 times by 2 tests: return (sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0])); Executed by:
| 15196 | ||||||||||||||||||||||||||||||
2829 | } | - | ||||||||||||||||||||||||||||||
2830 | - | |||||||||||||||||||||||||||||||
2831 | const SSL_CIPHER *ssl3_get_cipher(unsigned int u) | - | ||||||||||||||||||||||||||||||
2832 | { | - | ||||||||||||||||||||||||||||||
2833 | if (u < (sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0]))
| 0-2492144 | ||||||||||||||||||||||||||||||
2834 | return executed 2492144 times by 2 tests: &(ssl3_ciphers[(sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0])) - 1 - u]);return &(ssl3_ciphers[(sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0])) - 1 - u]); Executed by:
executed 2492144 times by 2 tests: return &(ssl3_ciphers[(sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0])) - 1 - u]); Executed by:
| 2492144 | ||||||||||||||||||||||||||||||
2835 | else | - | ||||||||||||||||||||||||||||||
2836 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
2837 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
2838 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
2839 | } | - | ||||||||||||||||||||||||||||||
2840 | - | |||||||||||||||||||||||||||||||
2841 | int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype) | - | ||||||||||||||||||||||||||||||
2842 | { | - | ||||||||||||||||||||||||||||||
2843 | - | |||||||||||||||||||||||||||||||
2844 | if (htype == 0x0101
| 4316-19811 | ||||||||||||||||||||||||||||||
2845 | return executed 4316 times by 1 test: 1;return 1; Executed by:
executed 4316 times by 1 test: return 1; Executed by:
| 4316 | ||||||||||||||||||||||||||||||
2846 | - | |||||||||||||||||||||||||||||||
2847 | - | |||||||||||||||||||||||||||||||
2848 | if (!WPACKET_put_bytes__((pkt), (htype), 1)
| 0-19811 | ||||||||||||||||||||||||||||||
2849 | || !WPACKET_start_sub_packet_len__((pkt), 3)
| 0-19811 | ||||||||||||||||||||||||||||||
2850 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
2851 | - | |||||||||||||||||||||||||||||||
2852 | return executed 19811 times by 1 test: 1;return 1; Executed by:
executed 19811 times by 1 test: return 1; Executed by:
| 19811 | ||||||||||||||||||||||||||||||
2853 | } | - | ||||||||||||||||||||||||||||||
2854 | - | |||||||||||||||||||||||||||||||
2855 | int ssl3_handshake_write(SSL *s) | - | ||||||||||||||||||||||||||||||
2856 | { | - | ||||||||||||||||||||||||||||||
2857 | return executed 19718 times by 1 test: ssl3_do_write(s, 22);return ssl3_do_write(s, 22); Executed by:
executed 19718 times by 1 test: return ssl3_do_write(s, 22); Executed by:
| 19718 | ||||||||||||||||||||||||||||||
2858 | } | - | ||||||||||||||||||||||||||||||
2859 | - | |||||||||||||||||||||||||||||||
2860 | int ssl3_new(SSL *s) | - | ||||||||||||||||||||||||||||||
2861 | { | - | ||||||||||||||||||||||||||||||
2862 | SSL3_STATE *s3; | - | ||||||||||||||||||||||||||||||
2863 | - | |||||||||||||||||||||||||||||||
2864 | if ((
| 0-8322 | ||||||||||||||||||||||||||||||
2865 | ((void *)0)
| 0-8322 | ||||||||||||||||||||||||||||||
2866 | ) | - | ||||||||||||||||||||||||||||||
2867 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
2868 | s->s3 = s3; | - | ||||||||||||||||||||||||||||||
2869 | - | |||||||||||||||||||||||||||||||
2870 | - | |||||||||||||||||||||||||||||||
2871 | if (!SSL_SRP_CTX_init(s)
| 0-8322 | ||||||||||||||||||||||||||||||
2872 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
2873 | - | |||||||||||||||||||||||||||||||
2874 | - | |||||||||||||||||||||||||||||||
2875 | if (!s->method->ssl_clear(s)
| 0-8322 | ||||||||||||||||||||||||||||||
2876 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
2877 | - | |||||||||||||||||||||||||||||||
2878 | return executed 8322 times by 2 tests: 1;return 1; Executed by:
executed 8322 times by 2 tests: return 1; Executed by:
| 8322 | ||||||||||||||||||||||||||||||
2879 | err: | - | ||||||||||||||||||||||||||||||
2880 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
2881 | } | - | ||||||||||||||||||||||||||||||
2882 | - | |||||||||||||||||||||||||||||||
2883 | void ssl3_free(SSL *s) | - | ||||||||||||||||||||||||||||||
2884 | { | - | ||||||||||||||||||||||||||||||
2885 | if (s ==
| 0-8322 | ||||||||||||||||||||||||||||||
2886 | ((void *)0)
| 0-8322 | ||||||||||||||||||||||||||||||
2887 | || s->s3 ==
| 0-8322 | ||||||||||||||||||||||||||||||
2888 | ((void *)0)
| 0-8322 | ||||||||||||||||||||||||||||||
2889 | ) | - | ||||||||||||||||||||||||||||||
2890 | return; never executed: return; | 0 | ||||||||||||||||||||||||||||||
2891 | - | |||||||||||||||||||||||||||||||
2892 | ssl3_cleanup_key_block(s); | - | ||||||||||||||||||||||||||||||
2893 | - | |||||||||||||||||||||||||||||||
2894 | - | |||||||||||||||||||||||||||||||
2895 | EVP_PKEY_free(s->s3->peer_tmp); | - | ||||||||||||||||||||||||||||||
2896 | s->s3->peer_tmp = | - | ||||||||||||||||||||||||||||||
2897 | ((void *)0) | - | ||||||||||||||||||||||||||||||
2898 | ; | - | ||||||||||||||||||||||||||||||
2899 | EVP_PKEY_free(s->s3->tmp.pkey); | - | ||||||||||||||||||||||||||||||
2900 | s->s3->tmp.pkey = | - | ||||||||||||||||||||||||||||||
2901 | ((void *)0) | - | ||||||||||||||||||||||||||||||
2902 | ; | - | ||||||||||||||||||||||||||||||
2903 | - | |||||||||||||||||||||||||||||||
2904 | - | |||||||||||||||||||||||||||||||
2905 | CRYPTO_free(s->s3->tmp.ctype, __FILE__, 3327); | - | ||||||||||||||||||||||||||||||
2906 | sk_X509_NAME_pop_free(s->s3->tmp.peer_ca_names, X509_NAME_free); | - | ||||||||||||||||||||||||||||||
2907 | CRYPTO_free(s->s3->tmp.ciphers_raw, __FILE__, 3329); | - | ||||||||||||||||||||||||||||||
2908 | CRYPTO_clear_free(s->s3->tmp.pms, s->s3->tmp.pmslen, __FILE__, 3330); | - | ||||||||||||||||||||||||||||||
2909 | CRYPTO_free(s->s3->tmp.peer_sigalgs, __FILE__, 3331); | - | ||||||||||||||||||||||||||||||
2910 | CRYPTO_free(s->s3->tmp.peer_cert_sigalgs, __FILE__, 3332); | - | ||||||||||||||||||||||||||||||
2911 | ssl3_free_digest_list(s); | - | ||||||||||||||||||||||||||||||
2912 | CRYPTO_free(s->s3->alpn_selected, __FILE__, 3334); | - | ||||||||||||||||||||||||||||||
2913 | CRYPTO_free(s->s3->alpn_proposed, __FILE__, 3335); | - | ||||||||||||||||||||||||||||||
2914 | - | |||||||||||||||||||||||||||||||
2915 | - | |||||||||||||||||||||||||||||||
2916 | SSL_SRP_CTX_free(s); | - | ||||||||||||||||||||||||||||||
2917 | - | |||||||||||||||||||||||||||||||
2918 | CRYPTO_clear_free(s->s3, sizeof(*s->s3), __FILE__, 3340); | - | ||||||||||||||||||||||||||||||
2919 | s->s3 = | - | ||||||||||||||||||||||||||||||
2920 | ((void *)0) | - | ||||||||||||||||||||||||||||||
2921 | ; | - | ||||||||||||||||||||||||||||||
2922 | } executed 8322 times by 2 tests: end of block Executed by:
| 8322 | ||||||||||||||||||||||||||||||
2923 | - | |||||||||||||||||||||||||||||||
2924 | int ssl3_clear(SSL *s) | - | ||||||||||||||||||||||||||||||
2925 | { | - | ||||||||||||||||||||||||||||||
2926 | ssl3_cleanup_key_block(s); | - | ||||||||||||||||||||||||||||||
2927 | CRYPTO_free(s->s3->tmp.ctype, __FILE__, 3347); | - | ||||||||||||||||||||||||||||||
2928 | sk_X509_NAME_pop_free(s->s3->tmp.peer_ca_names, X509_NAME_free); | - | ||||||||||||||||||||||||||||||
2929 | CRYPTO_free(s->s3->tmp.ciphers_raw, __FILE__, 3349); | - | ||||||||||||||||||||||||||||||
2930 | CRYPTO_clear_free(s->s3->tmp.pms, s->s3->tmp.pmslen, __FILE__, 3350); | - | ||||||||||||||||||||||||||||||
2931 | CRYPTO_free(s->s3->tmp.peer_sigalgs, __FILE__, 3351); | - | ||||||||||||||||||||||||||||||
2932 | CRYPTO_free(s->s3->tmp.peer_cert_sigalgs, __FILE__, 3352); | - | ||||||||||||||||||||||||||||||
2933 | - | |||||||||||||||||||||||||||||||
2934 | - | |||||||||||||||||||||||||||||||
2935 | EVP_PKEY_free(s->s3->tmp.pkey); | - | ||||||||||||||||||||||||||||||
2936 | EVP_PKEY_free(s->s3->peer_tmp); | - | ||||||||||||||||||||||||||||||
2937 | - | |||||||||||||||||||||||||||||||
2938 | - | |||||||||||||||||||||||||||||||
2939 | ssl3_free_digest_list(s); | - | ||||||||||||||||||||||||||||||
2940 | - | |||||||||||||||||||||||||||||||
2941 | CRYPTO_free(s->s3->alpn_selected, __FILE__, 3361); | - | ||||||||||||||||||||||||||||||
2942 | CRYPTO_free(s->s3->alpn_proposed, __FILE__, 3362); | - | ||||||||||||||||||||||||||||||
2943 | - | |||||||||||||||||||||||||||||||
2944 | - | |||||||||||||||||||||||||||||||
2945 | memset(s->s3, 0, sizeof(*s->s3)); | - | ||||||||||||||||||||||||||||||
2946 | - | |||||||||||||||||||||||||||||||
2947 | if (!ssl_free_wbio_buffer(s)
| 0-32878 | ||||||||||||||||||||||||||||||
2948 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
2949 | - | |||||||||||||||||||||||||||||||
2950 | s->version = 0x0300; | - | ||||||||||||||||||||||||||||||
2951 | - | |||||||||||||||||||||||||||||||
2952 | - | |||||||||||||||||||||||||||||||
2953 | CRYPTO_free(s->ext.npn, __FILE__, 3373); | - | ||||||||||||||||||||||||||||||
2954 | s->ext.npn = | - | ||||||||||||||||||||||||||||||
2955 | ((void *)0) | - | ||||||||||||||||||||||||||||||
2956 | ; | - | ||||||||||||||||||||||||||||||
2957 | s->ext.npn_len = 0; | - | ||||||||||||||||||||||||||||||
2958 | - | |||||||||||||||||||||||||||||||
2959 | - | |||||||||||||||||||||||||||||||
2960 | return executed 32878 times by 2 tests: 1;return 1; Executed by:
executed 32878 times by 2 tests: return 1; Executed by:
| 32878 | ||||||||||||||||||||||||||||||
2961 | } | - | ||||||||||||||||||||||||||||||
2962 | - | |||||||||||||||||||||||||||||||
2963 | - | |||||||||||||||||||||||||||||||
2964 | static char *srp_password_from_info_cb(SSL *s, void *arg) | - | ||||||||||||||||||||||||||||||
2965 | { | - | ||||||||||||||||||||||||||||||
2966 | return executed 6 times by 1 test: CRYPTO_strdup(s->srp_ctx.info, __FILE__, 3384);return CRYPTO_strdup(s->srp_ctx.info, __FILE__, 3384); Executed by:
executed 6 times by 1 test: return CRYPTO_strdup(s->srp_ctx.info, __FILE__, 3384); Executed by:
| 6 | ||||||||||||||||||||||||||||||
2967 | } | - | ||||||||||||||||||||||||||||||
2968 | - | |||||||||||||||||||||||||||||||
2969 | - | |||||||||||||||||||||||||||||||
2970 | static int ssl3_set_req_cert_type(CERT *c, const unsigned char *p, size_t len); | - | ||||||||||||||||||||||||||||||
2971 | - | |||||||||||||||||||||||||||||||
2972 | long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) | - | ||||||||||||||||||||||||||||||
2973 | { | - | ||||||||||||||||||||||||||||||
2974 | int ret = 0; | - | ||||||||||||||||||||||||||||||
2975 | - | |||||||||||||||||||||||||||||||
2976 | switch (cmd) { | - | ||||||||||||||||||||||||||||||
2977 | case never executed: 9:case 9: never executed: case 9: | 0 | ||||||||||||||||||||||||||||||
2978 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
2979 | case never executed: 10:case 10: never executed: case 10: | 0 | ||||||||||||||||||||||||||||||
2980 | ret = s->s3->num_renegotiations; | - | ||||||||||||||||||||||||||||||
2981 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
2982 | case never executed: 11:case 11: never executed: case 11: | 0 | ||||||||||||||||||||||||||||||
2983 | ret = s->s3->num_renegotiations; | - | ||||||||||||||||||||||||||||||
2984 | s->s3->num_renegotiations = 0; | - | ||||||||||||||||||||||||||||||
2985 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
2986 | case executed 191 times by 1 test: 12:case 12: Executed by:
executed 191 times by 1 test: case 12: Executed by:
| 191 | ||||||||||||||||||||||||||||||
2987 | ret = s->s3->total_renegotiations; | - | ||||||||||||||||||||||||||||||
2988 | break; executed 191 times by 1 test: break; Executed by:
| 191 | ||||||||||||||||||||||||||||||
2989 | case never executed: 13:case 13: never executed: case 13: | 0 | ||||||||||||||||||||||||||||||
2990 | ret = (int)(s->s3->flags); | - | ||||||||||||||||||||||||||||||
2991 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
2992 | - | |||||||||||||||||||||||||||||||
2993 | case never executed: 3:case 3: never executed: case 3: | 0 | ||||||||||||||||||||||||||||||
2994 | { | - | ||||||||||||||||||||||||||||||
2995 | DH *dh = (DH *)parg; | - | ||||||||||||||||||||||||||||||
2996 | EVP_PKEY *pkdh = | - | ||||||||||||||||||||||||||||||
2997 | ((void *)0) | - | ||||||||||||||||||||||||||||||
2998 | ; | - | ||||||||||||||||||||||||||||||
2999 | if (dh ==
| 0 | ||||||||||||||||||||||||||||||
3000 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3001 | ) { | - | ||||||||||||||||||||||||||||||
3002 | ERR_put_error(20,(213),((3|64)),__FILE__,3416); | - | ||||||||||||||||||||||||||||||
3003 | return never executed: ret;return ret; never executed: return ret; | 0 | ||||||||||||||||||||||||||||||
3004 | } | - | ||||||||||||||||||||||||||||||
3005 | pkdh = ssl_dh_to_pkey(dh); | - | ||||||||||||||||||||||||||||||
3006 | if (pkdh ==
| 0 | ||||||||||||||||||||||||||||||
3007 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3008 | ) { | - | ||||||||||||||||||||||||||||||
3009 | ERR_put_error(20,(213),((1|64)),__FILE__,3421); | - | ||||||||||||||||||||||||||||||
3010 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3011 | } | - | ||||||||||||||||||||||||||||||
3012 | if (!ssl_security(s, (7 | (4 << 16)),
| 0 | ||||||||||||||||||||||||||||||
3013 | EVP_PKEY_security_bits(pkdh), 0, pkdh)
| 0 | ||||||||||||||||||||||||||||||
3014 | ERR_put_error(20,(213),(394),__FILE__,3426); | - | ||||||||||||||||||||||||||||||
3015 | EVP_PKEY_free(pkdh); | - | ||||||||||||||||||||||||||||||
3016 | return never executed: ret;return ret; never executed: return ret; | 0 | ||||||||||||||||||||||||||||||
3017 | } | - | ||||||||||||||||||||||||||||||
3018 | EVP_PKEY_free(s->cert->dh_tmp); | - | ||||||||||||||||||||||||||||||
3019 | s->cert->dh_tmp = pkdh; | - | ||||||||||||||||||||||||||||||
3020 | ret = 1; | - | ||||||||||||||||||||||||||||||
3021 | } | - | ||||||||||||||||||||||||||||||
3022 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3023 | case never executed: 6:case 6: never executed: case 6: | 0 | ||||||||||||||||||||||||||||||
3024 | { | - | ||||||||||||||||||||||||||||||
3025 | ERR_put_error(20,(213),((2|64)),__FILE__,3437); | - | ||||||||||||||||||||||||||||||
3026 | return never executed: ret;return ret; never executed: return ret; | 0 | ||||||||||||||||||||||||||||||
3027 | } | - | ||||||||||||||||||||||||||||||
3028 | case never executed: 118:case 118: never executed: case 118: | 0 | ||||||||||||||||||||||||||||||
3029 | s->cert->dh_tmp_auto = larg; | - | ||||||||||||||||||||||||||||||
3030 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||||||||||||||||||||
3031 | - | |||||||||||||||||||||||||||||||
3032 | - | |||||||||||||||||||||||||||||||
3033 | case never executed: 4:case 4: never executed: case 4: | 0 | ||||||||||||||||||||||||||||||
3034 | { | - | ||||||||||||||||||||||||||||||
3035 | const EC_GROUP *group = | - | ||||||||||||||||||||||||||||||
3036 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3037 | ; | - | ||||||||||||||||||||||||||||||
3038 | int nid; | - | ||||||||||||||||||||||||||||||
3039 | - | |||||||||||||||||||||||||||||||
3040 | if (parg ==
| 0 | ||||||||||||||||||||||||||||||
3041 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3042 | ) { | - | ||||||||||||||||||||||||||||||
3043 | ERR_put_error(20,(213),((3|64)),__FILE__,3451); | - | ||||||||||||||||||||||||||||||
3044 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3045 | } | - | ||||||||||||||||||||||||||||||
3046 | group = EC_KEY_get0_group((const EC_KEY *)parg); | - | ||||||||||||||||||||||||||||||
3047 | if (group ==
| 0 | ||||||||||||||||||||||||||||||
3048 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3049 | ) { | - | ||||||||||||||||||||||||||||||
3050 | ERR_put_error(20,(213),(124),__FILE__,3456); | - | ||||||||||||||||||||||||||||||
3051 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3052 | } | - | ||||||||||||||||||||||||||||||
3053 | nid = EC_GROUP_get_curve_name(group); | - | ||||||||||||||||||||||||||||||
3054 | if (nid == 0
| 0 | ||||||||||||||||||||||||||||||
3055 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3056 | return never executed: tls1_set_groups(&s->ext.supportedgroups,return tls1_set_groups(&s->ext.supportedgroups, &s->ext.supportedgroups_len, &nid, 1); never executed: return tls1_set_groups(&s->ext.supportedgroups, &s->ext.supportedgroups_len, &nid, 1); | 0 | ||||||||||||||||||||||||||||||
3057 | &s->ext.supportedgroups_len, never executed: return tls1_set_groups(&s->ext.supportedgroups, &s->ext.supportedgroups_len, &nid, 1); | 0 | ||||||||||||||||||||||||||||||
3058 | &nid, 1); never executed: return tls1_set_groups(&s->ext.supportedgroups, &s->ext.supportedgroups_len, &nid, 1); | 0 | ||||||||||||||||||||||||||||||
3059 | } | - | ||||||||||||||||||||||||||||||
3060 | break; dead code: break; | - | ||||||||||||||||||||||||||||||
3061 | - | |||||||||||||||||||||||||||||||
3062 | case executed 2603 times by 1 test: 55:case 55: Executed by:
executed 2603 times by 1 test: case 55: Executed by:
| 2603 | ||||||||||||||||||||||||||||||
3063 | if (larg == 0
| 0-2603 | ||||||||||||||||||||||||||||||
3064 | size_t len; | - | ||||||||||||||||||||||||||||||
3065 | - | |||||||||||||||||||||||||||||||
3066 | CRYPTO_free(s->ext.hostname, __FILE__, 3481); | - | ||||||||||||||||||||||||||||||
3067 | s->ext.hostname = | - | ||||||||||||||||||||||||||||||
3068 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3069 | ; | - | ||||||||||||||||||||||||||||||
3070 | - | |||||||||||||||||||||||||||||||
3071 | ret = 1; | - | ||||||||||||||||||||||||||||||
3072 | if (parg ==
| 0-2603 | ||||||||||||||||||||||||||||||
3073 | ((void *)0)
| 0-2603 | ||||||||||||||||||||||||||||||
3074 | ) | - | ||||||||||||||||||||||||||||||
3075 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3076 | len = strlen((char *)parg); | - | ||||||||||||||||||||||||||||||
3077 | if (len == 0
| 0-2603 | ||||||||||||||||||||||||||||||
3078 | ERR_put_error(20,(213),(319),__FILE__,3489); | - | ||||||||||||||||||||||||||||||
3079 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3080 | } | - | ||||||||||||||||||||||||||||||
3081 | if ((
| 0-2603 | ||||||||||||||||||||||||||||||
3082 | ((void *)0)
| 0-2603 | ||||||||||||||||||||||||||||||
3083 | ) { | - | ||||||||||||||||||||||||||||||
3084 | ERR_put_error(20,(213),((4|64)),__FILE__,3493); | - | ||||||||||||||||||||||||||||||
3085 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3086 | } | - | ||||||||||||||||||||||||||||||
3087 | } executed 2603 times by 1 test: else {end of block Executed by:
| 2603 | ||||||||||||||||||||||||||||||
3088 | ERR_put_error(20,(213),(320),__FILE__,3497); | - | ||||||||||||||||||||||||||||||
3089 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3090 | } | - | ||||||||||||||||||||||||||||||
3091 | break; executed 2603 times by 1 test: break; Executed by:
| 2603 | ||||||||||||||||||||||||||||||
3092 | case never executed: 57:case 57: never executed: case 57: | 0 | ||||||||||||||||||||||||||||||
3093 | s->ext.debug_arg = parg; | - | ||||||||||||||||||||||||||||||
3094 | ret = 1; | - | ||||||||||||||||||||||||||||||
3095 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3096 | - | |||||||||||||||||||||||||||||||
3097 | case executed 3 times by 1 test: 127:case 127: Executed by:
executed 3 times by 1 test: case 127: Executed by:
| 3 | ||||||||||||||||||||||||||||||
3098 | ret = s->ext.status_type; | - | ||||||||||||||||||||||||||||||
3099 | break; executed 3 times by 1 test: break; Executed by:
| 3 | ||||||||||||||||||||||||||||||
3100 | - | |||||||||||||||||||||||||||||||
3101 | case executed 17 times by 1 test: 65:case 65: Executed by:
executed 17 times by 1 test: case 65: Executed by:
| 17 | ||||||||||||||||||||||||||||||
3102 | s->ext.status_type = larg; | - | ||||||||||||||||||||||||||||||
3103 | ret = 1; | - | ||||||||||||||||||||||||||||||
3104 | break; executed 17 times by 1 test: break; Executed by:
| 17 | ||||||||||||||||||||||||||||||
3105 | - | |||||||||||||||||||||||||||||||
3106 | case never executed: 66:case 66: never executed: case 66: | 0 | ||||||||||||||||||||||||||||||
3107 | *(struct stack_st_X509_EXTENSION **)parg = s->ext.ocsp.exts; | - | ||||||||||||||||||||||||||||||
3108 | ret = 1; | - | ||||||||||||||||||||||||||||||
3109 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3110 | - | |||||||||||||||||||||||||||||||
3111 | case never executed: 67:case 67: never executed: case 67: | 0 | ||||||||||||||||||||||||||||||
3112 | s->ext.ocsp.exts = parg; | - | ||||||||||||||||||||||||||||||
3113 | ret = 1; | - | ||||||||||||||||||||||||||||||
3114 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3115 | - | |||||||||||||||||||||||||||||||
3116 | case executed 1 time by 1 test: 68:case 68: Executed by:
executed 1 time by 1 test: case 68: Executed by:
| 1 | ||||||||||||||||||||||||||||||
3117 | *(struct stack_st_OCSP_RESPID **)parg = s->ext.ocsp.ids; | - | ||||||||||||||||||||||||||||||
3118 | ret = 1; | - | ||||||||||||||||||||||||||||||
3119 | break; executed 1 time by 1 test: break; Executed by:
| 1 | ||||||||||||||||||||||||||||||
3120 | - | |||||||||||||||||||||||||||||||
3121 | case executed 1 time by 1 test: 69:case 69: Executed by:
executed 1 time by 1 test: case 69: Executed by:
| 1 | ||||||||||||||||||||||||||||||
3122 | s->ext.ocsp.ids = parg; | - | ||||||||||||||||||||||||||||||
3123 | ret = 1; | - | ||||||||||||||||||||||||||||||
3124 | break; executed 1 time by 1 test: break; Executed by:
| 1 | ||||||||||||||||||||||||||||||
3125 | - | |||||||||||||||||||||||||||||||
3126 | case executed 11 times by 1 test: 70:case 70: Executed by:
executed 11 times by 1 test: case 70: Executed by:
| 11 | ||||||||||||||||||||||||||||||
3127 | *(unsigned char **)parg = s->ext.ocsp.resp; | - | ||||||||||||||||||||||||||||||
3128 | if (s->ext.ocsp.resp_len == 0
| 3-8 | ||||||||||||||||||||||||||||||
3129 | || s->ext.ocsp.resp_len > 0x7fffffffffffffffL
| 0-8 | ||||||||||||||||||||||||||||||
3130 | return executed 3 times by 1 test: -1;return -1; Executed by:
executed 3 times by 1 test: return -1; Executed by:
| 3 | ||||||||||||||||||||||||||||||
3131 | return executed 8 times by 1 test: (long)s->ext.ocsp.resp_len;return (long)s->ext.ocsp.resp_len; Executed by:
executed 8 times by 1 test: return (long)s->ext.ocsp.resp_len; Executed by:
| 8 | ||||||||||||||||||||||||||||||
3132 | - | |||||||||||||||||||||||||||||||
3133 | case executed 11 times by 1 test: 71:case 71: Executed by:
executed 11 times by 1 test: case 71: Executed by:
| 11 | ||||||||||||||||||||||||||||||
3134 | CRYPTO_free(s->ext.ocsp.resp, __FILE__, 3543); | - | ||||||||||||||||||||||||||||||
3135 | s->ext.ocsp.resp = parg; | - | ||||||||||||||||||||||||||||||
3136 | s->ext.ocsp.resp_len = larg; | - | ||||||||||||||||||||||||||||||
3137 | ret = 1; | - | ||||||||||||||||||||||||||||||
3138 | break; executed 11 times by 1 test: break; Executed by:
| 11 | ||||||||||||||||||||||||||||||
3139 | case never executed: 88:case 88: never executed: case 88: | 0 | ||||||||||||||||||||||||||||||
3140 | if (larg
| 0 | ||||||||||||||||||||||||||||||
3141 | return never executed: ssl_cert_set1_chain(s, return ssl_cert_set1_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); never executed: return ssl_cert_set1_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3142 | ((void *)0) never executed: return ssl_cert_set1_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3143 | , (struct stack_st_X509 *)parg); never executed: return ssl_cert_set1_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3144 | else | - | ||||||||||||||||||||||||||||||
3145 | return never executed: ssl_cert_set0_chain(s, return ssl_cert_set0_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); never executed: return ssl_cert_set0_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3146 | ((void *)0) never executed: return ssl_cert_set0_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3147 | , (struct stack_st_X509 *)parg); never executed: return ssl_cert_set0_chain(s, ((void *)0) , (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3148 | - | |||||||||||||||||||||||||||||||
3149 | case never executed: 89:case 89: never executed: case 89: | 0 | ||||||||||||||||||||||||||||||
3150 | if (larg
| 0 | ||||||||||||||||||||||||||||||
3151 | return never executed: ssl_cert_add1_chain_cert(s, return ssl_cert_add1_chain_cert(s, ((void *)0) , (X509 *)parg); never executed: return ssl_cert_add1_chain_cert(s, ((void *)0) , (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3152 | ((void *)0) never executed: return ssl_cert_add1_chain_cert(s, ((void *)0) , (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3153 | , (X509 *)parg); never executed: return ssl_cert_add1_chain_cert(s, ((void *)0) , (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3154 | else | - | ||||||||||||||||||||||||||||||
3155 | return never executed: ssl_cert_add0_chain_cert(s, return ssl_cert_add0_chain_cert(s, ((void *)0) , (X509 *)parg); never executed: return ssl_cert_add0_chain_cert(s, ((void *)0) , (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3156 | ((void *)0) never executed: return ssl_cert_add0_chain_cert(s, ((void *)0) , (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3157 | , (X509 *)parg); never executed: return ssl_cert_add0_chain_cert(s, ((void *)0) , (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3158 | - | |||||||||||||||||||||||||||||||
3159 | case never executed: 115:case 115: never executed: case 115: | 0 | ||||||||||||||||||||||||||||||
3160 | *(struct stack_st_X509 **)parg = s->cert->key->chain; | - | ||||||||||||||||||||||||||||||
3161 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3162 | - | |||||||||||||||||||||||||||||||
3163 | case never executed: 116:case 116: never executed: case 116: | 0 | ||||||||||||||||||||||||||||||
3164 | return never executed: ssl_cert_select_current(s->cert, (X509 *)parg);return ssl_cert_select_current(s->cert, (X509 *)parg); never executed: return ssl_cert_select_current(s->cert, (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3165 | - | |||||||||||||||||||||||||||||||
3166 | case never executed: 117:case 117: never executed: case 117: | 0 | ||||||||||||||||||||||||||||||
3167 | if (larg == 3
| 0 | ||||||||||||||||||||||||||||||
3168 | const SSL_CIPHER *cipher; | - | ||||||||||||||||||||||||||||||
3169 | if (!s->server
| 0 | ||||||||||||||||||||||||||||||
3170 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3171 | cipher = s->s3->tmp.new_cipher; | - | ||||||||||||||||||||||||||||||
3172 | if (cipher ==
| 0 | ||||||||||||||||||||||||||||||
3173 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3174 | ) | - | ||||||||||||||||||||||||||||||
3175 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3176 | - | |||||||||||||||||||||||||||||||
3177 | - | |||||||||||||||||||||||||||||||
3178 | - | |||||||||||||||||||||||||||||||
3179 | - | |||||||||||||||||||||||||||||||
3180 | if (cipher->algorithm_auth & (0x00000004U | 0x00000040U)
| 0 | ||||||||||||||||||||||||||||||
3181 | return never executed: 2;return 2; never executed: return 2; | 0 | ||||||||||||||||||||||||||||||
3182 | if (s->s3->tmp.cert ==
| 0 | ||||||||||||||||||||||||||||||
3183 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3184 | ) | - | ||||||||||||||||||||||||||||||
3185 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3186 | s->cert->key = s->s3->tmp.cert; | - | ||||||||||||||||||||||||||||||
3187 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||||||||||||||||||||
3188 | } | - | ||||||||||||||||||||||||||||||
3189 | return never executed: ssl_cert_set_current(s->cert, larg);return ssl_cert_set_current(s->cert, larg); never executed: return ssl_cert_set_current(s->cert, larg); | 0 | ||||||||||||||||||||||||||||||
3190 | - | |||||||||||||||||||||||||||||||
3191 | - | |||||||||||||||||||||||||||||||
3192 | case executed 231 times by 1 test: 90:case 90: Executed by:
executed 231 times by 1 test: case 90: Executed by:
| 231 | ||||||||||||||||||||||||||||||
3193 | { | - | ||||||||||||||||||||||||||||||
3194 | uint16_t *clist; | - | ||||||||||||||||||||||||||||||
3195 | size_t clistlen; | - | ||||||||||||||||||||||||||||||
3196 | - | |||||||||||||||||||||||||||||||
3197 | if (!s->session
| 0-231 | ||||||||||||||||||||||||||||||
3198 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3199 | clist = s->session->ext.supportedgroups; | - | ||||||||||||||||||||||||||||||
3200 | clistlen = s->session->ext.supportedgroups_len; | - | ||||||||||||||||||||||||||||||
3201 | if (parg
| 111-120 | ||||||||||||||||||||||||||||||
3202 | size_t i; | - | ||||||||||||||||||||||||||||||
3203 | int *cptr = parg; | - | ||||||||||||||||||||||||||||||
3204 | - | |||||||||||||||||||||||||||||||
3205 | for (i = 0; i < clistlen
| 111-530 | ||||||||||||||||||||||||||||||
3206 | const TLS_GROUP_INFO *cinf = tls1_group_id_lookup(clist[i]); | - | ||||||||||||||||||||||||||||||
3207 | - | |||||||||||||||||||||||||||||||
3208 | if (cinf !=
| 4-526 | ||||||||||||||||||||||||||||||
3209 | ((void *)0)
| 4-526 | ||||||||||||||||||||||||||||||
3210 | ) | - | ||||||||||||||||||||||||||||||
3211 | cptr[i] = cinf->nid; executed 526 times by 1 test: cptr[i] = cinf->nid; Executed by:
| 526 | ||||||||||||||||||||||||||||||
3212 | else | - | ||||||||||||||||||||||||||||||
3213 | cptr[i] = 0x1000000 | clist[i]; executed 4 times by 1 test: cptr[i] = 0x1000000 | clist[i]; Executed by:
| 4 | ||||||||||||||||||||||||||||||
3214 | } | - | ||||||||||||||||||||||||||||||
3215 | } executed 111 times by 1 test: end of block Executed by:
| 111 | ||||||||||||||||||||||||||||||
3216 | return executed 231 times by 1 test: (int)clistlen;return (int)clistlen; Executed by:
executed 231 times by 1 test: return (int)clistlen; Executed by:
| 231 | ||||||||||||||||||||||||||||||
3217 | } | - | ||||||||||||||||||||||||||||||
3218 | - | |||||||||||||||||||||||||||||||
3219 | case never executed: 91:case 91: never executed: case 91: | 0 | ||||||||||||||||||||||||||||||
3220 | return never executed: tls1_set_groups(&s->ext.supportedgroups,return tls1_set_groups(&s->ext.supportedgroups, &s->ext.supportedgroups_len, parg, larg); never executed: return tls1_set_groups(&s->ext.supportedgroups, &s->ext.supportedgroups_len, parg, larg); | 0 | ||||||||||||||||||||||||||||||
3221 | &s->ext.supportedgroups_len, parg, larg); never executed: return tls1_set_groups(&s->ext.supportedgroups, &s->ext.supportedgroups_len, parg, larg); | 0 | ||||||||||||||||||||||||||||||
3222 | - | |||||||||||||||||||||||||||||||
3223 | case executed 10 times by 1 test: 92:case 92: Executed by:
executed 10 times by 1 test: case 92: Executed by:
| 10 | ||||||||||||||||||||||||||||||
3224 | return executed 10 times by 1 test: tls1_set_groups_list(&s->ext.supportedgroups,return tls1_set_groups_list(&s->ext.supportedgroups, &s->ext.supportedgroups_len, parg); Executed by:
executed 10 times by 1 test: return tls1_set_groups_list(&s->ext.supportedgroups, &s->ext.supportedgroups_len, parg); Executed by:
| 10 | ||||||||||||||||||||||||||||||
3225 | &s->ext.supportedgroups_len, parg); executed 10 times by 1 test: return tls1_set_groups_list(&s->ext.supportedgroups, &s->ext.supportedgroups_len, parg); Executed by:
| 10 | ||||||||||||||||||||||||||||||
3226 | - | |||||||||||||||||||||||||||||||
3227 | case never executed: 93:case 93: never executed: case 93: | 0 | ||||||||||||||||||||||||||||||
3228 | { | - | ||||||||||||||||||||||||||||||
3229 | uint16_t id = tls1_shared_group(s, larg); | - | ||||||||||||||||||||||||||||||
3230 | - | |||||||||||||||||||||||||||||||
3231 | if (larg != -1
| 0 | ||||||||||||||||||||||||||||||
3232 | const TLS_GROUP_INFO *ginf = tls1_group_id_lookup(id); | - | ||||||||||||||||||||||||||||||
3233 | - | |||||||||||||||||||||||||||||||
3234 | return never executed: ginf == return ginf == ((void *)0) ? 0 : ginf->nid;
never executed: return ginf == ((void *)0) ? 0 : ginf->nid; | 0 | ||||||||||||||||||||||||||||||
3235 | ((void *)0)
never executed: return ginf == ((void *)0) ? 0 : ginf->nid; | 0 | ||||||||||||||||||||||||||||||
3236 | ? 0 : ginf->nid; never executed: return ginf == ((void *)0) ? 0 : ginf->nid; | 0 | ||||||||||||||||||||||||||||||
3237 | } | - | ||||||||||||||||||||||||||||||
3238 | return never executed: id;return id; never executed: return id; | 0 | ||||||||||||||||||||||||||||||
3239 | } | - | ||||||||||||||||||||||||||||||
3240 | - | |||||||||||||||||||||||||||||||
3241 | case executed 7 times by 1 test: 97:case 97: Executed by:
executed 7 times by 1 test: case 97: Executed by:
| 7 | ||||||||||||||||||||||||||||||
3242 | return executed 7 times by 1 test: tls1_set_sigalgs(s->cert, parg, larg, 0);return tls1_set_sigalgs(s->cert, parg, larg, 0); Executed by:
executed 7 times by 1 test: return tls1_set_sigalgs(s->cert, parg, larg, 0); Executed by:
| 7 | ||||||||||||||||||||||||||||||
3243 | - | |||||||||||||||||||||||||||||||
3244 | case executed 7 times by 1 test: 98:case 98: Executed by:
executed 7 times by 1 test: case 98: Executed by:
| 7 | ||||||||||||||||||||||||||||||
3245 | return executed 7 times by 1 test: tls1_set_sigalgs_list(s->cert, parg, 0);return tls1_set_sigalgs_list(s->cert, parg, 0); Executed by:
executed 7 times by 1 test: return tls1_set_sigalgs_list(s->cert, parg, 0); Executed by:
| 7 | ||||||||||||||||||||||||||||||
3246 | - | |||||||||||||||||||||||||||||||
3247 | case never executed: 101:case 101: never executed: case 101: | 0 | ||||||||||||||||||||||||||||||
3248 | return never executed: tls1_set_sigalgs(s->cert, parg, larg, 1);return tls1_set_sigalgs(s->cert, parg, larg, 1); never executed: return tls1_set_sigalgs(s->cert, parg, larg, 1); | 0 | ||||||||||||||||||||||||||||||
3249 | - | |||||||||||||||||||||||||||||||
3250 | case never executed: 102:case 102: never executed: case 102: | 0 | ||||||||||||||||||||||||||||||
3251 | return never executed: tls1_set_sigalgs_list(s->cert, parg, 1);return tls1_set_sigalgs_list(s->cert, parg, 1); never executed: return tls1_set_sigalgs_list(s->cert, parg, 1); | 0 | ||||||||||||||||||||||||||||||
3252 | - | |||||||||||||||||||||||||||||||
3253 | case executed 191 times by 1 test: 103:case 103: Executed by:
executed 191 times by 1 test: case 103: Executed by:
| 191 | ||||||||||||||||||||||||||||||
3254 | { | - | ||||||||||||||||||||||||||||||
3255 | const unsigned char **pctype = parg; | - | ||||||||||||||||||||||||||||||
3256 | if (s->server
| 0-191 | ||||||||||||||||||||||||||||||
3257 | return executed 188 times by 1 test: 0;return 0; Executed by:
executed 188 times by 1 test: return 0; Executed by:
| 188 | ||||||||||||||||||||||||||||||
3258 | if (pctype
| 0-3 | ||||||||||||||||||||||||||||||
3259 | * executed 3 times by 1 test: pctype = s->s3->tmp.ctype;*pctype = s->s3->tmp.ctype; Executed by:
executed 3 times by 1 test: *pctype = s->s3->tmp.ctype; Executed by:
| 3 | ||||||||||||||||||||||||||||||
3260 | return executed 3 times by 1 test: s->s3->tmp.ctype_len;return s->s3->tmp.ctype_len; Executed by:
executed 3 times by 1 test: return s->s3->tmp.ctype_len; Executed by:
| 3 | ||||||||||||||||||||||||||||||
3261 | } | - | ||||||||||||||||||||||||||||||
3262 | - | |||||||||||||||||||||||||||||||
3263 | case never executed: 104:case 104: never executed: case 104: | 0 | ||||||||||||||||||||||||||||||
3264 | if (!s->server
| 0 | ||||||||||||||||||||||||||||||
3265 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3266 | return never executed: ssl3_set_req_cert_type(s->cert, parg, larg);return ssl3_set_req_cert_type(s->cert, parg, larg); never executed: return ssl3_set_req_cert_type(s->cert, parg, larg); | 0 | ||||||||||||||||||||||||||||||
3267 | - | |||||||||||||||||||||||||||||||
3268 | case never executed: 105:case 105: never executed: case 105: | 0 | ||||||||||||||||||||||||||||||
3269 | return never executed: ssl_build_cert_chain(s, return ssl_build_cert_chain(s, ((void *)0) , larg); never executed: return ssl_build_cert_chain(s, ((void *)0) , larg); | 0 | ||||||||||||||||||||||||||||||
3270 | ((void *)0) never executed: return ssl_build_cert_chain(s, ((void *)0) , larg); | 0 | ||||||||||||||||||||||||||||||
3271 | , larg); never executed: return ssl_build_cert_chain(s, ((void *)0) , larg); | 0 | ||||||||||||||||||||||||||||||
3272 | - | |||||||||||||||||||||||||||||||
3273 | case never executed: 106:case 106: never executed: case 106: | 0 | ||||||||||||||||||||||||||||||
3274 | return never executed: ssl_cert_set_cert_store(s->cert, parg, 0, larg);return ssl_cert_set_cert_store(s->cert, parg, 0, larg); never executed: return ssl_cert_set_cert_store(s->cert, parg, 0, larg); | 0 | ||||||||||||||||||||||||||||||
3275 | - | |||||||||||||||||||||||||||||||
3276 | case never executed: 107:case 107: never executed: case 107: | 0 | ||||||||||||||||||||||||||||||
3277 | return never executed: ssl_cert_set_cert_store(s->cert, parg, 1, larg);return ssl_cert_set_cert_store(s->cert, parg, 1, larg); never executed: return ssl_cert_set_cert_store(s->cert, parg, 1, larg); | 0 | ||||||||||||||||||||||||||||||
3278 | - | |||||||||||||||||||||||||||||||
3279 | case executed 2759 times by 1 test: 108:case 108: Executed by:
executed 2759 times by 1 test: case 108: Executed by:
| 2759 | ||||||||||||||||||||||||||||||
3280 | if (s->s3->tmp.peer_sigalg ==
| 1087-1672 | ||||||||||||||||||||||||||||||
3281 | ((void *)0)
| 1087-1672 | ||||||||||||||||||||||||||||||
3282 | ) | - | ||||||||||||||||||||||||||||||
3283 | return executed 1672 times by 1 test: 0;return 0; Executed by:
executed 1672 times by 1 test: return 0; Executed by:
| 1672 | ||||||||||||||||||||||||||||||
3284 | *(int *)parg = s->s3->tmp.peer_sigalg->hash; | - | ||||||||||||||||||||||||||||||
3285 | return executed 1087 times by 1 test: 1;return 1; Executed by:
executed 1087 times by 1 test: return 1; Executed by:
| 1087 | ||||||||||||||||||||||||||||||
3286 | - | |||||||||||||||||||||||||||||||
3287 | case executed 1547 times by 1 test: 109:case 109: Executed by:
executed 1547 times by 1 test: case 109: Executed by:
| 1547 | ||||||||||||||||||||||||||||||
3288 | - | |||||||||||||||||||||||||||||||
3289 | if (s->server
| 0-1547 | ||||||||||||||||||||||||||||||
3290 | ((void *)0)
| 52-1495 | ||||||||||||||||||||||||||||||
3291 | || s->s3->peer_tmp ==
| 395-1100 | ||||||||||||||||||||||||||||||
3292 | ((void *)0)
| 395-1100 | ||||||||||||||||||||||||||||||
3293 | ) { | - | ||||||||||||||||||||||||||||||
3294 | return executed 447 times by 1 test: 0;return 0; Executed by:
executed 447 times by 1 test: return 0; Executed by:
| 447 | ||||||||||||||||||||||||||||||
3295 | } else { | - | ||||||||||||||||||||||||||||||
3296 | EVP_PKEY_up_ref(s->s3->peer_tmp); | - | ||||||||||||||||||||||||||||||
3297 | *(EVP_PKEY **)parg = s->s3->peer_tmp; | - | ||||||||||||||||||||||||||||||
3298 | return executed 1100 times by 1 test: 1;return 1; Executed by:
executed 1100 times by 1 test: return 1; Executed by:
| 1100 | ||||||||||||||||||||||||||||||
3299 | } | - | ||||||||||||||||||||||||||||||
3300 | - | |||||||||||||||||||||||||||||||
3301 | - | |||||||||||||||||||||||||||||||
3302 | - | |||||||||||||||||||||||||||||||
3303 | - | |||||||||||||||||||||||||||||||
3304 | case executed 120 times by 1 test: 111:case 111: Executed by:
executed 120 times by 1 test: case 111: Executed by:
| 120 | ||||||||||||||||||||||||||||||
3305 | { | - | ||||||||||||||||||||||||||||||
3306 | SSL_SESSION *sess = s->session; | - | ||||||||||||||||||||||||||||||
3307 | const unsigned char **pformat = parg; | - | ||||||||||||||||||||||||||||||
3308 | - | |||||||||||||||||||||||||||||||
3309 | if (sess ==
| 0-120 | ||||||||||||||||||||||||||||||
3310 | ((void *)0)
| 0-120 | ||||||||||||||||||||||||||||||
3311 | || sess->ext.ecpointformats ==
| 58-62 | ||||||||||||||||||||||||||||||
3312 | ((void *)0)
| 58-62 | ||||||||||||||||||||||||||||||
3313 | ) | - | ||||||||||||||||||||||||||||||
3314 | return executed 58 times by 1 test: 0;return 0; Executed by:
executed 58 times by 1 test: return 0; Executed by:
| 58 | ||||||||||||||||||||||||||||||
3315 | *pformat = sess->ext.ecpointformats; | - | ||||||||||||||||||||||||||||||
3316 | return executed 62 times by 1 test: (int)sess->ext.ecpointformats_len;return (int)sess->ext.ecpointformats_len; Executed by:
executed 62 times by 1 test: return (int)sess->ext.ecpointformats_len; Executed by:
| 62 | ||||||||||||||||||||||||||||||
3317 | } | - | ||||||||||||||||||||||||||||||
3318 | - | |||||||||||||||||||||||||||||||
3319 | - | |||||||||||||||||||||||||||||||
3320 | default never executed: :default: never executed: default: | 0 | ||||||||||||||||||||||||||||||
3321 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3322 | } | - | ||||||||||||||||||||||||||||||
3323 | return executed 2827 times by 1 test: ret;return ret; Executed by:
executed 2827 times by 1 test: return ret; Executed by:
| 2827 | ||||||||||||||||||||||||||||||
3324 | } | - | ||||||||||||||||||||||||||||||
3325 | - | |||||||||||||||||||||||||||||||
3326 | long ssl3_callback_ctrl(SSL *s, int cmd, void (*fp) (void)) | - | ||||||||||||||||||||||||||||||
3327 | { | - | ||||||||||||||||||||||||||||||
3328 | int ret = 0; | - | ||||||||||||||||||||||||||||||
3329 | - | |||||||||||||||||||||||||||||||
3330 | switch (cmd) { | - | ||||||||||||||||||||||||||||||
3331 | - | |||||||||||||||||||||||||||||||
3332 | case never executed: 6:case 6: never executed: case 6: | 0 | ||||||||||||||||||||||||||||||
3333 | { | - | ||||||||||||||||||||||||||||||
3334 | s->cert->dh_tmp_cb = (DH *(*)(SSL *, int, int))fp; | - | ||||||||||||||||||||||||||||||
3335 | } | - | ||||||||||||||||||||||||||||||
3336 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3337 | - | |||||||||||||||||||||||||||||||
3338 | case never executed: 56:case 56: never executed: case 56: | 0 | ||||||||||||||||||||||||||||||
3339 | s->ext.debug_cb = (void (*)(SSL *, int, int, | - | ||||||||||||||||||||||||||||||
3340 | const unsigned char *, int, void *))fp; | - | ||||||||||||||||||||||||||||||
3341 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3342 | - | |||||||||||||||||||||||||||||||
3343 | case never executed: 79:case 79: never executed: case 79: | 0 | ||||||||||||||||||||||||||||||
3344 | { | - | ||||||||||||||||||||||||||||||
3345 | s->not_resumable_session_cb = (int (*)(SSL *, int))fp; | - | ||||||||||||||||||||||||||||||
3346 | } | - | ||||||||||||||||||||||||||||||
3347 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3348 | default never executed: :default: never executed: default: | 0 | ||||||||||||||||||||||||||||||
3349 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3350 | } | - | ||||||||||||||||||||||||||||||
3351 | return never executed: ret;return ret; never executed: return ret; | 0 | ||||||||||||||||||||||||||||||
3352 | } | - | ||||||||||||||||||||||||||||||
3353 | - | |||||||||||||||||||||||||||||||
3354 | long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) | - | ||||||||||||||||||||||||||||||
3355 | { | - | ||||||||||||||||||||||||||||||
3356 | switch (cmd) { | - | ||||||||||||||||||||||||||||||
3357 | - | |||||||||||||||||||||||||||||||
3358 | case executed 235 times by 1 test: 3:case 3: Executed by:
executed 235 times by 1 test: case 3: Executed by:
| 235 | ||||||||||||||||||||||||||||||
3359 | { | - | ||||||||||||||||||||||||||||||
3360 | DH *dh = (DH *)parg; | - | ||||||||||||||||||||||||||||||
3361 | EVP_PKEY *pkdh = | - | ||||||||||||||||||||||||||||||
3362 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3363 | ; | - | ||||||||||||||||||||||||||||||
3364 | if (dh ==
| 0-235 | ||||||||||||||||||||||||||||||
3365 | ((void *)0)
| 0-235 | ||||||||||||||||||||||||||||||
3366 | ) { | - | ||||||||||||||||||||||||||||||
3367 | ERR_put_error(20,(133),((3|64)),__FILE__,3752); | - | ||||||||||||||||||||||||||||||
3368 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3369 | } | - | ||||||||||||||||||||||||||||||
3370 | pkdh = ssl_dh_to_pkey(dh); | - | ||||||||||||||||||||||||||||||
3371 | if (pkdh ==
| 0-235 | ||||||||||||||||||||||||||||||
3372 | ((void *)0)
| 0-235 | ||||||||||||||||||||||||||||||
3373 | ) { | - | ||||||||||||||||||||||||||||||
3374 | ERR_put_error(20,(133),((1|64)),__FILE__,3757); | - | ||||||||||||||||||||||||||||||
3375 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3376 | } | - | ||||||||||||||||||||||||||||||
3377 | if (!ssl_ctx_security(ctx, (7 | (4 << 16)),
| 4-231 | ||||||||||||||||||||||||||||||
3378 | EVP_PKEY_security_bits(pkdh), 0, pkdh)
| 4-231 | ||||||||||||||||||||||||||||||
3379 | ERR_put_error(20,(133),(394),__FILE__,3762); | - | ||||||||||||||||||||||||||||||
3380 | EVP_PKEY_free(pkdh); | - | ||||||||||||||||||||||||||||||
3381 | return executed 4 times by 1 test: 1;return 1; Executed by:
executed 4 times by 1 test: return 1; Executed by:
| 4 | ||||||||||||||||||||||||||||||
3382 | } | - | ||||||||||||||||||||||||||||||
3383 | EVP_PKEY_free(ctx->cert->dh_tmp); | - | ||||||||||||||||||||||||||||||
3384 | ctx->cert->dh_tmp = pkdh; | - | ||||||||||||||||||||||||||||||
3385 | return executed 231 times by 1 test: 1;return 1; Executed by:
executed 231 times by 1 test: return 1; Executed by:
| 231 | ||||||||||||||||||||||||||||||
3386 | } | - | ||||||||||||||||||||||||||||||
3387 | case never executed: 6:case 6: never executed: case 6: | 0 | ||||||||||||||||||||||||||||||
3388 | { | - | ||||||||||||||||||||||||||||||
3389 | ERR_put_error(20,(133),((2|64)),__FILE__,3772); | - | ||||||||||||||||||||||||||||||
3390 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3391 | } | - | ||||||||||||||||||||||||||||||
3392 | case executed 517 times by 1 test: 118:case 118: Executed by:
executed 517 times by 1 test: case 118: Executed by:
| 517 | ||||||||||||||||||||||||||||||
3393 | ctx->cert->dh_tmp_auto = larg; | - | ||||||||||||||||||||||||||||||
3394 | return executed 517 times by 1 test: 1;return 1; Executed by:
executed 517 times by 1 test: return 1; Executed by:
| 517 | ||||||||||||||||||||||||||||||
3395 | - | |||||||||||||||||||||||||||||||
3396 | - | |||||||||||||||||||||||||||||||
3397 | case never executed: 4:case 4: never executed: case 4: | 0 | ||||||||||||||||||||||||||||||
3398 | { | - | ||||||||||||||||||||||||||||||
3399 | const EC_GROUP *group = | - | ||||||||||||||||||||||||||||||
3400 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3401 | ; | - | ||||||||||||||||||||||||||||||
3402 | int nid; | - | ||||||||||||||||||||||||||||||
3403 | - | |||||||||||||||||||||||||||||||
3404 | if (parg ==
| 0 | ||||||||||||||||||||||||||||||
3405 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3406 | ) { | - | ||||||||||||||||||||||||||||||
3407 | ERR_put_error(20,(133),((3|64)),__FILE__,3786); | - | ||||||||||||||||||||||||||||||
3408 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3409 | } | - | ||||||||||||||||||||||||||||||
3410 | group = EC_KEY_get0_group((const EC_KEY *)parg); | - | ||||||||||||||||||||||||||||||
3411 | if (group ==
| 0 | ||||||||||||||||||||||||||||||
3412 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3413 | ) { | - | ||||||||||||||||||||||||||||||
3414 | ERR_put_error(20,(133),(124),__FILE__,3791); | - | ||||||||||||||||||||||||||||||
3415 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3416 | } | - | ||||||||||||||||||||||||||||||
3417 | nid = EC_GROUP_get_curve_name(group); | - | ||||||||||||||||||||||||||||||
3418 | if (nid == 0
| 0 | ||||||||||||||||||||||||||||||
3419 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3420 | return never executed: tls1_set_groups(&ctx->ext.supportedgroups,return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, &nid, 1); never executed: return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, &nid, 1); | 0 | ||||||||||||||||||||||||||||||
3421 | &ctx->ext.supportedgroups_len, never executed: return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, &nid, 1); | 0 | ||||||||||||||||||||||||||||||
3422 | &nid, 1); never executed: return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, &nid, 1); | 0 | ||||||||||||||||||||||||||||||
3423 | } | - | ||||||||||||||||||||||||||||||
3424 | - | |||||||||||||||||||||||||||||||
3425 | case executed 228 times by 1 test: 54:case 54: Executed by:
executed 228 times by 1 test: case 54: Executed by:
| 228 | ||||||||||||||||||||||||||||||
3426 | ctx->ext.servername_arg = parg; | - | ||||||||||||||||||||||||||||||
3427 | break; executed 228 times by 1 test: break; Executed by:
| 228 | ||||||||||||||||||||||||||||||
3428 | case executed 2420 times by 1 test: 59:case 59: Executed by:
executed 2420 times by 1 test: case 59: Executed by:
| 2420 | ||||||||||||||||||||||||||||||
3429 | case never executed: 58:case 58: never executed: case 58: | 0 | ||||||||||||||||||||||||||||||
3430 | { | - | ||||||||||||||||||||||||||||||
3431 | unsigned char *keys = parg; | - | ||||||||||||||||||||||||||||||
3432 | long tick_keylen = (sizeof(ctx->ext.tick_key_name) + | - | ||||||||||||||||||||||||||||||
3433 | sizeof(ctx->ext.secure->tick_hmac_key) + | - | ||||||||||||||||||||||||||||||
3434 | sizeof(ctx->ext.secure->tick_aes_key)); | - | ||||||||||||||||||||||||||||||
3435 | if (keys ==
| 1210 | ||||||||||||||||||||||||||||||
3436 | ((void *)0)
| 1210 | ||||||||||||||||||||||||||||||
3437 | ) | - | ||||||||||||||||||||||||||||||
3438 | return executed 1210 times by 1 test: tick_keylen;return tick_keylen; Executed by:
executed 1210 times by 1 test: return tick_keylen; Executed by:
| 1210 | ||||||||||||||||||||||||||||||
3439 | if (larg != tick_keylen
| 0-1210 | ||||||||||||||||||||||||||||||
3440 | ERR_put_error(20,(133),(325),__FILE__,3815); | - | ||||||||||||||||||||||||||||||
3441 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3442 | } | - | ||||||||||||||||||||||||||||||
3443 | if (cmd == 59
| 0-1210 | ||||||||||||||||||||||||||||||
3444 | memcpy(ctx->ext.tick_key_name, keys, | - | ||||||||||||||||||||||||||||||
3445 | sizeof(ctx->ext.tick_key_name)); | - | ||||||||||||||||||||||||||||||
3446 | memcpy(ctx->ext.secure->tick_hmac_key, | - | ||||||||||||||||||||||||||||||
3447 | keys + sizeof(ctx->ext.tick_key_name), | - | ||||||||||||||||||||||||||||||
3448 | sizeof(ctx->ext.secure->tick_hmac_key)); | - | ||||||||||||||||||||||||||||||
3449 | memcpy(ctx->ext.secure->tick_aes_key, | - | ||||||||||||||||||||||||||||||
3450 | keys + sizeof(ctx->ext.tick_key_name) + | - | ||||||||||||||||||||||||||||||
3451 | sizeof(ctx->ext.secure->tick_hmac_key), | - | ||||||||||||||||||||||||||||||
3452 | sizeof(ctx->ext.secure->tick_aes_key)); | - | ||||||||||||||||||||||||||||||
3453 | } executed 1210 times by 1 test: else {end of block Executed by:
| 1210 | ||||||||||||||||||||||||||||||
3454 | memcpy(keys, ctx->ext.tick_key_name, | - | ||||||||||||||||||||||||||||||
3455 | sizeof(ctx->ext.tick_key_name)); | - | ||||||||||||||||||||||||||||||
3456 | memcpy(keys + sizeof(ctx->ext.tick_key_name), | - | ||||||||||||||||||||||||||||||
3457 | ctx->ext.secure->tick_hmac_key, | - | ||||||||||||||||||||||||||||||
3458 | sizeof(ctx->ext.secure->tick_hmac_key)); | - | ||||||||||||||||||||||||||||||
3459 | memcpy(keys + sizeof(ctx->ext.tick_key_name) + | - | ||||||||||||||||||||||||||||||
3460 | sizeof(ctx->ext.secure->tick_hmac_key), | - | ||||||||||||||||||||||||||||||
3461 | ctx->ext.secure->tick_aes_key, | - | ||||||||||||||||||||||||||||||
3462 | sizeof(ctx->ext.secure->tick_aes_key)); | - | ||||||||||||||||||||||||||||||
3463 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||
3464 | return executed 1210 times by 1 test: 1;return 1; Executed by:
executed 1210 times by 1 test: return 1; Executed by:
| 1210 | ||||||||||||||||||||||||||||||
3465 | } | - | ||||||||||||||||||||||||||||||
3466 | - | |||||||||||||||||||||||||||||||
3467 | case executed 2 times by 1 test: 127:case 127: Executed by:
executed 2 times by 1 test: case 127: Executed by:
| 2 | ||||||||||||||||||||||||||||||
3468 | return executed 2 times by 1 test: ctx->ext.status_type;return ctx->ext.status_type; Executed by:
executed 2 times by 1 test: return ctx->ext.status_type; Executed by:
| 2 | ||||||||||||||||||||||||||||||
3469 | - | |||||||||||||||||||||||||||||||
3470 | case executed 5 times by 1 test: 65:case 65: Executed by:
executed 5 times by 1 test: case 65: Executed by:
| 5 | ||||||||||||||||||||||||||||||
3471 | ctx->ext.status_type = larg; | - | ||||||||||||||||||||||||||||||
3472 | break; executed 5 times by 1 test: break; Executed by:
| 5 | ||||||||||||||||||||||||||||||
3473 | - | |||||||||||||||||||||||||||||||
3474 | case executed 23 times by 1 test: 64:case 64: Executed by:
executed 23 times by 1 test: case 64: Executed by:
| 23 | ||||||||||||||||||||||||||||||
3475 | ctx->ext.status_arg = parg; | - | ||||||||||||||||||||||||||||||
3476 | return executed 23 times by 1 test: 1;return 1; Executed by:
executed 23 times by 1 test: return 1; Executed by:
| 23 | ||||||||||||||||||||||||||||||
3477 | - | |||||||||||||||||||||||||||||||
3478 | case never executed: 129:case 129: never executed: case 129: | 0 | ||||||||||||||||||||||||||||||
3479 | *(void**)parg = ctx->ext.status_arg; | - | ||||||||||||||||||||||||||||||
3480 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3481 | - | |||||||||||||||||||||||||||||||
3482 | case never executed: 128:case 128: never executed: case 128: | 0 | ||||||||||||||||||||||||||||||
3483 | *(int (**)(SSL*, void*))parg = ctx->ext.status_cb; | - | ||||||||||||||||||||||||||||||
3484 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3485 | - | |||||||||||||||||||||||||||||||
3486 | - | |||||||||||||||||||||||||||||||
3487 | case executed 11 times by 1 test: 79:case 79: Executed by:
executed 11 times by 1 test: case 79: Executed by:
| 11 | ||||||||||||||||||||||||||||||
3488 | ctx->srp_ctx.srp_Mask |= 0x00000020U; | - | ||||||||||||||||||||||||||||||
3489 | CRYPTO_free(ctx->srp_ctx.login, __FILE__, 3864); | - | ||||||||||||||||||||||||||||||
3490 | ctx->srp_ctx.login = | - | ||||||||||||||||||||||||||||||
3491 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3492 | ; | - | ||||||||||||||||||||||||||||||
3493 | if (parg ==
| 0-11 | ||||||||||||||||||||||||||||||
3494 | ((void *)0)
| 0-11 | ||||||||||||||||||||||||||||||
3495 | ) | - | ||||||||||||||||||||||||||||||
3496 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3497 | if (strlen((const char *)parg) > 255
| 0-11 | ||||||||||||||||||||||||||||||
3498 | ERR_put_error(20,(133),(357),__FILE__,3869); | - | ||||||||||||||||||||||||||||||
3499 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3500 | } | - | ||||||||||||||||||||||||||||||
3501 | if ((
| 0-11 | ||||||||||||||||||||||||||||||
3502 | ((void *)0)
| 0-11 | ||||||||||||||||||||||||||||||
3503 | ) { | - | ||||||||||||||||||||||||||||||
3504 | ERR_put_error(20,(133),((4|64)),__FILE__,3873); | - | ||||||||||||||||||||||||||||||
3505 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3506 | } | - | ||||||||||||||||||||||||||||||
3507 | break; executed 11 times by 1 test: break; Executed by:
| 11 | ||||||||||||||||||||||||||||||
3508 | case executed 6 times by 1 test: 81:case 81: Executed by:
executed 6 times by 1 test: case 81: Executed by:
| 6 | ||||||||||||||||||||||||||||||
3509 | ctx->srp_ctx.SRP_give_srp_client_pwd_callback = | - | ||||||||||||||||||||||||||||||
3510 | srp_password_from_info_cb; | - | ||||||||||||||||||||||||||||||
3511 | if (ctx->srp_ctx.info !=
| 0-6 | ||||||||||||||||||||||||||||||
3512 | ((void *)0)
| 0-6 | ||||||||||||||||||||||||||||||
3513 | ) | - | ||||||||||||||||||||||||||||||
3514 | CRYPTO_free(ctx->srp_ctx.info, __FILE__, 3881); never executed: CRYPTO_free(ctx->srp_ctx.info, __FILE__, 3881); | 0 | ||||||||||||||||||||||||||||||
3515 | if ((
| 0-6 | ||||||||||||||||||||||||||||||
3516 | ((void *)0)
| 0-6 | ||||||||||||||||||||||||||||||
3517 | ) { | - | ||||||||||||||||||||||||||||||
3518 | ERR_put_error(20,(133),((4|64)),__FILE__,3883); | - | ||||||||||||||||||||||||||||||
3519 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3520 | } | - | ||||||||||||||||||||||||||||||
3521 | break; executed 6 times by 1 test: break; Executed by:
| 6 | ||||||||||||||||||||||||||||||
3522 | case executed 9 times by 1 test: 78:case 78: Executed by:
executed 9 times by 1 test: case 78: Executed by:
| 9 | ||||||||||||||||||||||||||||||
3523 | ctx->srp_ctx.srp_Mask |= 0x00000020U; | - | ||||||||||||||||||||||||||||||
3524 | ctx->srp_ctx.SRP_cb_arg = parg; | - | ||||||||||||||||||||||||||||||
3525 | break; executed 9 times by 1 test: break; Executed by:
| 9 | ||||||||||||||||||||||||||||||
3526 | - | |||||||||||||||||||||||||||||||
3527 | case executed 1 time by 1 test: 80:case 80: Executed by:
executed 1 time by 1 test: case 80: Executed by:
| 1 | ||||||||||||||||||||||||||||||
3528 | ctx->srp_ctx.strength = larg; | - | ||||||||||||||||||||||||||||||
3529 | break; executed 1 time by 1 test: break; Executed by:
| 1 | ||||||||||||||||||||||||||||||
3530 | - | |||||||||||||||||||||||||||||||
3531 | - | |||||||||||||||||||||||||||||||
3532 | - | |||||||||||||||||||||||||||||||
3533 | case never executed: 91:case 91: never executed: case 91: | 0 | ||||||||||||||||||||||||||||||
3534 | return never executed: tls1_set_groups(&ctx->ext.supportedgroups,return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg, larg); never executed: return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg, larg); | 0 | ||||||||||||||||||||||||||||||
3535 | &ctx->ext.supportedgroups_len, never executed: return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg, larg); | 0 | ||||||||||||||||||||||||||||||
3536 | parg, larg); never executed: return tls1_set_groups(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg, larg); | 0 | ||||||||||||||||||||||||||||||
3537 | - | |||||||||||||||||||||||||||||||
3538 | case executed 101 times by 1 test: 92:case 92: Executed by:
executed 101 times by 1 test: case 92: Executed by:
| 101 | ||||||||||||||||||||||||||||||
3539 | return executed 101 times by 1 test: tls1_set_groups_list(&ctx->ext.supportedgroups,return tls1_set_groups_list(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg); Executed by:
executed 101 times by 1 test: return tls1_set_groups_list(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg); Executed by:
| 101 | ||||||||||||||||||||||||||||||
3540 | &ctx->ext.supportedgroups_len, executed 101 times by 1 test: return tls1_set_groups_list(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg); Executed by:
| 101 | ||||||||||||||||||||||||||||||
3541 | parg); executed 101 times by 1 test: return tls1_set_groups_list(&ctx->ext.supportedgroups, &ctx->ext.supportedgroups_len, parg); Executed by:
| 101 | ||||||||||||||||||||||||||||||
3542 | - | |||||||||||||||||||||||||||||||
3543 | case executed 7 times by 1 test: 97:case 97: Executed by:
executed 7 times by 1 test: case 97: Executed by:
| 7 | ||||||||||||||||||||||||||||||
3544 | return executed 7 times by 1 test: tls1_set_sigalgs(ctx->cert, parg, larg, 0);return tls1_set_sigalgs(ctx->cert, parg, larg, 0); Executed by:
executed 7 times by 1 test: return tls1_set_sigalgs(ctx->cert, parg, larg, 0); Executed by:
| 7 | ||||||||||||||||||||||||||||||
3545 | - | |||||||||||||||||||||||||||||||
3546 | case executed 42 times by 1 test: 98:case 98: Executed by:
executed 42 times by 1 test: case 98: Executed by:
| 42 | ||||||||||||||||||||||||||||||
3547 | return executed 42 times by 1 test: tls1_set_sigalgs_list(ctx->cert, parg, 0);return tls1_set_sigalgs_list(ctx->cert, parg, 0); Executed by:
executed 42 times by 1 test: return tls1_set_sigalgs_list(ctx->cert, parg, 0); Executed by:
| 42 | ||||||||||||||||||||||||||||||
3548 | - | |||||||||||||||||||||||||||||||
3549 | case never executed: 101:case 101: never executed: case 101: | 0 | ||||||||||||||||||||||||||||||
3550 | return never executed: tls1_set_sigalgs(ctx->cert, parg, larg, 1);return tls1_set_sigalgs(ctx->cert, parg, larg, 1); never executed: return tls1_set_sigalgs(ctx->cert, parg, larg, 1); | 0 | ||||||||||||||||||||||||||||||
3551 | - | |||||||||||||||||||||||||||||||
3552 | case executed 11 times by 1 test: 102:case 102: Executed by:
executed 11 times by 1 test: case 102: Executed by:
| 11 | ||||||||||||||||||||||||||||||
3553 | return executed 11 times by 1 test: tls1_set_sigalgs_list(ctx->cert, parg, 1);return tls1_set_sigalgs_list(ctx->cert, parg, 1); Executed by:
executed 11 times by 1 test: return tls1_set_sigalgs_list(ctx->cert, parg, 1); Executed by:
| 11 | ||||||||||||||||||||||||||||||
3554 | - | |||||||||||||||||||||||||||||||
3555 | case never executed: 104:case 104: never executed: case 104: | 0 | ||||||||||||||||||||||||||||||
3556 | return never executed: ssl3_set_req_cert_type(ctx->cert, parg, larg);return ssl3_set_req_cert_type(ctx->cert, parg, larg); never executed: return ssl3_set_req_cert_type(ctx->cert, parg, larg); | 0 | ||||||||||||||||||||||||||||||
3557 | - | |||||||||||||||||||||||||||||||
3558 | case never executed: 105:case 105: never executed: case 105: | 0 | ||||||||||||||||||||||||||||||
3559 | return never executed: ssl_build_cert_chain(return ssl_build_cert_chain( ((void *)0) , ctx, larg); never executed: return ssl_build_cert_chain( ((void *)0) , ctx, larg); | 0 | ||||||||||||||||||||||||||||||
3560 | ((void *)0) never executed: return ssl_build_cert_chain( ((void *)0) , ctx, larg); | 0 | ||||||||||||||||||||||||||||||
3561 | , ctx, larg); never executed: return ssl_build_cert_chain( ((void *)0) , ctx, larg); | 0 | ||||||||||||||||||||||||||||||
3562 | - | |||||||||||||||||||||||||||||||
3563 | case never executed: 106:case 106: never executed: case 106: | 0 | ||||||||||||||||||||||||||||||
3564 | return never executed: ssl_cert_set_cert_store(ctx->cert, parg, 0, larg);return ssl_cert_set_cert_store(ctx->cert, parg, 0, larg); never executed: return ssl_cert_set_cert_store(ctx->cert, parg, 0, larg); | 0 | ||||||||||||||||||||||||||||||
3565 | - | |||||||||||||||||||||||||||||||
3566 | case never executed: 107:case 107: never executed: case 107: | 0 | ||||||||||||||||||||||||||||||
3567 | return never executed: ssl_cert_set_cert_store(ctx->cert, parg, 1, larg);return ssl_cert_set_cert_store(ctx->cert, parg, 1, larg); never executed: return ssl_cert_set_cert_store(ctx->cert, parg, 1, larg); | 0 | ||||||||||||||||||||||||||||||
3568 | - | |||||||||||||||||||||||||||||||
3569 | - | |||||||||||||||||||||||||||||||
3570 | case executed 120 times by 1 test: 14:case 14: Executed by:
executed 120 times by 1 test: case 14: Executed by:
| 120 | ||||||||||||||||||||||||||||||
3571 | if (ctx->extra_certs ==
| 3-117 | ||||||||||||||||||||||||||||||
3572 | ((void *)0)
| 3-117 | ||||||||||||||||||||||||||||||
3573 | ) { | - | ||||||||||||||||||||||||||||||
3574 | if ((
| 0-3 | ||||||||||||||||||||||||||||||
3575 | ((void *)0)
| 0-3 | ||||||||||||||||||||||||||||||
3576 | ) { | - | ||||||||||||||||||||||||||||||
3577 | ERR_put_error(20,(133),((1|64)),__FILE__,3936); | - | ||||||||||||||||||||||||||||||
3578 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3579 | } | - | ||||||||||||||||||||||||||||||
3580 | } executed 3 times by 1 test: end of block Executed by:
| 3 | ||||||||||||||||||||||||||||||
3581 | if (!sk_X509_push(ctx->extra_certs, (X509 *)parg)
| 0-120 | ||||||||||||||||||||||||||||||
3582 | ERR_put_error(20,(133),((1|64)),__FILE__,3941); | - | ||||||||||||||||||||||||||||||
3583 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3584 | } | - | ||||||||||||||||||||||||||||||
3585 | break; executed 120 times by 1 test: break; Executed by:
| 120 | ||||||||||||||||||||||||||||||
3586 | - | |||||||||||||||||||||||||||||||
3587 | case never executed: 82:case 82: never executed: case 82: | 0 | ||||||||||||||||||||||||||||||
3588 | if (ctx->extra_certs ==
| 0 | ||||||||||||||||||||||||||||||
3589 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
3590 | && larg == 0
| 0 | ||||||||||||||||||||||||||||||
3591 | *(struct never executed: stack_st_X509 **)parg = ctx->cert->key->chain;*(struct stack_st_X509 **)parg = ctx->cert->key->chain; never executed: *(struct stack_st_X509 **)parg = ctx->cert->key->chain; | 0 | ||||||||||||||||||||||||||||||
3592 | else | - | ||||||||||||||||||||||||||||||
3593 | *(struct never executed: stack_st_X509 **)parg = ctx->extra_certs;*(struct stack_st_X509 **)parg = ctx->extra_certs; never executed: *(struct stack_st_X509 **)parg = ctx->extra_certs; | 0 | ||||||||||||||||||||||||||||||
3594 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3595 | - | |||||||||||||||||||||||||||||||
3596 | case never executed: 83:case 83: never executed: case 83: | 0 | ||||||||||||||||||||||||||||||
3597 | sk_X509_pop_free(ctx->extra_certs, X509_free); | - | ||||||||||||||||||||||||||||||
3598 | ctx->extra_certs = | - | ||||||||||||||||||||||||||||||
3599 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3600 | ; | - | ||||||||||||||||||||||||||||||
3601 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3602 | - | |||||||||||||||||||||||||||||||
3603 | case executed 2111 times by 1 test: 88:case 88: Executed by:
executed 2111 times by 1 test: case 88: Executed by:
| 2111 | ||||||||||||||||||||||||||||||
3604 | if (larg
| 0-2111 | ||||||||||||||||||||||||||||||
3605 | return never executed: ssl_cert_set1_chain(return ssl_cert_set1_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); never executed: return ssl_cert_set1_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3606 | ((void *)0) never executed: return ssl_cert_set1_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3607 | , ctx, (struct stack_st_X509 *)parg); never executed: return ssl_cert_set1_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3608 | else | - | ||||||||||||||||||||||||||||||
3609 | return executed 2111 times by 1 test: ssl_cert_set0_chain(return ssl_cert_set0_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); Executed by:
executed 2111 times by 1 test: return ssl_cert_set0_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); Executed by:
| 2111 | ||||||||||||||||||||||||||||||
3610 | ((void *)0) executed 2111 times by 1 test: return ssl_cert_set0_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); Executed by:
| 2111 | ||||||||||||||||||||||||||||||
3611 | , ctx, (struct stack_st_X509 *)parg); executed 2111 times by 1 test: return ssl_cert_set0_chain( ((void *)0) , ctx, (struct stack_st_X509 *)parg); Executed by:
| 2111 | ||||||||||||||||||||||||||||||
3612 | - | |||||||||||||||||||||||||||||||
3613 | case executed 36 times by 1 test: 89:case 89: Executed by:
executed 36 times by 1 test: case 89: Executed by:
| 36 | ||||||||||||||||||||||||||||||
3614 | if (larg
| 0-36 | ||||||||||||||||||||||||||||||
3615 | return never executed: ssl_cert_add1_chain_cert(return ssl_cert_add1_chain_cert( ((void *)0) , ctx, (X509 *)parg); never executed: return ssl_cert_add1_chain_cert( ((void *)0) , ctx, (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3616 | ((void *)0) never executed: return ssl_cert_add1_chain_cert( ((void *)0) , ctx, (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3617 | , ctx, (X509 *)parg); never executed: return ssl_cert_add1_chain_cert( ((void *)0) , ctx, (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3618 | else | - | ||||||||||||||||||||||||||||||
3619 | return executed 36 times by 1 test: ssl_cert_add0_chain_cert(return ssl_cert_add0_chain_cert( ((void *)0) , ctx, (X509 *)parg); Executed by:
executed 36 times by 1 test: return ssl_cert_add0_chain_cert( ((void *)0) , ctx, (X509 *)parg); Executed by:
| 36 | ||||||||||||||||||||||||||||||
3620 | ((void *)0) executed 36 times by 1 test: return ssl_cert_add0_chain_cert( ((void *)0) , ctx, (X509 *)parg); Executed by:
| 36 | ||||||||||||||||||||||||||||||
3621 | , ctx, (X509 *)parg); executed 36 times by 1 test: return ssl_cert_add0_chain_cert( ((void *)0) , ctx, (X509 *)parg); Executed by:
| 36 | ||||||||||||||||||||||||||||||
3622 | - | |||||||||||||||||||||||||||||||
3623 | case never executed: 115:case 115: never executed: case 115: | 0 | ||||||||||||||||||||||||||||||
3624 | *(struct stack_st_X509 **)parg = ctx->cert->key->chain; | - | ||||||||||||||||||||||||||||||
3625 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3626 | - | |||||||||||||||||||||||||||||||
3627 | case never executed: 116:case 116: never executed: case 116: | 0 | ||||||||||||||||||||||||||||||
3628 | return never executed: ssl_cert_select_current(ctx->cert, (X509 *)parg);return ssl_cert_select_current(ctx->cert, (X509 *)parg); never executed: return ssl_cert_select_current(ctx->cert, (X509 *)parg); | 0 | ||||||||||||||||||||||||||||||
3629 | - | |||||||||||||||||||||||||||||||
3630 | case never executed: 117:case 117: never executed: case 117: | 0 | ||||||||||||||||||||||||||||||
3631 | return never executed: ssl_cert_set_current(ctx->cert, larg);return ssl_cert_set_current(ctx->cert, larg); never executed: return ssl_cert_set_current(ctx->cert, larg); | 0 | ||||||||||||||||||||||||||||||
3632 | - | |||||||||||||||||||||||||||||||
3633 | default never executed: :default: never executed: default: | 0 | ||||||||||||||||||||||||||||||
3634 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3635 | } | - | ||||||||||||||||||||||||||||||
3636 | return executed 380 times by 1 test: 1;return 1; Executed by:
executed 380 times by 1 test: return 1; Executed by:
| 380 | ||||||||||||||||||||||||||||||
3637 | } | - | ||||||||||||||||||||||||||||||
3638 | - | |||||||||||||||||||||||||||||||
3639 | long ssl3_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp) (void)) | - | ||||||||||||||||||||||||||||||
3640 | { | - | ||||||||||||||||||||||||||||||
3641 | switch (cmd) { | - | ||||||||||||||||||||||||||||||
3642 | - | |||||||||||||||||||||||||||||||
3643 | case never executed: 6:case 6: never executed: case 6: | 0 | ||||||||||||||||||||||||||||||
3644 | { | - | ||||||||||||||||||||||||||||||
3645 | ctx->cert->dh_tmp_cb = (DH *(*)(SSL *, int, int))fp; | - | ||||||||||||||||||||||||||||||
3646 | } | - | ||||||||||||||||||||||||||||||
3647 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3648 | - | |||||||||||||||||||||||||||||||
3649 | case executed 230 times by 1 test: 53:case 53: Executed by:
executed 230 times by 1 test: case 53: Executed by:
| 230 | ||||||||||||||||||||||||||||||
3650 | ctx->ext.servername_cb = (int (*)(SSL *, int *, void *))fp; | - | ||||||||||||||||||||||||||||||
3651 | break; executed 230 times by 1 test: break; Executed by:
| 230 | ||||||||||||||||||||||||||||||
3652 | - | |||||||||||||||||||||||||||||||
3653 | case executed 23 times by 1 test: 63:case 63: Executed by:
executed 23 times by 1 test: case 63: Executed by:
| 23 | ||||||||||||||||||||||||||||||
3654 | ctx->ext.status_cb = (int (*)(SSL *, void *))fp; | - | ||||||||||||||||||||||||||||||
3655 | break; executed 23 times by 1 test: break; Executed by:
| 23 | ||||||||||||||||||||||||||||||
3656 | - | |||||||||||||||||||||||||||||||
3657 | case executed 38 times by 1 test: 72:case 72: Executed by:
executed 38 times by 1 test: case 72: Executed by:
| 38 | ||||||||||||||||||||||||||||||
3658 | ctx->ext.ticket_key_cb = (int (*)(SSL *, unsigned char *, | - | ||||||||||||||||||||||||||||||
3659 | unsigned char *, | - | ||||||||||||||||||||||||||||||
3660 | EVP_CIPHER_CTX *, | - | ||||||||||||||||||||||||||||||
3661 | HMAC_CTX *, int))fp; | - | ||||||||||||||||||||||||||||||
3662 | break; executed 38 times by 1 test: break; Executed by:
| 38 | ||||||||||||||||||||||||||||||
3663 | - | |||||||||||||||||||||||||||||||
3664 | - | |||||||||||||||||||||||||||||||
3665 | case executed 1 time by 1 test: 76:case 76: Executed by:
executed 1 time by 1 test: case 76: Executed by:
| 1 | ||||||||||||||||||||||||||||||
3666 | ctx->srp_ctx.srp_Mask |= 0x00000020U; | - | ||||||||||||||||||||||||||||||
3667 | ctx->srp_ctx.SRP_verify_param_callback = (int (*)(SSL *, void *))fp; | - | ||||||||||||||||||||||||||||||
3668 | break; executed 1 time by 1 test: break; Executed by:
| 1 | ||||||||||||||||||||||||||||||
3669 | case executed 10 times by 1 test: 75:case 75: Executed by:
executed 10 times by 1 test: case 75: Executed by:
| 10 | ||||||||||||||||||||||||||||||
3670 | ctx->srp_ctx.srp_Mask |= 0x00000020U; | - | ||||||||||||||||||||||||||||||
3671 | ctx->srp_ctx.TLS_ext_srp_username_callback = | - | ||||||||||||||||||||||||||||||
3672 | (int (*)(SSL *, int *, void *))fp; | - | ||||||||||||||||||||||||||||||
3673 | break; executed 10 times by 1 test: break; Executed by:
| 10 | ||||||||||||||||||||||||||||||
3674 | case executed 5 times by 1 test: 77:case 77: Executed by:
executed 5 times by 1 test: case 77: Executed by:
| 5 | ||||||||||||||||||||||||||||||
3675 | ctx->srp_ctx.srp_Mask |= 0x00000020U; | - | ||||||||||||||||||||||||||||||
3676 | ctx->srp_ctx.SRP_give_srp_client_pwd_callback = | - | ||||||||||||||||||||||||||||||
3677 | (char *(*)(SSL *, void *))fp; | - | ||||||||||||||||||||||||||||||
3678 | break; executed 5 times by 1 test: break; Executed by:
| 5 | ||||||||||||||||||||||||||||||
3679 | - | |||||||||||||||||||||||||||||||
3680 | case never executed: 79:case 79: never executed: case 79: | 0 | ||||||||||||||||||||||||||||||
3681 | { | - | ||||||||||||||||||||||||||||||
3682 | ctx->not_resumable_session_cb = (int (*)(SSL *, int))fp; | - | ||||||||||||||||||||||||||||||
3683 | } | - | ||||||||||||||||||||||||||||||
3684 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3685 | default never executed: :default: never executed: default: | 0 | ||||||||||||||||||||||||||||||
3686 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3687 | } | - | ||||||||||||||||||||||||||||||
3688 | return executed 307 times by 1 test: 1;return 1; Executed by:
executed 307 times by 1 test: return 1; Executed by:
| 307 | ||||||||||||||||||||||||||||||
3689 | } | - | ||||||||||||||||||||||||||||||
3690 | - | |||||||||||||||||||||||||||||||
3691 | const SSL_CIPHER *ssl3_get_cipher_by_id(uint32_t id) | - | ||||||||||||||||||||||||||||||
3692 | { | - | ||||||||||||||||||||||||||||||
3693 | SSL_CIPHER c; | - | ||||||||||||||||||||||||||||||
3694 | const SSL_CIPHER *cp; | - | ||||||||||||||||||||||||||||||
3695 | - | |||||||||||||||||||||||||||||||
3696 | c.id = id; | - | ||||||||||||||||||||||||||||||
3697 | cp = OBJ_bsearch_ssl_cipher_id(&c, tls13_ciphers, (sizeof(tls13_ciphers)/sizeof((tls13_ciphers)[0]))); | - | ||||||||||||||||||||||||||||||
3698 | if (cp !=
| 5453-79835 | ||||||||||||||||||||||||||||||
3699 | ((void *)0)
| 5453-79835 | ||||||||||||||||||||||||||||||
3700 | ) | - | ||||||||||||||||||||||||||||||
3701 | return executed 5453 times by 2 tests: cp;return cp; Executed by:
executed 5453 times by 2 tests: return cp; Executed by:
| 5453 | ||||||||||||||||||||||||||||||
3702 | cp = OBJ_bsearch_ssl_cipher_id(&c, ssl3_ciphers, (sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0]))); | - | ||||||||||||||||||||||||||||||
3703 | if (cp !=
| 19983-59852 | ||||||||||||||||||||||||||||||
3704 | ((void *)0)
| 19983-59852 | ||||||||||||||||||||||||||||||
3705 | ) | - | ||||||||||||||||||||||||||||||
3706 | return executed 59852 times by 1 test: cp;return cp; Executed by:
executed 59852 times by 1 test: return cp; Executed by:
| 59852 | ||||||||||||||||||||||||||||||
3707 | return executed 19983 times by 1 test: OBJ_bsearch_ssl_cipher_id(&c, ssl3_scsvs, (sizeof(ssl3_scsvs)/sizeof((ssl3_scsvs)[0])));return OBJ_bsearch_ssl_cipher_id(&c, ssl3_scsvs, (sizeof(ssl3_scsvs)/sizeof((ssl3_scsvs)[0]))); Executed by:
executed 19983 times by 1 test: return OBJ_bsearch_ssl_cipher_id(&c, ssl3_scsvs, (sizeof(ssl3_scsvs)/sizeof((ssl3_scsvs)[0]))); Executed by:
| 19983 | ||||||||||||||||||||||||||||||
3708 | } | - | ||||||||||||||||||||||||||||||
3709 | - | |||||||||||||||||||||||||||||||
3710 | const SSL_CIPHER *ssl3_get_cipher_by_std_name(const char *stdname) | - | ||||||||||||||||||||||||||||||
3711 | { | - | ||||||||||||||||||||||||||||||
3712 | SSL_CIPHER *c = | - | ||||||||||||||||||||||||||||||
3713 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3714 | , *tbl; | - | ||||||||||||||||||||||||||||||
3715 | SSL_CIPHER *alltabs[] = {tls13_ciphers, ssl3_ciphers}; | - | ||||||||||||||||||||||||||||||
3716 | size_t i, j, tblsize[] = {(sizeof(tls13_ciphers)/sizeof((tls13_ciphers)[0])), (sizeof(ssl3_ciphers)/sizeof((ssl3_ciphers)[0]))}; | - | ||||||||||||||||||||||||||||||
3717 | - | |||||||||||||||||||||||||||||||
3718 | - | |||||||||||||||||||||||||||||||
3719 | for (j = 0; j < (sizeof(alltabs)/sizeof((alltabs)[0]))
| 24457-48914 | ||||||||||||||||||||||||||||||
3720 | for (i = 0, tbl = alltabs[j]; i < tblsize[j]
| 24458-4047076 | ||||||||||||||||||||||||||||||
3721 | if (tbl->stdname ==
| 48594-3998482 | ||||||||||||||||||||||||||||||
3722 | ((void *)0)
| 48594-3998482 | ||||||||||||||||||||||||||||||
3723 | ) | - | ||||||||||||||||||||||||||||||
3724 | continue; executed 48594 times by 2 tests: continue; Executed by:
| 48594 | ||||||||||||||||||||||||||||||
3725 | if ( | - | ||||||||||||||||||||||||||||||
3726 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3727 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3728 | ) && __builtin_constant_p (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3729 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3730 | ) && (__s1_len = __builtin_strlen (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3731 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3732 | ), __s2_len = __builtin_strlen (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3733 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3734 | ), (!((size_t)(const void *)((
| 24456-3974026 | ||||||||||||||||||||||||||||||
3735 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3736 | ) + 1) - (size_t)(const void *)(
| 24456-3974026 | ||||||||||||||||||||||||||||||
3737 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3738 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 24456-3974026 | ||||||||||||||||||||||||||||||
3739 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3740 | ) + 1) - (size_t)(const void *)(
| 24456-3974026 | ||||||||||||||||||||||||||||||
3741 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3742 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3743 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3744 | ,
| 24456-3974026 | ||||||||||||||||||||||||||||||
3745 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3746 | ) : (__builtin_constant_p (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3747 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3748 | ) && ((size_t)(const void *)((
| 24456-3974026 | ||||||||||||||||||||||||||||||
3749 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3750 | ) + 1) - (size_t)(const void *)(
| 24456-3974026 | ||||||||||||||||||||||||||||||
3751 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3752 | ) == 1) && (__s1_len = __builtin_strlen (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3753 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3754 | ), __s1_len < 4) ? (__builtin_constant_p (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3755 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3756 | ) && ((size_t)(const void *)((
| 24456-3974026 | ||||||||||||||||||||||||||||||
3757 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3758 | ) + 1) - (size_t)(const void *)(
| 24456-3974026 | ||||||||||||||||||||||||||||||
3759 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3760 | ) == 1) ? __builtin_strcmp (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3761 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3762 | ,
| 24456-3974026 | ||||||||||||||||||||||||||||||
3763 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3764 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3765 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3766 | ); int __result = (((const unsigned char *) (const char *) (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3767 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3768 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-3974026 | ||||||||||||||||||||||||||||||
3769 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3770 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-3974026 | ||||||||||||||||||||||||||||||
3771 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3772 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( stdname ))[3] - __s2[3]);
| 0-3974026 | ||||||||||||||||||||||||||||||
3773 | stdname
never executed: __result = (((const unsigned char *) (const char *) ( stdname ))[3] - __s2[3]); | 0-3974026 | ||||||||||||||||||||||||||||||
3774 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( stdname ))[3] - __s2[3]); never executed: }end of block never executed: __result; }))) : (__builtin_constant_p (end of block
| 0-3974026 | ||||||||||||||||||||||||||||||
3775 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3776 | ) && ((size_t)(const void *)((
| 24456-3974026 | ||||||||||||||||||||||||||||||
3777 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3778 | ) + 1) - (size_t)(const void *)(
| 24456-3974026 | ||||||||||||||||||||||||||||||
3779 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3780 | ) == 1) && (__s2_len = __builtin_strlen (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3781 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3782 | ), __s2_len < 4) ? (__builtin_constant_p (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3783 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3784 | ) && ((size_t)(const void *)((
| 24456-3974026 | ||||||||||||||||||||||||||||||
3785 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3786 | ) + 1) - (size_t)(const void *)(
| 24456-3974026 | ||||||||||||||||||||||||||||||
3787 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3788 | ) == 1) ? __builtin_strcmp (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3789 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3790 | ,
| 24456-3974026 | ||||||||||||||||||||||||||||||
3791 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3792 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3793 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3794 | ); int __result = (((const unsigned char *) (const char *) (
| 24456-3974026 | ||||||||||||||||||||||||||||||
3795 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3796 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-3974026 | ||||||||||||||||||||||||||||||
3797 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3798 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-3974026 | ||||||||||||||||||||||||||||||
3799 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3800 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( tbl->stdname ))[3] - __s2[3]);
| 0-3974026 | ||||||||||||||||||||||||||||||
3801 | tbl->stdname
never executed: __result = (((const unsigned char *) (const char *) ( tbl->stdname ))[3] - __s2[3]); | 0-3974026 | ||||||||||||||||||||||||||||||
3802 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( tbl->stdname ))[3] - __s2[3]); never executed: }end of block never executed: __result; }))) : __builtin_strcmp (end of block
| 0-3974026 | ||||||||||||||||||||||||||||||
3803 | stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3804 | ,
| 24456-3974026 | ||||||||||||||||||||||||||||||
3805 | tbl->stdname
| 24456-3974026 | ||||||||||||||||||||||||||||||
3806 | )))); })
| 24456-3974026 | ||||||||||||||||||||||||||||||
3807 | == 0
| 24456-3974026 | ||||||||||||||||||||||||||||||
3808 | c = tbl; | - | ||||||||||||||||||||||||||||||
3809 | break; executed 24456 times by 2 tests: break; Executed by:
| 24456 | ||||||||||||||||||||||||||||||
3810 | } | - | ||||||||||||||||||||||||||||||
3811 | } executed 3974026 times by 2 tests: end of block Executed by:
| 3974026 | ||||||||||||||||||||||||||||||
3812 | } executed 48914 times by 2 tests: end of block Executed by:
| 48914 | ||||||||||||||||||||||||||||||
3813 | if (c ==
| 1-24456 | ||||||||||||||||||||||||||||||
3814 | ((void *)0)
| 1-24456 | ||||||||||||||||||||||||||||||
3815 | ) { | - | ||||||||||||||||||||||||||||||
3816 | tbl = ssl3_scsvs; | - | ||||||||||||||||||||||||||||||
3817 | for (i = 0; i < (sizeof(ssl3_scsvs)/sizeof((ssl3_scsvs)[0]))
| 1-2 | ||||||||||||||||||||||||||||||
3818 | if ( | - | ||||||||||||||||||||||||||||||
3819 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 0-2 | ||||||||||||||||||||||||||||||
3820 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3821 | ) && __builtin_constant_p (
| 0-2 | ||||||||||||||||||||||||||||||
3822 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3823 | ) && (__s1_len = __builtin_strlen (
| 0-2 | ||||||||||||||||||||||||||||||
3824 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3825 | ), __s2_len = __builtin_strlen (
| 0-2 | ||||||||||||||||||||||||||||||
3826 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3827 | ), (!((size_t)(const void *)((
| 0-2 | ||||||||||||||||||||||||||||||
3828 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3829 | ) + 1) - (size_t)(const void *)(
| 0-2 | ||||||||||||||||||||||||||||||
3830 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3831 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 0-2 | ||||||||||||||||||||||||||||||
3832 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3833 | ) + 1) - (size_t)(const void *)(
| 0-2 | ||||||||||||||||||||||||||||||
3834 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3835 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 0-2 | ||||||||||||||||||||||||||||||
3836 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3837 | ,
| 0-2 | ||||||||||||||||||||||||||||||
3838 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3839 | ) : (__builtin_constant_p (
| 0-2 | ||||||||||||||||||||||||||||||
3840 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3841 | ) && ((size_t)(const void *)((
| 0-2 | ||||||||||||||||||||||||||||||
3842 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3843 | ) + 1) - (size_t)(const void *)(
| 0-2 | ||||||||||||||||||||||||||||||
3844 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3845 | ) == 1) && (__s1_len = __builtin_strlen (
| 0-2 | ||||||||||||||||||||||||||||||
3846 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3847 | ), __s1_len < 4) ? (__builtin_constant_p (
| 0-2 | ||||||||||||||||||||||||||||||
3848 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3849 | ) && ((size_t)(const void *)((
| 0-2 | ||||||||||||||||||||||||||||||
3850 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3851 | ) + 1) - (size_t)(const void *)(
| 0-2 | ||||||||||||||||||||||||||||||
3852 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3853 | ) == 1) ? __builtin_strcmp (
| 0-2 | ||||||||||||||||||||||||||||||
3854 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3855 | ,
| 0-2 | ||||||||||||||||||||||||||||||
3856 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3857 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-2 | ||||||||||||||||||||||||||||||
3858 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3859 | ); int __result = (((const unsigned char *) (const char *) (
| 0-2 | ||||||||||||||||||||||||||||||
3860 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3861 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-2 | ||||||||||||||||||||||||||||||
3862 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3863 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-2 | ||||||||||||||||||||||||||||||
3864 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3865 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( stdname ))[3] - __s2[3]);
| 0-2 | ||||||||||||||||||||||||||||||
3866 | stdname
never executed: __result = (((const unsigned char *) (const char *) ( stdname ))[3] - __s2[3]); | 0-2 | ||||||||||||||||||||||||||||||
3867 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( stdname ))[3] - __s2[3]); never executed: }end of block never executed: __result; }))) : (__builtin_constant_p (end of block
| 0-2 | ||||||||||||||||||||||||||||||
3868 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3869 | ) && ((size_t)(const void *)((
| 0-2 | ||||||||||||||||||||||||||||||
3870 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3871 | ) + 1) - (size_t)(const void *)(
| 0-2 | ||||||||||||||||||||||||||||||
3872 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3873 | ) == 1) && (__s2_len = __builtin_strlen (
| 0-2 | ||||||||||||||||||||||||||||||
3874 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3875 | ), __s2_len < 4) ? (__builtin_constant_p (
| 0-2 | ||||||||||||||||||||||||||||||
3876 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3877 | ) && ((size_t)(const void *)((
| 0-2 | ||||||||||||||||||||||||||||||
3878 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3879 | ) + 1) - (size_t)(const void *)(
| 0-2 | ||||||||||||||||||||||||||||||
3880 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3881 | ) == 1) ? __builtin_strcmp (
| 0-2 | ||||||||||||||||||||||||||||||
3882 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3883 | ,
| 0-2 | ||||||||||||||||||||||||||||||
3884 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3885 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-2 | ||||||||||||||||||||||||||||||
3886 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3887 | ); int __result = (((const unsigned char *) (const char *) (
| 0-2 | ||||||||||||||||||||||||||||||
3888 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3889 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-2 | ||||||||||||||||||||||||||||||
3890 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3891 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-2 | ||||||||||||||||||||||||||||||
3892 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3893 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( tbl->stdname ))[3] - __s2[3]);
| 0-2 | ||||||||||||||||||||||||||||||
3894 | tbl->stdname
never executed: __result = (((const unsigned char *) (const char *) ( tbl->stdname ))[3] - __s2[3]); | 0-2 | ||||||||||||||||||||||||||||||
3895 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( tbl->stdname ))[3] - __s2[3]); never executed: }end of block never executed: __result; }))) : __builtin_strcmp (end of block
| 0-2 | ||||||||||||||||||||||||||||||
3896 | stdname
| 0-2 | ||||||||||||||||||||||||||||||
3897 | ,
| 0-2 | ||||||||||||||||||||||||||||||
3898 | tbl->stdname
| 0-2 | ||||||||||||||||||||||||||||||
3899 | )))); })
| 0-2 | ||||||||||||||||||||||||||||||
3900 | == 0
| 0-2 | ||||||||||||||||||||||||||||||
3901 | c = tbl; | - | ||||||||||||||||||||||||||||||
3902 | break; never executed: break; | 0 | ||||||||||||||||||||||||||||||
3903 | } | - | ||||||||||||||||||||||||||||||
3904 | } executed 2 times by 1 test: end of block Executed by:
| 2 | ||||||||||||||||||||||||||||||
3905 | } executed 1 time by 1 test: end of block Executed by:
| 1 | ||||||||||||||||||||||||||||||
3906 | return executed 24457 times by 2 tests: c;return c; Executed by:
executed 24457 times by 2 tests: return c; Executed by:
| 24457 | ||||||||||||||||||||||||||||||
3907 | } | - | ||||||||||||||||||||||||||||||
3908 | - | |||||||||||||||||||||||||||||||
3909 | - | |||||||||||||||||||||||||||||||
3910 | - | |||||||||||||||||||||||||||||||
3911 | - | |||||||||||||||||||||||||||||||
3912 | - | |||||||||||||||||||||||||||||||
3913 | const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p) | - | ||||||||||||||||||||||||||||||
3914 | { | - | ||||||||||||||||||||||||||||||
3915 | return executed 83277 times by 2 tests: ssl3_get_cipher_by_id(0x03000000return ssl3_get_cipher_by_id(0x03000000 | ((uint32_t)p[0] << 8L) | (uint32_t)p[1]); Executed by:
executed 83277 times by 2 tests: return ssl3_get_cipher_by_id(0x03000000 | ((uint32_t)p[0] << 8L) | (uint32_t)p[1]); Executed by:
| 83277 | ||||||||||||||||||||||||||||||
3916 | | ((uint32_t)p[0] << 8L) executed 83277 times by 2 tests: return ssl3_get_cipher_by_id(0x03000000 | ((uint32_t)p[0] << 8L) | (uint32_t)p[1]); Executed by:
| 83277 | ||||||||||||||||||||||||||||||
3917 | | (uint32_t)p[1]); executed 83277 times by 2 tests: return ssl3_get_cipher_by_id(0x03000000 | ((uint32_t)p[0] << 8L) | (uint32_t)p[1]); Executed by:
| 83277 | ||||||||||||||||||||||||||||||
3918 | } | - | ||||||||||||||||||||||||||||||
3919 | - | |||||||||||||||||||||||||||||||
3920 | int ssl3_put_cipher_by_char(const SSL_CIPHER *c, WPACKET *pkt, size_t *len) | - | ||||||||||||||||||||||||||||||
3921 | { | - | ||||||||||||||||||||||||||||||
3922 | if ((
| 0-336483 | ||||||||||||||||||||||||||||||
3923 | *len = 0; | - | ||||||||||||||||||||||||||||||
3924 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||||||||||||||||||||
3925 | } | - | ||||||||||||||||||||||||||||||
3926 | - | |||||||||||||||||||||||||||||||
3927 | if (!WPACKET_put_bytes__((pkt), (c->id & 0xffff), 2)
| 0-336483 | ||||||||||||||||||||||||||||||
3928 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
3929 | - | |||||||||||||||||||||||||||||||
3930 | *len = 2; | - | ||||||||||||||||||||||||||||||
3931 | return executed 336483 times by 1 test: 1;return 1; Executed by:
executed 336483 times by 1 test: return 1; Executed by:
| 336483 | ||||||||||||||||||||||||||||||
3932 | } | - | ||||||||||||||||||||||||||||||
3933 | const SSL_CIPHER *ssl3_choose_cipher(SSL *s, struct stack_st_SSL_CIPHER *clnt, | - | ||||||||||||||||||||||||||||||
3934 | struct stack_st_SSL_CIPHER *srvr) | - | ||||||||||||||||||||||||||||||
3935 | { | - | ||||||||||||||||||||||||||||||
3936 | const SSL_CIPHER *c, *ret = | - | ||||||||||||||||||||||||||||||
3937 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3938 | ; | - | ||||||||||||||||||||||||||||||
3939 | struct stack_st_SSL_CIPHER *prio, *allow; | - | ||||||||||||||||||||||||||||||
3940 | int i, ii, ok, prefer_sha256 = 0; | - | ||||||||||||||||||||||||||||||
3941 | unsigned long alg_k = 0, alg_a = 0, mask_k = 0, mask_a = 0; | - | ||||||||||||||||||||||||||||||
3942 | const EVP_MD *mdsha256 = EVP_sha256(); | - | ||||||||||||||||||||||||||||||
3943 | - | |||||||||||||||||||||||||||||||
3944 | struct stack_st_SSL_CIPHER *prio_chacha = | - | ||||||||||||||||||||||||||||||
3945 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3946 | ; | - | ||||||||||||||||||||||||||||||
3947 | if ((
| 2-2760 | ||||||||||||||||||||||||||||||
3948 | prio = srvr; | - | ||||||||||||||||||||||||||||||
3949 | allow = clnt; | - | ||||||||||||||||||||||||||||||
3950 | } executed 2 times by 1 test: else if (s->options & 0x00400000Uend of block Executed by:
| 2-2754 | ||||||||||||||||||||||||||||||
3951 | prio = srvr; | - | ||||||||||||||||||||||||||||||
3952 | allow = clnt; | - | ||||||||||||||||||||||||||||||
3953 | - | |||||||||||||||||||||||||||||||
3954 | - | |||||||||||||||||||||||||||||||
3955 | - | |||||||||||||||||||||||||||||||
3956 | - | |||||||||||||||||||||||||||||||
3957 | if (s->options & 0x00200000U
| 0-4 | ||||||||||||||||||||||||||||||
3958 | c = sk_SSL_CIPHER_value(clnt, 0); | - | ||||||||||||||||||||||||||||||
3959 | if (c->algorithm_enc == 0x00080000U
| 1 | ||||||||||||||||||||||||||||||
3960 | - | |||||||||||||||||||||||||||||||
3961 | int num = sk_SSL_CIPHER_num(srvr); | - | ||||||||||||||||||||||||||||||
3962 | int found = 0; | - | ||||||||||||||||||||||||||||||
3963 | for (i = 0; i < num
| 0-2 | ||||||||||||||||||||||||||||||
3964 | c = sk_SSL_CIPHER_value(srvr, i); | - | ||||||||||||||||||||||||||||||
3965 | if (c->algorithm_enc == 0x00080000U
| 1 | ||||||||||||||||||||||||||||||
3966 | found = 1; | - | ||||||||||||||||||||||||||||||
3967 | break; executed 1 time by 1 test: break; Executed by:
| 1 | ||||||||||||||||||||||||||||||
3968 | } | - | ||||||||||||||||||||||||||||||
3969 | } executed 1 time by 1 test: end of block Executed by:
| 1 | ||||||||||||||||||||||||||||||
3970 | if (found
| 0-1 | ||||||||||||||||||||||||||||||
3971 | prio_chacha = sk_SSL_CIPHER_new_reserve( | - | ||||||||||||||||||||||||||||||
3972 | ((void *)0) | - | ||||||||||||||||||||||||||||||
3973 | , num); | - | ||||||||||||||||||||||||||||||
3974 | - | |||||||||||||||||||||||||||||||
3975 | if (prio_chacha !=
| 0-1 | ||||||||||||||||||||||||||||||
3976 | ((void *)0)
| 0-1 | ||||||||||||||||||||||||||||||
3977 | ) { | - | ||||||||||||||||||||||||||||||
3978 | - | |||||||||||||||||||||||||||||||
3979 | sk_SSL_CIPHER_push(prio_chacha, c); | - | ||||||||||||||||||||||||||||||
3980 | for (i++; i < num
| 1-4 | ||||||||||||||||||||||||||||||
3981 | c = sk_SSL_CIPHER_value(srvr, i); | - | ||||||||||||||||||||||||||||||
3982 | if (c->algorithm_enc == 0x00080000U
| 1-3 | ||||||||||||||||||||||||||||||
3983 | sk_SSL_CIPHER_push(prio_chacha, c); executed 1 time by 1 test: sk_SSL_CIPHER_push(prio_chacha, c); Executed by:
| 1 | ||||||||||||||||||||||||||||||
3984 | } executed 4 times by 1 test: end of block Executed by:
| 4 | ||||||||||||||||||||||||||||||
3985 | - | |||||||||||||||||||||||||||||||
3986 | for (i = 0; i < num
| 1-6 | ||||||||||||||||||||||||||||||
3987 | c = sk_SSL_CIPHER_value(srvr, i); | - | ||||||||||||||||||||||||||||||
3988 | if (c->algorithm_enc != 0x00080000U
| 2-4 | ||||||||||||||||||||||||||||||
3989 | sk_SSL_CIPHER_push(prio_chacha, c); executed 4 times by 1 test: sk_SSL_CIPHER_push(prio_chacha, c); Executed by:
| 4 | ||||||||||||||||||||||||||||||
3990 | } executed 6 times by 1 test: end of block Executed by:
| 6 | ||||||||||||||||||||||||||||||
3991 | prio = prio_chacha; | - | ||||||||||||||||||||||||||||||
3992 | } executed 1 time by 1 test: end of block Executed by:
| 1 | ||||||||||||||||||||||||||||||
3993 | } executed 1 time by 1 test: end of block Executed by:
| 1 | ||||||||||||||||||||||||||||||
3994 | } executed 1 time by 1 test: end of block Executed by:
| 1 | ||||||||||||||||||||||||||||||
3995 | } executed 2 times by 1 test: end of block Executed by:
| 2 | ||||||||||||||||||||||||||||||
3996 | - | |||||||||||||||||||||||||||||||
3997 | } executed 6 times by 1 test: else {end of block Executed by:
| 6 | ||||||||||||||||||||||||||||||
3998 | prio = clnt; | - | ||||||||||||||||||||||||||||||
3999 | allow = srvr; | - | ||||||||||||||||||||||||||||||
4000 | } executed 2754 times by 1 test: end of block Executed by:
| 2754 | ||||||||||||||||||||||||||||||
4001 | - | |||||||||||||||||||||||||||||||
4002 | if ((!(s->method->ssl3_enc->enc_flags & 0x8)
| 0-2592 | ||||||||||||||||||||||||||||||
4003 | - | |||||||||||||||||||||||||||||||
4004 | int j; | - | ||||||||||||||||||||||||||||||
4005 | if (s->psk_server_callback !=
| 13-1127 | ||||||||||||||||||||||||||||||
4006 | ((void *)0)
| 13-1127 | ||||||||||||||||||||||||||||||
4007 | ) { | - | ||||||||||||||||||||||||||||||
4008 | for (j = 0; j < 9
executed 27 times by 1 test: ; Executed by:
| 3-37 | ||||||||||||||||||||||||||||||
4009 | if (j == 9
| 3-10 | ||||||||||||||||||||||||||||||
4010 | - | |||||||||||||||||||||||||||||||
4011 | prefer_sha256 = 1; | - | ||||||||||||||||||||||||||||||
4012 | } executed 3 times by 1 test: end of block Executed by:
| 3 | ||||||||||||||||||||||||||||||
4013 | } executed 13 times by 1 test: end of block Executed by:
| 13 | ||||||||||||||||||||||||||||||
4014 | - | |||||||||||||||||||||||||||||||
4015 | } executed 1140 times by 1 test: else {end of block Executed by:
| 1140 | ||||||||||||||||||||||||||||||
4016 | tls1_set_cert_validity(s); | - | ||||||||||||||||||||||||||||||
4017 | ssl_set_masks(s); | - | ||||||||||||||||||||||||||||||
4018 | } executed 1622 times by 1 test: end of block Executed by:
| 1622 | ||||||||||||||||||||||||||||||
4019 | - | |||||||||||||||||||||||||||||||
4020 | for (i = 0; i < sk_SSL_CIPHER_num(prio)
| 131-19107 | ||||||||||||||||||||||||||||||
4021 | c = sk_SSL_CIPHER_value(prio, i); | - | ||||||||||||||||||||||||||||||
4022 | - | |||||||||||||||||||||||||||||||
4023 | - | |||||||||||||||||||||||||||||||
4024 | if (!(s->method->ssl3_enc->enc_flags & 0x8)
| 573-18534 | ||||||||||||||||||||||||||||||
4025 | ((
| 2953-15581 | ||||||||||||||||||||||||||||||
4026 | continue; executed 6874 times by 1 test: continue; Executed by:
| 6874 | ||||||||||||||||||||||||||||||
4027 | if ((
| 573-11660 | ||||||||||||||||||||||||||||||
4028 | (((((
| 0-573 | ||||||||||||||||||||||||||||||
4029 | ((((
| 0-303 | ||||||||||||||||||||||||||||||
4030 | continue; executed 270 times by 1 test: continue; Executed by:
| 270 | ||||||||||||||||||||||||||||||
4031 | - | |||||||||||||||||||||||||||||||
4032 | - | |||||||||||||||||||||||||||||||
4033 | - | |||||||||||||||||||||||||||||||
4034 | - | |||||||||||||||||||||||||||||||
4035 | - | |||||||||||||||||||||||||||||||
4036 | if (!(!(s->method->ssl3_enc->enc_flags & 0x8)
| 0-11660 | ||||||||||||||||||||||||||||||
4037 | mask_k = s->s3->tmp.mask_k; | - | ||||||||||||||||||||||||||||||
4038 | mask_a = s->s3->tmp.mask_a; | - | ||||||||||||||||||||||||||||||
4039 | - | |||||||||||||||||||||||||||||||
4040 | if (s->srp_ctx.srp_Mask & 0x00000020U
| 12-10589 | ||||||||||||||||||||||||||||||
4041 | mask_k |= 0x00000020U; | - | ||||||||||||||||||||||||||||||
4042 | mask_a |= 0x00000040U; | - | ||||||||||||||||||||||||||||||
4043 | } executed 12 times by 1 test: end of block Executed by:
| 12 | ||||||||||||||||||||||||||||||
4044 | - | |||||||||||||||||||||||||||||||
4045 | - | |||||||||||||||||||||||||||||||
4046 | alg_k = c->algorithm_mkey; | - | ||||||||||||||||||||||||||||||
4047 | alg_a = c->algorithm_auth; | - | ||||||||||||||||||||||||||||||
4048 | - | |||||||||||||||||||||||||||||||
4049 | - | |||||||||||||||||||||||||||||||
4050 | - | |||||||||||||||||||||||||||||||
4051 | if ((
| 29-10066 | ||||||||||||||||||||||||||||||
4052 | ((void *)0)
| 29-506 | ||||||||||||||||||||||||||||||
4053 | ) | - | ||||||||||||||||||||||||||||||
4054 | continue; executed 506 times by 1 test: continue; Executed by:
| 506 | ||||||||||||||||||||||||||||||
4055 | - | |||||||||||||||||||||||||||||||
4056 | - | |||||||||||||||||||||||||||||||
4057 | ok = (
| 1322-8773 | ||||||||||||||||||||||||||||||
4058 | if (alg_k & 0x00000004U
| 2570-7525 | ||||||||||||||||||||||||||||||
4059 | ok = ok
executed 7525 times by 1 test: ok = ok && tls1_check_ec_tmp_key(s, c->id); Executed by:
| 1574-7525 | ||||||||||||||||||||||||||||||
4060 | - | |||||||||||||||||||||||||||||||
4061 | - | |||||||||||||||||||||||||||||||
4062 | if (!ok
| 2839-7256 | ||||||||||||||||||||||||||||||
4063 | continue; executed 7256 times by 1 test: continue; Executed by:
| 7256 | ||||||||||||||||||||||||||||||
4064 | } executed 2839 times by 1 test: end of block Executed by:
| 2839 | ||||||||||||||||||||||||||||||
4065 | ii = sk_SSL_CIPHER_find(allow, c); | - | ||||||||||||||||||||||||||||||
4066 | if (ii >= 0
| 1567-2634 | ||||||||||||||||||||||||||||||
4067 | - | |||||||||||||||||||||||||||||||
4068 | if (!ssl_security(s, (2 | (1 << 16)),
| 0-2634 | ||||||||||||||||||||||||||||||
4069 | c->strength_bits, 0, (void *)c)
| 0-2634 | ||||||||||||||||||||||||||||||
4070 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||||||||
4071 | - | |||||||||||||||||||||||||||||||
4072 | if ((
| 128-1540 | ||||||||||||||||||||||||||||||
4073 | && s->s3->is_probably_safari
| 0-128 | ||||||||||||||||||||||||||||||
4074 | if (!ret
| 0 | ||||||||||||||||||||||||||||||
4075 | ret = sk_SSL_CIPHER_value(allow, ii); never executed: ret = sk_SSL_CIPHER_value(allow, ii); | 0 | ||||||||||||||||||||||||||||||
4076 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||||||||
4077 | } | - | ||||||||||||||||||||||||||||||
4078 | - | |||||||||||||||||||||||||||||||
4079 | if (prefer_sha256
| 6-2628 | ||||||||||||||||||||||||||||||
4080 | const SSL_CIPHER *tmp = sk_SSL_CIPHER_value(allow, ii); | - | ||||||||||||||||||||||||||||||
4081 | - | |||||||||||||||||||||||||||||||
4082 | if (ssl_md(tmp->algorithm2) == mdsha256
| 3 | ||||||||||||||||||||||||||||||
4083 | ret = tmp; | - | ||||||||||||||||||||||||||||||
4084 | break; executed 3 times by 1 test: break; Executed by:
| 3 | ||||||||||||||||||||||||||||||
4085 | } | - | ||||||||||||||||||||||||||||||
4086 | if (ret ==
| 0-3 | ||||||||||||||||||||||||||||||
4087 | ((void *)0)
| 0-3 | ||||||||||||||||||||||||||||||
4088 | ) | - | ||||||||||||||||||||||||||||||
4089 | ret = tmp; executed 3 times by 1 test: ret = tmp; Executed by:
| 3 | ||||||||||||||||||||||||||||||
4090 | continue; executed 3 times by 1 test: continue; Executed by:
| 3 | ||||||||||||||||||||||||||||||
4091 | } | - | ||||||||||||||||||||||||||||||
4092 | ret = sk_SSL_CIPHER_value(allow, ii); | - | ||||||||||||||||||||||||||||||
4093 | break; executed 2628 times by 1 test: break; Executed by:
| 2628 | ||||||||||||||||||||||||||||||
4094 | } | - | ||||||||||||||||||||||||||||||
4095 | } executed 1567 times by 1 test: end of block Executed by:
| 1567 | ||||||||||||||||||||||||||||||
4096 | - | |||||||||||||||||||||||||||||||
4097 | sk_SSL_CIPHER_free(prio_chacha); | - | ||||||||||||||||||||||||||||||
4098 | - | |||||||||||||||||||||||||||||||
4099 | return executed 2762 times by 1 test: ret;return ret; Executed by:
executed 2762 times by 1 test: return ret; Executed by:
| 2762 | ||||||||||||||||||||||||||||||
4100 | } | - | ||||||||||||||||||||||||||||||
4101 | - | |||||||||||||||||||||||||||||||
4102 | int ssl3_get_req_cert_type(SSL *s, WPACKET *pkt) | - | ||||||||||||||||||||||||||||||
4103 | { | - | ||||||||||||||||||||||||||||||
4104 | uint32_t alg_k, alg_a = 0; | - | ||||||||||||||||||||||||||||||
4105 | - | |||||||||||||||||||||||||||||||
4106 | - | |||||||||||||||||||||||||||||||
4107 | if (s->cert->ctype
| 0-35 | ||||||||||||||||||||||||||||||
4108 | return never executed: WPACKET_memcpy(pkt, s->cert->ctype, s->cert->ctype_len);return WPACKET_memcpy(pkt, s->cert->ctype, s->cert->ctype_len); never executed: return WPACKET_memcpy(pkt, s->cert->ctype, s->cert->ctype_len); | 0 | ||||||||||||||||||||||||||||||
4109 | - | |||||||||||||||||||||||||||||||
4110 | ssl_set_sig_mask(&alg_a, s, (14 | (5 << 16))); | - | ||||||||||||||||||||||||||||||
4111 | - | |||||||||||||||||||||||||||||||
4112 | alg_k = s->s3->tmp.new_cipher->algorithm_mkey; | - | ||||||||||||||||||||||||||||||
4113 | - | |||||||||||||||||||||||||||||||
4114 | - | |||||||||||||||||||||||||||||||
4115 | if (s->version >= 0x0301
| 0-35 | ||||||||||||||||||||||||||||||
4116 | return never executed: WPACKET_put_bytes__((pkt), (22), 1)return WPACKET_put_bytes__((pkt), (22), 1) && WPACKET_put_bytes__((pkt), (238), 1) && WPACKET_put_bytes__((pkt), (239), 1);
never executed: return WPACKET_put_bytes__((pkt), (22), 1) && WPACKET_put_bytes__((pkt), (238), 1) && WPACKET_put_bytes__((pkt), (239), 1); | 0 | ||||||||||||||||||||||||||||||
4117 | && WPACKET_put_bytes__((pkt), (238), 1)
never executed: return WPACKET_put_bytes__((pkt), (22), 1) && WPACKET_put_bytes__((pkt), (238), 1) && WPACKET_put_bytes__((pkt), (239), 1); | 0 | ||||||||||||||||||||||||||||||
4118 | && WPACKET_put_bytes__((pkt), (239), 1)
never executed: return WPACKET_put_bytes__((pkt), (22), 1) && WPACKET_put_bytes__((pkt), (238), 1) && WPACKET_put_bytes__((pkt), (239), 1); | 0 | ||||||||||||||||||||||||||||||
4119 | - | |||||||||||||||||||||||||||||||
4120 | - | |||||||||||||||||||||||||||||||
4121 | if ((
| 0-35 | ||||||||||||||||||||||||||||||
4122 | - | |||||||||||||||||||||||||||||||
4123 | - | |||||||||||||||||||||||||||||||
4124 | if (!WPACKET_put_bytes__((pkt), (5), 1)
| 0 | ||||||||||||||||||||||||||||||
4125 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4126 | - | |||||||||||||||||||||||||||||||
4127 | - | |||||||||||||||||||||||||||||||
4128 | if (!WPACKET_put_bytes__((pkt), (6), 1)
| 0 | ||||||||||||||||||||||||||||||
4129 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4130 | - | |||||||||||||||||||||||||||||||
4131 | - | |||||||||||||||||||||||||||||||
4132 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||
4133 | - | |||||||||||||||||||||||||||||||
4134 | if (!(alg_a & 0x00000001U)
| 0-35 | ||||||||||||||||||||||||||||||
4135 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4136 | - | |||||||||||||||||||||||||||||||
4137 | - | |||||||||||||||||||||||||||||||
4138 | if (!(alg_a & 0x00000002U)
| 0-33 | ||||||||||||||||||||||||||||||
4139 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4140 | - | |||||||||||||||||||||||||||||||
4141 | - | |||||||||||||||||||||||||||||||
4142 | - | |||||||||||||||||||||||||||||||
4143 | - | |||||||||||||||||||||||||||||||
4144 | - | |||||||||||||||||||||||||||||||
4145 | - | |||||||||||||||||||||||||||||||
4146 | if (s->version >= 0x0301
| 0-35 | ||||||||||||||||||||||||||||||
4147 | && !(alg_a & 0x00000008U)
| 2-33 | ||||||||||||||||||||||||||||||
4148 | && !WPACKET_put_bytes__((pkt), (64), 1)
| 0-33 | ||||||||||||||||||||||||||||||
4149 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4150 | - | |||||||||||||||||||||||||||||||
4151 | return executed 35 times by 1 test: 1;return 1; Executed by:
executed 35 times by 1 test: return 1; Executed by:
| 35 | ||||||||||||||||||||||||||||||
4152 | } | - | ||||||||||||||||||||||||||||||
4153 | - | |||||||||||||||||||||||||||||||
4154 | static int ssl3_set_req_cert_type(CERT *c, const unsigned char *p, size_t len) | - | ||||||||||||||||||||||||||||||
4155 | { | - | ||||||||||||||||||||||||||||||
4156 | CRYPTO_free(c->ctype, __FILE__, 4369); | - | ||||||||||||||||||||||||||||||
4157 | c->ctype = | - | ||||||||||||||||||||||||||||||
4158 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4159 | ; | - | ||||||||||||||||||||||||||||||
4160 | c->ctype_len = 0; | - | ||||||||||||||||||||||||||||||
4161 | if (p ==
| 0 | ||||||||||||||||||||||||||||||
4162 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
4163 | || len == 0
| 0 | ||||||||||||||||||||||||||||||
4164 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||||||||||||||||||||
4165 | if (len > 0xff
| 0 | ||||||||||||||||||||||||||||||
4166 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4167 | c->ctype = CRYPTO_memdup((p), len, __FILE__, 4376); | - | ||||||||||||||||||||||||||||||
4168 | if (c->ctype ==
| 0 | ||||||||||||||||||||||||||||||
4169 | ((void *)0)
| 0 | ||||||||||||||||||||||||||||||
4170 | ) | - | ||||||||||||||||||||||||||||||
4171 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4172 | c->ctype_len = len; | - | ||||||||||||||||||||||||||||||
4173 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||||||||||||||||||||
4174 | } | - | ||||||||||||||||||||||||||||||
4175 | - | |||||||||||||||||||||||||||||||
4176 | int ssl3_shutdown(SSL *s) | - | ||||||||||||||||||||||||||||||
4177 | { | - | ||||||||||||||||||||||||||||||
4178 | int ret; | - | ||||||||||||||||||||||||||||||
4179 | - | |||||||||||||||||||||||||||||||
4180 | - | |||||||||||||||||||||||||||||||
4181 | - | |||||||||||||||||||||||||||||||
4182 | - | |||||||||||||||||||||||||||||||
4183 | - | |||||||||||||||||||||||||||||||
4184 | if (s->quiet_shutdown
| 0-4478 | ||||||||||||||||||||||||||||||
4185 | s->shutdown = (1 | 2); | - | ||||||||||||||||||||||||||||||
4186 | return executed 113 times by 1 test: 1;return 1; Executed by:
executed 113 times by 1 test: return 1; Executed by:
| 113 | ||||||||||||||||||||||||||||||
4187 | } | - | ||||||||||||||||||||||||||||||
4188 | - | |||||||||||||||||||||||||||||||
4189 | if (!(s->shutdown & 1)
| 1891-2587 | ||||||||||||||||||||||||||||||
4190 | s->shutdown |= 1; | - | ||||||||||||||||||||||||||||||
4191 | ssl3_send_alert(s, 1, 0); | - | ||||||||||||||||||||||||||||||
4192 | - | |||||||||||||||||||||||||||||||
4193 | - | |||||||||||||||||||||||||||||||
4194 | - | |||||||||||||||||||||||||||||||
4195 | - | |||||||||||||||||||||||||||||||
4196 | if (s->s3->alert_dispatch
| 88-2499 | ||||||||||||||||||||||||||||||
4197 | return executed 88 times by 1 test: -1;return -1; Executed by:
executed 88 times by 1 test: return -1; Executed by:
| 88 | ||||||||||||||||||||||||||||||
4198 | } executed 2499 times by 1 test: else if (s->s3->alert_dispatchend of block Executed by:
| 0-2499 | ||||||||||||||||||||||||||||||
4199 | - | |||||||||||||||||||||||||||||||
4200 | ret = s->method->ssl_dispatch_alert(s); | - | ||||||||||||||||||||||||||||||
4201 | if (ret == -1
| 0 | ||||||||||||||||||||||||||||||
4202 | - | |||||||||||||||||||||||||||||||
4203 | - | |||||||||||||||||||||||||||||||
4204 | - | |||||||||||||||||||||||||||||||
4205 | - | |||||||||||||||||||||||||||||||
4206 | - | |||||||||||||||||||||||||||||||
4207 | return never executed: ret;return ret; never executed: return ret; | 0 | ||||||||||||||||||||||||||||||
4208 | } | - | ||||||||||||||||||||||||||||||
4209 | } never executed: else if (!(s->shutdown & 2)end of block
| 0-1891 | ||||||||||||||||||||||||||||||
4210 | size_t readbytes; | - | ||||||||||||||||||||||||||||||
4211 | - | |||||||||||||||||||||||||||||||
4212 | - | |||||||||||||||||||||||||||||||
4213 | - | |||||||||||||||||||||||||||||||
4214 | s->method->ssl_read_bytes(s, 0, | - | ||||||||||||||||||||||||||||||
4215 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4216 | , | - | ||||||||||||||||||||||||||||||
4217 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4218 | , 0, 0, &readbytes); | - | ||||||||||||||||||||||||||||||
4219 | if (!(s->shutdown & 2)
| 1-1890 | ||||||||||||||||||||||||||||||
4220 | return executed 1 time by 1 test: -1;return -1; Executed by:
executed 1 time by 1 test: return -1; Executed by:
| 1 | ||||||||||||||||||||||||||||||
4221 | } | - | ||||||||||||||||||||||||||||||
4222 | } executed 1890 times by 1 test: end of block Executed by:
| 1890 | ||||||||||||||||||||||||||||||
4223 | - | |||||||||||||||||||||||||||||||
4224 | if ((
| 1893-2496 | ||||||||||||||||||||||||||||||
4225 | !s->s3->alert_dispatch
| 0-1893 | ||||||||||||||||||||||||||||||
4226 | return executed 1893 times by 1 test: 1;return 1; Executed by:
executed 1893 times by 1 test: return 1; Executed by:
| 1893 | ||||||||||||||||||||||||||||||
4227 | else | - | ||||||||||||||||||||||||||||||
4228 | return executed 2496 times by 1 test: 0;return 0; Executed by:
executed 2496 times by 1 test: return 0; Executed by:
| 2496 | ||||||||||||||||||||||||||||||
4229 | } | - | ||||||||||||||||||||||||||||||
4230 | - | |||||||||||||||||||||||||||||||
4231 | int ssl3_write(SSL *s, const void *buf, size_t len, size_t *written) | - | ||||||||||||||||||||||||||||||
4232 | { | - | ||||||||||||||||||||||||||||||
4233 | - | |||||||||||||||||||||||||||||||
4234 | (*__errno_location ()) | - | ||||||||||||||||||||||||||||||
4235 | =0; | - | ||||||||||||||||||||||||||||||
4236 | if (s->s3->renegotiate
| 4-6401 | ||||||||||||||||||||||||||||||
4237 | ssl3_renegotiate_check(s, 0); executed 4 times by 1 test: ssl3_renegotiate_check(s, 0); Executed by:
| 4 | ||||||||||||||||||||||||||||||
4238 | - | |||||||||||||||||||||||||||||||
4239 | return executed 6405 times by 1 test: s->method->ssl_write_bytes(s, 23, buf, len,return s->method->ssl_write_bytes(s, 23, buf, len, written); Executed by:
executed 6405 times by 1 test: return s->method->ssl_write_bytes(s, 23, buf, len, written); Executed by:
| 6405 | ||||||||||||||||||||||||||||||
4240 | written); executed 6405 times by 1 test: return s->method->ssl_write_bytes(s, 23, buf, len, written); Executed by:
| 6405 | ||||||||||||||||||||||||||||||
4241 | } | - | ||||||||||||||||||||||||||||||
4242 | - | |||||||||||||||||||||||||||||||
4243 | static int ssl3_read_internal(SSL *s, void *buf, size_t len, int peek, | - | ||||||||||||||||||||||||||||||
4244 | size_t *readbytes) | - | ||||||||||||||||||||||||||||||
4245 | { | - | ||||||||||||||||||||||||||||||
4246 | int ret; | - | ||||||||||||||||||||||||||||||
4247 | - | |||||||||||||||||||||||||||||||
4248 | - | |||||||||||||||||||||||||||||||
4249 | (*__errno_location ()) | - | ||||||||||||||||||||||||||||||
4250 | =0; | - | ||||||||||||||||||||||||||||||
4251 | if (s->s3->renegotiate
| 0-21546 | ||||||||||||||||||||||||||||||
4252 | ssl3_renegotiate_check(s, 0); never executed: ssl3_renegotiate_check(s, 0); | 0 | ||||||||||||||||||||||||||||||
4253 | s->s3->in_read_app_data = 1; | - | ||||||||||||||||||||||||||||||
4254 | ret = | - | ||||||||||||||||||||||||||||||
4255 | s->method->ssl_read_bytes(s, 23, | - | ||||||||||||||||||||||||||||||
4256 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4257 | , buf, len, | - | ||||||||||||||||||||||||||||||
4258 | peek, readbytes); | - | ||||||||||||||||||||||||||||||
4259 | if ((
| 0-11649 | ||||||||||||||||||||||||||||||
4260 | - | |||||||||||||||||||||||||||||||
4261 | - | |||||||||||||||||||||||||||||||
4262 | - | |||||||||||||||||||||||||||||||
4263 | - | |||||||||||||||||||||||||||||||
4264 | - | |||||||||||||||||||||||||||||||
4265 | - | |||||||||||||||||||||||||||||||
4266 | - | |||||||||||||||||||||||||||||||
4267 | ossl_statem_set_in_handshake(s, 1); | - | ||||||||||||||||||||||||||||||
4268 | ret = | - | ||||||||||||||||||||||||||||||
4269 | s->method->ssl_read_bytes(s, 23, | - | ||||||||||||||||||||||||||||||
4270 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4271 | , buf, | - | ||||||||||||||||||||||||||||||
4272 | len, peek, readbytes); | - | ||||||||||||||||||||||||||||||
4273 | ossl_statem_set_in_handshake(s, 0); | - | ||||||||||||||||||||||||||||||
4274 | } never executed: elseend of block | 0 | ||||||||||||||||||||||||||||||
4275 | s->s3->in_read_app_data = 0; executed 21546 times by 1 test: s->s3->in_read_app_data = 0; Executed by:
| 21546 | ||||||||||||||||||||||||||||||
4276 | - | |||||||||||||||||||||||||||||||
4277 | return executed 21546 times by 1 test: ret;return ret; Executed by:
executed 21546 times by 1 test: return ret; Executed by:
| 21546 | ||||||||||||||||||||||||||||||
4278 | } | - | ||||||||||||||||||||||||||||||
4279 | - | |||||||||||||||||||||||||||||||
4280 | int ssl3_read(SSL *s, void *buf, size_t len, size_t *readbytes) | - | ||||||||||||||||||||||||||||||
4281 | { | - | ||||||||||||||||||||||||||||||
4282 | return executed 21546 times by 1 test: ssl3_read_internal(s, buf, len, 0, readbytes);return ssl3_read_internal(s, buf, len, 0, readbytes); Executed by:
executed 21546 times by 1 test: return ssl3_read_internal(s, buf, len, 0, readbytes); Executed by:
| 21546 | ||||||||||||||||||||||||||||||
4283 | } | - | ||||||||||||||||||||||||||||||
4284 | - | |||||||||||||||||||||||||||||||
4285 | int ssl3_peek(SSL *s, void *buf, size_t len, size_t *readbytes) | - | ||||||||||||||||||||||||||||||
4286 | { | - | ||||||||||||||||||||||||||||||
4287 | return never executed: ssl3_read_internal(s, buf, len, 1, readbytes);return ssl3_read_internal(s, buf, len, 1, readbytes); never executed: return ssl3_read_internal(s, buf, len, 1, readbytes); | 0 | ||||||||||||||||||||||||||||||
4288 | } | - | ||||||||||||||||||||||||||||||
4289 | - | |||||||||||||||||||||||||||||||
4290 | int ssl3_renegotiate(SSL *s) | - | ||||||||||||||||||||||||||||||
4291 | { | - | ||||||||||||||||||||||||||||||
4292 | if (s->handshake_func ==
| 0-32 | ||||||||||||||||||||||||||||||
4293 | ((void *)0)
| 0-32 | ||||||||||||||||||||||||||||||
4294 | ) | - | ||||||||||||||||||||||||||||||
4295 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||||||||||||||||||||
4296 | - | |||||||||||||||||||||||||||||||
4297 | s->s3->renegotiate = 1; | - | ||||||||||||||||||||||||||||||
4298 | return executed 32 times by 1 test: 1;return 1; Executed by:
executed 32 times by 1 test: return 1; Executed by:
| 32 | ||||||||||||||||||||||||||||||
4299 | } | - | ||||||||||||||||||||||||||||||
4300 | int ssl3_renegotiate_check(SSL *s, int initok) | - | ||||||||||||||||||||||||||||||
4301 | { | - | ||||||||||||||||||||||||||||||
4302 | int ret = 0; | - | ||||||||||||||||||||||||||||||
4303 | - | |||||||||||||||||||||||||||||||
4304 | if (s->s3->renegotiate
| 32-24071 | ||||||||||||||||||||||||||||||
4305 | if (!RECORD_LAYER_read_pending(&s->rlayer)
| 0-32 | ||||||||||||||||||||||||||||||
4306 | && !RECORD_LAYER_write_pending(&s->rlayer)
| 0-32 | ||||||||||||||||||||||||||||||
4307 | && (initok
| 0-25 | ||||||||||||||||||||||||||||||
4308 | - | |||||||||||||||||||||||||||||||
4309 | - | |||||||||||||||||||||||||||||||
4310 | - | |||||||||||||||||||||||||||||||
4311 | - | |||||||||||||||||||||||||||||||
4312 | - | |||||||||||||||||||||||||||||||
4313 | ossl_statem_set_renegotiate(s); | - | ||||||||||||||||||||||||||||||
4314 | s->s3->renegotiate = 0; | - | ||||||||||||||||||||||||||||||
4315 | s->s3->num_renegotiations++; | - | ||||||||||||||||||||||||||||||
4316 | s->s3->total_renegotiations++; | - | ||||||||||||||||||||||||||||||
4317 | ret = 1; | - | ||||||||||||||||||||||||||||||
4318 | } executed 32 times by 1 test: end of block Executed by:
| 32 | ||||||||||||||||||||||||||||||
4319 | } executed 32 times by 1 test: end of block Executed by:
| 32 | ||||||||||||||||||||||||||||||
4320 | return executed 24103 times by 1 test: ret;return ret; Executed by:
executed 24103 times by 1 test: return ret; Executed by:
| 24103 | ||||||||||||||||||||||||||||||
4321 | } | - | ||||||||||||||||||||||||||||||
4322 | - | |||||||||||||||||||||||||||||||
4323 | - | |||||||||||||||||||||||||||||||
4324 | - | |||||||||||||||||||||||||||||||
4325 | - | |||||||||||||||||||||||||||||||
4326 | - | |||||||||||||||||||||||||||||||
4327 | - | |||||||||||||||||||||||||||||||
4328 | - | |||||||||||||||||||||||||||||||
4329 | long ssl_get_algorithm2(SSL *s) | - | ||||||||||||||||||||||||||||||
4330 | { | - | ||||||||||||||||||||||||||||||
4331 | long alg2; | - | ||||||||||||||||||||||||||||||
4332 | if (s->s3 ==
| 0-38462 | ||||||||||||||||||||||||||||||
4333 | ((void *)0)
| 0-38462 | ||||||||||||||||||||||||||||||
4334 | || s->s3->tmp.new_cipher ==
| 0-38462 | ||||||||||||||||||||||||||||||
4335 | ((void *)0)
| 0-38462 | ||||||||||||||||||||||||||||||
4336 | ) | - | ||||||||||||||||||||||||||||||
4337 | return never executed: -1;return -1; never executed: return -1; | 0 | ||||||||||||||||||||||||||||||
4338 | alg2 = s->s3->tmp.new_cipher->algorithm2; | - | ||||||||||||||||||||||||||||||
4339 | if (s->method->ssl3_enc->enc_flags & 0x4
| 4616-33846 | ||||||||||||||||||||||||||||||
4340 | if (alg2 == (9 | (9 << 8))
| 3101-30745 | ||||||||||||||||||||||||||||||
4341 | return executed 3101 times by 1 test: 4 | (4 << 8);return 4 | (4 << 8); Executed by:
executed 3101 times by 1 test: return 4 | (4 << 8); Executed by:
| 3101 | ||||||||||||||||||||||||||||||
4342 | } executed 30745 times by 1 test: else if (s->s3->tmp.new_cipher->algorithm_mkey & (0x00000008U | 0x00000040U | 0x00000080U | 0x00000100U)end of block Executed by:
| 20-30745 | ||||||||||||||||||||||||||||||
4343 | if (alg2 == (5 | (5 << 8))
| 0-20 | ||||||||||||||||||||||||||||||
4344 | return executed 20 times by 1 test: 9 | (9 << 8);return 9 | (9 << 8); Executed by:
executed 20 times by 1 test: return 9 | (9 << 8); Executed by:
| 20 | ||||||||||||||||||||||||||||||
4345 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||
4346 | return executed 35341 times by 1 test: alg2;return alg2; Executed by:
executed 35341 times by 1 test: return alg2; Executed by:
| 35341 | ||||||||||||||||||||||||||||||
4347 | } | - | ||||||||||||||||||||||||||||||
4348 | - | |||||||||||||||||||||||||||||||
4349 | - | |||||||||||||||||||||||||||||||
4350 | - | |||||||||||||||||||||||||||||||
4351 | - | |||||||||||||||||||||||||||||||
4352 | - | |||||||||||||||||||||||||||||||
4353 | int ssl_fill_hello_random(SSL *s, int server, unsigned char *result, size_t len, | - | ||||||||||||||||||||||||||||||
4354 | DOWNGRADE dgrd) | - | ||||||||||||||||||||||||||||||
4355 | { | - | ||||||||||||||||||||||||||||||
4356 | int send_time = 0, ret; | - | ||||||||||||||||||||||||||||||
4357 | - | |||||||||||||||||||||||||||||||
4358 | if (len < 4
| 0-6981 | ||||||||||||||||||||||||||||||
4359 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4360 | if (server
| 2720-4261 | ||||||||||||||||||||||||||||||
4361 | send_time = (s->mode & 0x00000040U) != 0; executed 2720 times by 1 test: send_time = (s->mode & 0x00000040U) != 0; Executed by:
| 2720 | ||||||||||||||||||||||||||||||
4362 | else | - | ||||||||||||||||||||||||||||||
4363 | send_time = (s->mode & 0x00000020U) != 0; executed 4261 times by 1 test: send_time = (s->mode & 0x00000020U) != 0; Executed by:
| 4261 | ||||||||||||||||||||||||||||||
4364 | if (send_time
| 0-6981 | ||||||||||||||||||||||||||||||
4365 | unsigned long Time = (unsigned long)time( | - | ||||||||||||||||||||||||||||||
4366 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4367 | ); | - | ||||||||||||||||||||||||||||||
4368 | unsigned char *p = result; | - | ||||||||||||||||||||||||||||||
4369 | - | |||||||||||||||||||||||||||||||
4370 | (*((p)++)=(unsigned char)(((Time)>>24)&0xff), *((p)++)=(unsigned char)(((Time)>>16)&0xff), *((p)++)=(unsigned char)(((Time)>> 8)&0xff), *((p)++)=(unsigned char)(((Time) )&0xff)); | - | ||||||||||||||||||||||||||||||
4371 | ret = RAND_bytes(p, len - 4); | - | ||||||||||||||||||||||||||||||
4372 | } never executed: else {end of block | 0 | ||||||||||||||||||||||||||||||
4373 | ret = RAND_bytes(result, len); | - | ||||||||||||||||||||||||||||||
4374 | } executed 6981 times by 1 test: end of block Executed by:
| 6981 | ||||||||||||||||||||||||||||||
4375 | - | |||||||||||||||||||||||||||||||
4376 | if (ret > 0
| 0-6981 | ||||||||||||||||||||||||||||||
4377 | if (!((sizeof(tls11downgrade) < len) != 0)
| 0-6981 | ||||||||||||||||||||||||||||||
4378 | || !((sizeof(tls12downgrade) < len) != 0)
| 0-6981 | ||||||||||||||||||||||||||||||
4379 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4380 | if (dgrd == DOWNGRADE_TO_1_2
| 748-6233 | ||||||||||||||||||||||||||||||
4381 | memcpy(result + len - sizeof(tls12downgrade), tls12downgrade, executed 748 times by 1 test: memcpy(result + len - sizeof(tls12downgrade), tls12downgrade, sizeof(tls12downgrade)); Executed by:
| 748 | ||||||||||||||||||||||||||||||
4382 | sizeof(tls12downgrade)); executed 748 times by 1 test: memcpy(result + len - sizeof(tls12downgrade), tls12downgrade, sizeof(tls12downgrade)); Executed by:
| 748 | ||||||||||||||||||||||||||||||
4383 | else if (dgrd == DOWNGRADE_TO_1_1
| 224-6009 | ||||||||||||||||||||||||||||||
4384 | memcpy(result + len - sizeof(tls11downgrade), tls11downgrade, executed 224 times by 1 test: memcpy(result + len - sizeof(tls11downgrade), tls11downgrade, sizeof(tls11downgrade)); Executed by:
| 224 | ||||||||||||||||||||||||||||||
4385 | sizeof(tls11downgrade)); executed 224 times by 1 test: memcpy(result + len - sizeof(tls11downgrade), tls11downgrade, sizeof(tls11downgrade)); Executed by:
| 224 | ||||||||||||||||||||||||||||||
4386 | } executed 6981 times by 1 test: end of block Executed by:
| 6981 | ||||||||||||||||||||||||||||||
4387 | - | |||||||||||||||||||||||||||||||
4388 | return executed 6981 times by 1 test: ret;return ret; Executed by:
executed 6981 times by 1 test: return ret; Executed by:
| 6981 | ||||||||||||||||||||||||||||||
4389 | } | - | ||||||||||||||||||||||||||||||
4390 | - | |||||||||||||||||||||||||||||||
4391 | int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen, | - | ||||||||||||||||||||||||||||||
4392 | int free_pms) | - | ||||||||||||||||||||||||||||||
4393 | { | - | ||||||||||||||||||||||||||||||
4394 | unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; | - | ||||||||||||||||||||||||||||||
4395 | int ret = 0; | - | ||||||||||||||||||||||||||||||
4396 | - | |||||||||||||||||||||||||||||||
4397 | if (alg_k & (0x00000008U | 0x00000040U | 0x00000080U | 0x00000100U)
| 58-2524 | ||||||||||||||||||||||||||||||
4398 | - | |||||||||||||||||||||||||||||||
4399 | unsigned char *pskpms, *t; | - | ||||||||||||||||||||||||||||||
4400 | size_t psklen = s->s3->tmp.psklen; | - | ||||||||||||||||||||||||||||||
4401 | size_t pskpmslen; | - | ||||||||||||||||||||||||||||||
4402 | - | |||||||||||||||||||||||||||||||
4403 | - | |||||||||||||||||||||||||||||||
4404 | - | |||||||||||||||||||||||||||||||
4405 | - | |||||||||||||||||||||||||||||||
4406 | if (alg_k & 0x00000008U
| 4-54 | ||||||||||||||||||||||||||||||
4407 | pmslen = psklen; executed 54 times by 1 test: pmslen = psklen; Executed by:
| 54 | ||||||||||||||||||||||||||||||
4408 | - | |||||||||||||||||||||||||||||||
4409 | pskpmslen = 4 + pmslen + psklen; | - | ||||||||||||||||||||||||||||||
4410 | pskpms = CRYPTO_malloc(pskpmslen, __FILE__, 4606); | - | ||||||||||||||||||||||||||||||
4411 | if (pskpms ==
| 0-58 | ||||||||||||||||||||||||||||||
4412 | ((void *)0)
| 0-58 | ||||||||||||||||||||||||||||||
4413 | ) | - | ||||||||||||||||||||||||||||||
4414 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4415 | t = pskpms; | - | ||||||||||||||||||||||||||||||
4416 | (((t)[0]=(unsigned char)(((pmslen)>> 8)&0xff), (t)[1]=(unsigned char)(((pmslen) )&0xff)),(t)+=2); | - | ||||||||||||||||||||||||||||||
4417 | if (alg_k & 0x00000008U
| 4-54 | ||||||||||||||||||||||||||||||
4418 | memset(t, 0, pmslen); executed 54 times by 1 test: memset(t, 0, pmslen); Executed by:
| 54 | ||||||||||||||||||||||||||||||
4419 | else | - | ||||||||||||||||||||||||||||||
4420 | memcpy(t, pms, pmslen); executed 4 times by 1 test: memcpy(t, pms, pmslen); Executed by:
| 4 | ||||||||||||||||||||||||||||||
4421 | t += pmslen; | - | ||||||||||||||||||||||||||||||
4422 | (((t)[0]=(unsigned char)(((psklen)>> 8)&0xff), (t)[1]=(unsigned char)(((psklen) )&0xff)),(t)+=2); | - | ||||||||||||||||||||||||||||||
4423 | memcpy(t, s->s3->tmp.psk, psklen); | - | ||||||||||||||||||||||||||||||
4424 | - | |||||||||||||||||||||||||||||||
4425 | CRYPTO_clear_free(s->s3->tmp.psk, psklen, __FILE__, 4619); | - | ||||||||||||||||||||||||||||||
4426 | s->s3->tmp.psk = | - | ||||||||||||||||||||||||||||||
4427 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4428 | ; | - | ||||||||||||||||||||||||||||||
4429 | if (!s->method->ssl3_enc->generate_master_secret(s,
| 0-58 | ||||||||||||||||||||||||||||||
4430 | s->session->master_key,pskpms, pskpmslen,
| 0-58 | ||||||||||||||||||||||||||||||
4431 | &s->session->master_key_length)
| 0-58 | ||||||||||||||||||||||||||||||
4432 | CRYPTO_clear_free(pskpms, pskpmslen, __FILE__, 4624); | - | ||||||||||||||||||||||||||||||
4433 | - | |||||||||||||||||||||||||||||||
4434 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4435 | } | - | ||||||||||||||||||||||||||||||
4436 | CRYPTO_clear_free(pskpms, pskpmslen, __FILE__, 4628); | - | ||||||||||||||||||||||||||||||
4437 | - | |||||||||||||||||||||||||||||||
4438 | - | |||||||||||||||||||||||||||||||
4439 | - | |||||||||||||||||||||||||||||||
4440 | - | |||||||||||||||||||||||||||||||
4441 | } executed 58 times by 1 test: else {end of block Executed by:
| 58 | ||||||||||||||||||||||||||||||
4442 | if (!s->method->ssl3_enc->generate_master_secret(s,
| 0-2524 | ||||||||||||||||||||||||||||||
4443 | s->session->master_key, pms, pmslen,
| 0-2524 | ||||||||||||||||||||||||||||||
4444 | &s->session->master_key_length)
| 0-2524 | ||||||||||||||||||||||||||||||
4445 | - | |||||||||||||||||||||||||||||||
4446 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4447 | } | - | ||||||||||||||||||||||||||||||
4448 | } executed 2524 times by 1 test: end of block Executed by:
| 2524 | ||||||||||||||||||||||||||||||
4449 | - | |||||||||||||||||||||||||||||||
4450 | ret = 1; | - | ||||||||||||||||||||||||||||||
4451 | err: code before this statement executed 2582 times by 1 test: err: Executed by:
| 2582 | ||||||||||||||||||||||||||||||
4452 | if (pms
| 54-2528 | ||||||||||||||||||||||||||||||
4453 | if (free_pms
| 1152-1376 | ||||||||||||||||||||||||||||||
4454 | CRYPTO_clear_free(pms, pmslen, __FILE__, 4646); executed 1376 times by 1 test: CRYPTO_clear_free(pms, pmslen, __FILE__, 4646); Executed by:
| 1376 | ||||||||||||||||||||||||||||||
4455 | else | - | ||||||||||||||||||||||||||||||
4456 | OPENSSL_cleanse(pms, pmslen); executed 1152 times by 1 test: OPENSSL_cleanse(pms, pmslen); Executed by:
| 1152 | ||||||||||||||||||||||||||||||
4457 | } | - | ||||||||||||||||||||||||||||||
4458 | if (s->server == 0
| 1189-1393 | ||||||||||||||||||||||||||||||
4459 | s->s3->tmp.pms = executed 1393 times by 1 test: s->s3->tmp.pms = ((void *)0) ; Executed by:
| 1393 | ||||||||||||||||||||||||||||||
4460 | ((void *)0) executed 1393 times by 1 test: s->s3->tmp.pms = ((void *)0) ; Executed by:
| 1393 | ||||||||||||||||||||||||||||||
4461 | ; executed 1393 times by 1 test: s->s3->tmp.pms = ((void *)0) ; Executed by:
| 1393 | ||||||||||||||||||||||||||||||
4462 | return executed 2582 times by 1 test: ret;return ret; Executed by:
executed 2582 times by 1 test: return ret; Executed by:
| 2582 | ||||||||||||||||||||||||||||||
4463 | } | - | ||||||||||||||||||||||||||||||
4464 | - | |||||||||||||||||||||||||||||||
4465 | - | |||||||||||||||||||||||||||||||
4466 | EVP_PKEY *ssl_generate_pkey(EVP_PKEY *pm) | - | ||||||||||||||||||||||||||||||
4467 | { | - | ||||||||||||||||||||||||||||||
4468 | EVP_PKEY_CTX *pctx = | - | ||||||||||||||||||||||||||||||
4469 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4470 | ; | - | ||||||||||||||||||||||||||||||
4471 | EVP_PKEY *pkey = | - | ||||||||||||||||||||||||||||||
4472 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4473 | ; | - | ||||||||||||||||||||||||||||||
4474 | - | |||||||||||||||||||||||||||||||
4475 | if (pm ==
| 0-2479 | ||||||||||||||||||||||||||||||
4476 | ((void *)0)
| 0-2479 | ||||||||||||||||||||||||||||||
4477 | ) | - | ||||||||||||||||||||||||||||||
4478 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4479 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4480 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4481 | pctx = EVP_PKEY_CTX_new(pm, | - | ||||||||||||||||||||||||||||||
4482 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4483 | ); | - | ||||||||||||||||||||||||||||||
4484 | if (pctx ==
| 0-2479 | ||||||||||||||||||||||||||||||
4485 | ((void *)0)
| 0-2479 | ||||||||||||||||||||||||||||||
4486 | ) | - | ||||||||||||||||||||||||||||||
4487 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4488 | if (EVP_PKEY_keygen_init(pctx) <= 0
| 0-2479 | ||||||||||||||||||||||||||||||
4489 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4490 | if (EVP_PKEY_keygen(pctx, &pkey) <= 0
| 0-2479 | ||||||||||||||||||||||||||||||
4491 | EVP_PKEY_free(pkey); | - | ||||||||||||||||||||||||||||||
4492 | pkey = | - | ||||||||||||||||||||||||||||||
4493 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4494 | ; | - | ||||||||||||||||||||||||||||||
4495 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||
4496 | - | |||||||||||||||||||||||||||||||
4497 | err: code before this statement executed 2479 times by 1 test: err: Executed by:
| 2479 | ||||||||||||||||||||||||||||||
4498 | EVP_PKEY_CTX_free(pctx); | - | ||||||||||||||||||||||||||||||
4499 | return executed 2479 times by 1 test: pkey;return pkey; Executed by:
executed 2479 times by 1 test: return pkey; Executed by:
| 2479 | ||||||||||||||||||||||||||||||
4500 | } | - | ||||||||||||||||||||||||||||||
4501 | - | |||||||||||||||||||||||||||||||
4502 | - | |||||||||||||||||||||||||||||||
4503 | EVP_PKEY *ssl_generate_pkey_group(SSL *s, uint16_t id) | - | ||||||||||||||||||||||||||||||
4504 | { | - | ||||||||||||||||||||||||||||||
4505 | EVP_PKEY_CTX *pctx = | - | ||||||||||||||||||||||||||||||
4506 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4507 | ; | - | ||||||||||||||||||||||||||||||
4508 | EVP_PKEY *pkey = | - | ||||||||||||||||||||||||||||||
4509 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4510 | ; | - | ||||||||||||||||||||||||||||||
4511 | const TLS_GROUP_INFO *ginf = tls1_group_id_lookup(id); | - | ||||||||||||||||||||||||||||||
4512 | uint16_t gtype; | - | ||||||||||||||||||||||||||||||
4513 | - | |||||||||||||||||||||||||||||||
4514 | if (ginf ==
| 0-4864 | ||||||||||||||||||||||||||||||
4515 | ((void *)0)
| 0-4864 | ||||||||||||||||||||||||||||||
4516 | ) { | - | ||||||||||||||||||||||||||||||
4517 | ossl_statem_fatal((s), (80), (559), ((4|64)), | - | ||||||||||||||||||||||||||||||
4518 | __FILE__ | - | ||||||||||||||||||||||||||||||
4519 | , | - | ||||||||||||||||||||||||||||||
4520 | 4688 | - | ||||||||||||||||||||||||||||||
4521 | ) | - | ||||||||||||||||||||||||||||||
4522 | ; | - | ||||||||||||||||||||||||||||||
4523 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4524 | } | - | ||||||||||||||||||||||||||||||
4525 | gtype = ginf->flags & 0x3; | - | ||||||||||||||||||||||||||||||
4526 | if (gtype == 0x2
| 654-4210 | ||||||||||||||||||||||||||||||
4527 | pctx = EVP_PKEY_CTX_new_id(ginf->nid, executed 4210 times by 1 test: pctx = EVP_PKEY_CTX_new_id(ginf->nid, ((void *)0) ); Executed by:
| 4210 | ||||||||||||||||||||||||||||||
4528 | ((void *)0) executed 4210 times by 1 test: pctx = EVP_PKEY_CTX_new_id(ginf->nid, ((void *)0) ); Executed by:
| 4210 | ||||||||||||||||||||||||||||||
4529 | ); executed 4210 times by 1 test: pctx = EVP_PKEY_CTX_new_id(ginf->nid, ((void *)0) ); Executed by:
| 4210 | ||||||||||||||||||||||||||||||
4530 | else | - | ||||||||||||||||||||||||||||||
4531 | pctx = EVP_PKEY_CTX_new_id(408, executed 654 times by 1 test: pctx = EVP_PKEY_CTX_new_id(408, ((void *)0) ); Executed by:
| 654 | ||||||||||||||||||||||||||||||
4532 | ((void *)0) executed 654 times by 1 test: pctx = EVP_PKEY_CTX_new_id(408, ((void *)0) ); Executed by:
| 654 | ||||||||||||||||||||||||||||||
4533 | ); executed 654 times by 1 test: pctx = EVP_PKEY_CTX_new_id(408, ((void *)0) ); Executed by:
| 654 | ||||||||||||||||||||||||||||||
4534 | if (pctx ==
| 0-4864 | ||||||||||||||||||||||||||||||
4535 | ((void *)0)
| 0-4864 | ||||||||||||||||||||||||||||||
4536 | ) { | - | ||||||||||||||||||||||||||||||
4537 | ossl_statem_fatal((s), (80), (559), ((1|64)), | - | ||||||||||||||||||||||||||||||
4538 | __FILE__ | - | ||||||||||||||||||||||||||||||
4539 | , | - | ||||||||||||||||||||||||||||||
4540 | 4698 | - | ||||||||||||||||||||||||||||||
4541 | ) | - | ||||||||||||||||||||||||||||||
4542 | ; | - | ||||||||||||||||||||||||||||||
4543 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4544 | } | - | ||||||||||||||||||||||||||||||
4545 | if (EVP_PKEY_keygen_init(pctx) <= 0
| 0-4864 | ||||||||||||||||||||||||||||||
4546 | ossl_statem_fatal((s), (80), (559), (6), | - | ||||||||||||||||||||||||||||||
4547 | __FILE__ | - | ||||||||||||||||||||||||||||||
4548 | , | - | ||||||||||||||||||||||||||||||
4549 | 4703 | - | ||||||||||||||||||||||||||||||
4550 | ) | - | ||||||||||||||||||||||||||||||
4551 | ; | - | ||||||||||||||||||||||||||||||
4552 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4553 | } | - | ||||||||||||||||||||||||||||||
4554 | if (gtype != 0x2
| 654-4210 | ||||||||||||||||||||||||||||||
4555 | && EVP_PKEY_CTX_ctrl(pctx, 408, (1<<1)|(1<<2), (0x1000 + 1), ginf->nid,
| 0-654 | ||||||||||||||||||||||||||||||
4556 | ((void *)0)
| 0-654 | ||||||||||||||||||||||||||||||
4557 | ) <= 0
| 0-654 | ||||||||||||||||||||||||||||||
4558 | ossl_statem_fatal((s), (80), (559), (6), | - | ||||||||||||||||||||||||||||||
4559 | __FILE__ | - | ||||||||||||||||||||||||||||||
4560 | , | - | ||||||||||||||||||||||||||||||
4561 | 4709 | - | ||||||||||||||||||||||||||||||
4562 | ) | - | ||||||||||||||||||||||||||||||
4563 | ; | - | ||||||||||||||||||||||||||||||
4564 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4565 | } | - | ||||||||||||||||||||||||||||||
4566 | if (EVP_PKEY_keygen(pctx, &pkey) <= 0
| 0-4864 | ||||||||||||||||||||||||||||||
4567 | ossl_statem_fatal((s), (80), (559), (6), | - | ||||||||||||||||||||||||||||||
4568 | __FILE__ | - | ||||||||||||||||||||||||||||||
4569 | , | - | ||||||||||||||||||||||||||||||
4570 | 4714 | - | ||||||||||||||||||||||||||||||
4571 | ) | - | ||||||||||||||||||||||||||||||
4572 | ; | - | ||||||||||||||||||||||||||||||
4573 | EVP_PKEY_free(pkey); | - | ||||||||||||||||||||||||||||||
4574 | pkey = | - | ||||||||||||||||||||||||||||||
4575 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4576 | ; | - | ||||||||||||||||||||||||||||||
4577 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||
4578 | - | |||||||||||||||||||||||||||||||
4579 | err: code before this statement executed 4864 times by 1 test: err: Executed by:
| 4864 | ||||||||||||||||||||||||||||||
4580 | EVP_PKEY_CTX_free(pctx); | - | ||||||||||||||||||||||||||||||
4581 | return executed 4864 times by 1 test: pkey;return pkey; Executed by:
executed 4864 times by 1 test: return pkey; Executed by:
| 4864 | ||||||||||||||||||||||||||||||
4582 | } | - | ||||||||||||||||||||||||||||||
4583 | - | |||||||||||||||||||||||||||||||
4584 | - | |||||||||||||||||||||||||||||||
4585 | - | |||||||||||||||||||||||||||||||
4586 | - | |||||||||||||||||||||||||||||||
4587 | EVP_PKEY *ssl_generate_param_group(uint16_t id) | - | ||||||||||||||||||||||||||||||
4588 | { | - | ||||||||||||||||||||||||||||||
4589 | EVP_PKEY_CTX *pctx = | - | ||||||||||||||||||||||||||||||
4590 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4591 | ; | - | ||||||||||||||||||||||||||||||
4592 | EVP_PKEY *pkey = | - | ||||||||||||||||||||||||||||||
4593 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4594 | ; | - | ||||||||||||||||||||||||||||||
4595 | const TLS_GROUP_INFO *ginf = tls1_group_id_lookup(id); | - | ||||||||||||||||||||||||||||||
4596 | - | |||||||||||||||||||||||||||||||
4597 | if (ginf ==
| 0-1910 | ||||||||||||||||||||||||||||||
4598 | ((void *)0)
| 0-1910 | ||||||||||||||||||||||||||||||
4599 | ) | - | ||||||||||||||||||||||||||||||
4600 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4601 | - | |||||||||||||||||||||||||||||||
4602 | if ((
| 228-1682 | ||||||||||||||||||||||||||||||
4603 | pkey = EVP_PKEY_new(); | - | ||||||||||||||||||||||||||||||
4604 | if (pkey !=
| 0-1682 | ||||||||||||||||||||||||||||||
4605 | ((void *)0)
| 0-1682 | ||||||||||||||||||||||||||||||
4606 | && EVP_PKEY_set_type(pkey, ginf->nid)
| 0-1682 | ||||||||||||||||||||||||||||||
4607 | return executed 1682 times by 1 test: pkey;return pkey; Executed by:
executed 1682 times by 1 test: return pkey; Executed by:
| 1682 | ||||||||||||||||||||||||||||||
4608 | EVP_PKEY_free(pkey); | - | ||||||||||||||||||||||||||||||
4609 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4610 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4611 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4612 | } | - | ||||||||||||||||||||||||||||||
4613 | - | |||||||||||||||||||||||||||||||
4614 | pctx = EVP_PKEY_CTX_new_id(408, | - | ||||||||||||||||||||||||||||||
4615 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4616 | ); | - | ||||||||||||||||||||||||||||||
4617 | if (pctx ==
| 0-228 | ||||||||||||||||||||||||||||||
4618 | ((void *)0)
| 0-228 | ||||||||||||||||||||||||||||||
4619 | ) | - | ||||||||||||||||||||||||||||||
4620 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4621 | if (EVP_PKEY_paramgen_init(pctx) <= 0
| 0-228 | ||||||||||||||||||||||||||||||
4622 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4623 | if (EVP_PKEY_CTX_ctrl(pctx, 408, (1<<1)|(1<<2), (0x1000 + 1), ginf->nid,
| 0-228 | ||||||||||||||||||||||||||||||
4624 | ((void *)0)
| 0-228 | ||||||||||||||||||||||||||||||
4625 | ) <= 0
| 0-228 | ||||||||||||||||||||||||||||||
4626 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4627 | if (EVP_PKEY_paramgen(pctx, &pkey) <= 0
| 0-228 | ||||||||||||||||||||||||||||||
4628 | EVP_PKEY_free(pkey); | - | ||||||||||||||||||||||||||||||
4629 | pkey = | - | ||||||||||||||||||||||||||||||
4630 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4631 | ; | - | ||||||||||||||||||||||||||||||
4632 | } never executed: end of block | 0 | ||||||||||||||||||||||||||||||
4633 | - | |||||||||||||||||||||||||||||||
4634 | err: code before this statement executed 228 times by 1 test: err: Executed by:
| 228 | ||||||||||||||||||||||||||||||
4635 | EVP_PKEY_CTX_free(pctx); | - | ||||||||||||||||||||||||||||||
4636 | return executed 228 times by 1 test: pkey;return pkey; Executed by:
executed 228 times by 1 test: return pkey; Executed by:
| 228 | ||||||||||||||||||||||||||||||
4637 | } | - | ||||||||||||||||||||||||||||||
4638 | - | |||||||||||||||||||||||||||||||
4639 | - | |||||||||||||||||||||||||||||||
4640 | - | |||||||||||||||||||||||||||||||
4641 | int ssl_derive(SSL *s, EVP_PKEY *privkey, EVP_PKEY *pubkey, int gensecret) | - | ||||||||||||||||||||||||||||||
4642 | { | - | ||||||||||||||||||||||||||||||
4643 | int rv = 0; | - | ||||||||||||||||||||||||||||||
4644 | unsigned char *pms = | - | ||||||||||||||||||||||||||||||
4645 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4646 | ; | - | ||||||||||||||||||||||||||||||
4647 | size_t pmslen = 0; | - | ||||||||||||||||||||||||||||||
4648 | EVP_PKEY_CTX *pctx; | - | ||||||||||||||||||||||||||||||
4649 | - | |||||||||||||||||||||||||||||||
4650 | if (privkey ==
| 0-3432 | ||||||||||||||||||||||||||||||
4651 | ((void *)0)
| 0-3432 | ||||||||||||||||||||||||||||||
4652 | || pubkey ==
| 0-3432 | ||||||||||||||||||||||||||||||
4653 | ((void *)0)
| 0-3432 | ||||||||||||||||||||||||||||||
4654 | ) { | - | ||||||||||||||||||||||||||||||
4655 | ossl_statem_fatal((s), (80), (590), ((4|64)), | - | ||||||||||||||||||||||||||||||
4656 | __FILE__ | - | ||||||||||||||||||||||||||||||
4657 | , | - | ||||||||||||||||||||||||||||||
4658 | 4772 | - | ||||||||||||||||||||||||||||||
4659 | ) | - | ||||||||||||||||||||||||||||||
4660 | ; | - | ||||||||||||||||||||||||||||||
4661 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||||||||
4662 | } | - | ||||||||||||||||||||||||||||||
4663 | - | |||||||||||||||||||||||||||||||
4664 | pctx = EVP_PKEY_CTX_new(privkey, | - | ||||||||||||||||||||||||||||||
4665 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4666 | ); | - | ||||||||||||||||||||||||||||||
4667 | - | |||||||||||||||||||||||||||||||
4668 | if (EVP_PKEY_derive_init(pctx) <= 0
| 0-3432 | ||||||||||||||||||||||||||||||
4669 | || EVP_PKEY_derive_set_peer(pctx, pubkey) <= 0
| 0-3432 | ||||||||||||||||||||||||||||||
4670 | || EVP_PKEY_derive(pctx,
| 0-3432 | ||||||||||||||||||||||||||||||
4671 | ((void *)0)
| 0-3432 | ||||||||||||||||||||||||||||||
4672 | , &pmslen) <= 0
| 0-3432 | ||||||||||||||||||||||||||||||
4673 | ossl_statem_fatal((s), (80), (590), ((4|64)), | - | ||||||||||||||||||||||||||||||
4674 | __FILE__ | - | ||||||||||||||||||||||||||||||
4675 | , | - | ||||||||||||||||||||||||||||||
4676 | 4782 | - | ||||||||||||||||||||||||||||||
4677 | ) | - | ||||||||||||||||||||||||||||||
4678 | ; | - | ||||||||||||||||||||||||||||||
4679 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4680 | } | - | ||||||||||||||||||||||||||||||
4681 | - | |||||||||||||||||||||||||||||||
4682 | pms = CRYPTO_malloc(pmslen, __FILE__, 4786); | - | ||||||||||||||||||||||||||||||
4683 | if (pms ==
| 0-3432 | ||||||||||||||||||||||||||||||
4684 | ((void *)0)
| 0-3432 | ||||||||||||||||||||||||||||||
4685 | ) { | - | ||||||||||||||||||||||||||||||
4686 | ossl_statem_fatal((s), (80), (590), ((1|64)), | - | ||||||||||||||||||||||||||||||
4687 | __FILE__ | - | ||||||||||||||||||||||||||||||
4688 | , | - | ||||||||||||||||||||||||||||||
4689 | 4789 | - | ||||||||||||||||||||||||||||||
4690 | ) | - | ||||||||||||||||||||||||||||||
4691 | ; | - | ||||||||||||||||||||||||||||||
4692 | goto never executed: err;goto err; never executed: goto err; | 0 | ||||||||||||||||||||||||||||||
4693 | } | - | ||||||||||||||||||||||||||||||
4694 | - | |||||||||||||||||||||||||||||||
4695 | if (EVP_PKEY_derive(pctx, pms, &pmslen) <= 0
| 26-3406 | ||||||||||||||||||||||||||||||
4696 | ossl_statem_fatal((s), (80), (590), ((4|64)), | - | ||||||||||||||||||||||||||||||
4697 | __FILE__ | - | ||||||||||||||||||||||||||||||
4698 | , | - | ||||||||||||||||||||||||||||||
4699 | 4795 | - | ||||||||||||||||||||||||||||||
4700 | ) | - | ||||||||||||||||||||||||||||||
4701 | ; | - | ||||||||||||||||||||||||||||||
4702 | goto executed 26 times by 1 test: err;goto err; Executed by:
executed 26 times by 1 test: goto err; Executed by:
| 26 | ||||||||||||||||||||||||||||||
4703 | } | - | ||||||||||||||||||||||||||||||
4704 | - | |||||||||||||||||||||||||||||||
4705 | if (gensecret
| 932-2474 | ||||||||||||||||||||||||||||||
4706 | - | |||||||||||||||||||||||||||||||
4707 | if ((!(s->method->ssl3_enc->enc_flags & 0x8)
| 0-2350 | ||||||||||||||||||||||||||||||
4708 | - | |||||||||||||||||||||||||||||||
4709 | - | |||||||||||||||||||||||||||||||
4710 | - | |||||||||||||||||||||||||||||||
4711 | - | |||||||||||||||||||||||||||||||
4712 | if (!s->hit
| 215-1252 | ||||||||||||||||||||||||||||||
4713 | rv = tls13_generate_secret(s, ssl_handshake_md(s), executed 1252 times by 1 test: rv = tls13_generate_secret(s, ssl_handshake_md(s), ((void *)0) , ((void *)0) , 0, (unsigned char *)&s->early_secret); Executed by:
| 1252 | ||||||||||||||||||||||||||||||
4714 | ((void *)0) executed 1252 times by 1 test: rv = tls13_generate_secret(s, ssl_handshake_md(s), ((void *)0) , ((void *)0) , 0, (unsigned char *)&s->early_secret); Executed by:
| 1252 | ||||||||||||||||||||||||||||||
4715 | , executed 1252 times by 1 test: rv = tls13_generate_secret(s, ssl_handshake_md(s), ((void *)0) , ((void *)0) , 0, (unsigned char *)&s->early_secret); Executed by:
| 1252 | ||||||||||||||||||||||||||||||
4716 | ((void *)0) executed 1252 times by 1 test: rv = tls13_generate_secret(s, ssl_handshake_md(s), ((void *)0) , ((void *)0) , 0, (unsigned char *)&s->early_secret); Executed by:
| 1252 | ||||||||||||||||||||||||||||||
4717 | , executed 1252 times by 1 test: rv = tls13_generate_secret(s, ssl_handshake_md(s), ((void *)0) , ((void *)0) , 0, (unsigned char *)&s->early_secret); Executed by:
| 1252 | ||||||||||||||||||||||||||||||
4718 | 0, executed 1252 times by 1 test: rv = tls13_generate_secret(s, ssl_handshake_md(s), ((void *)0) , ((void *)0) , 0, (unsigned char *)&s->early_secret); Executed by:
| 1252 | ||||||||||||||||||||||||||||||
4719 | (unsigned char *)&s->early_secret); executed 1252 times by 1 test: rv = tls13_generate_secret(s, ssl_handshake_md(s), ((void *)0) , ((void *)0) , 0, (unsigned char *)&s->early_secret); Executed by:
| 1252 | ||||||||||||||||||||||||||||||
4720 | else | - | ||||||||||||||||||||||||||||||
4721 | rv = 1; executed 215 times by 1 test: rv = 1; Executed by:
| 215 | ||||||||||||||||||||||||||||||
4722 | - | |||||||||||||||||||||||||||||||
4723 | rv = rv
| 0-1467 | ||||||||||||||||||||||||||||||
4724 | } executed 1467 times by 1 test: else {end of block Executed by:
| 1467 | ||||||||||||||||||||||||||||||
4725 | rv = ssl_generate_master_secret(s, pms, pmslen, 0); | - | ||||||||||||||||||||||||||||||
4726 | } executed 1007 times by 1 test: end of block Executed by:
| 1007 | ||||||||||||||||||||||||||||||
4727 | } else { | - | ||||||||||||||||||||||||||||||
4728 | - | |||||||||||||||||||||||||||||||
4729 | s->s3->tmp.pms = pms; | - | ||||||||||||||||||||||||||||||
4730 | s->s3->tmp.pmslen = pmslen; | - | ||||||||||||||||||||||||||||||
4731 | pms = | - | ||||||||||||||||||||||||||||||
4732 | ((void *)0) | - | ||||||||||||||||||||||||||||||
4733 | ; | - | ||||||||||||||||||||||||||||||
4734 | rv = 1; | - | ||||||||||||||||||||||||||||||
4735 | } executed 932 times by 1 test: end of block Executed by:
| 932 | ||||||||||||||||||||||||||||||
4736 | - | |||||||||||||||||||||||||||||||
4737 | err: code before this statement executed 3406 times by 1 test: err: Executed by:
| 3406 | ||||||||||||||||||||||||||||||
4738 | CRYPTO_clear_free(pms, pmslen, __FILE__, 4826); | - | ||||||||||||||||||||||||||||||
4739 | EVP_PKEY_CTX_free(pctx); | - | ||||||||||||||||||||||||||||||
4740 | return executed 3432 times by 1 test: rv;return rv; Executed by:
executed 3432 times by 1 test: return rv; Executed by:
| 3432 | ||||||||||||||||||||||||||||||
4741 | } | - | ||||||||||||||||||||||||||||||
4742 | - | |||||||||||||||||||||||||||||||
4743 | - | |||||||||||||||||||||||||||||||
4744 | EVP_PKEY *ssl_dh_to_pkey(DH *dh) | - | ||||||||||||||||||||||||||||||
4745 | { | - | ||||||||||||||||||||||||||||||
4746 | EVP_PKEY *ret; | - | ||||||||||||||||||||||||||||||
4747 | if (dh ==
| 0-235 | ||||||||||||||||||||||||||||||
4748 | ((void *)0)
| 0-235 | ||||||||||||||||||||||||||||||
4749 | ) | - | ||||||||||||||||||||||||||||||
4750 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4751 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4752 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4753 | ret = EVP_PKEY_new(); | - | ||||||||||||||||||||||||||||||
4754 | if (EVP_PKEY_set1_DH(ret, dh) <= 0
| 0-235 | ||||||||||||||||||||||||||||||
4755 | EVP_PKEY_free(ret); | - | ||||||||||||||||||||||||||||||
4756 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4757 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4758 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||
4759 | } | - | ||||||||||||||||||||||||||||||
4760 | return executed 235 times by 1 test: ret;return ret; Executed by:
executed 235 times by 1 test: return ret; Executed by:
| 235 | ||||||||||||||||||||||||||||||
4761 | } | - | ||||||||||||||||||||||||||||||
Switch to Source code | Preprocessed file |