xref: /freebsd/crypto/openssl/test/ssl-tests/13-fragmentation.cnf (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1# Generated with generate_ssl_tests.pl
2
3num_tests = 22
4
5test-0 = 0-one-fragment-minus-app-data
6test-1 = 1-one-fragment-app-data
7test-2 = 2-one-fragment-plus-app-data
8test-3 = 3-small-app-data
9test-4 = 4-small-app-data-large-fragment-size
10test-5 = 5-medium-app-data
11test-6 = 6-medium-plus-app-data
12test-7 = 7-large-app-data
13test-8 = 8-large-app-data-large-fragment-size
14test-9 = 9-large-app-data-odd-fragment-size
15test-10 = 10-large-app-data-aes-sha1-multibuffer
16test-11 = 11-large-app-data-aes-sha2-multibuffer
17test-12 = 12-large-app-data-aes-sha1-multibuffer-odd-fragment
18test-13 = 13-large-app-data-aes-sha2-multibuffer-odd-fragment
19test-14 = 14-small-app-data-aes-sha1-multibuffer
20test-15 = 15-small-app-data-aes-sha2-multibuffer
21test-16 = 16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled
22test-17 = 17-Maximum Fragment Len extension equal FragmentSize to 2048
23test-18 = 18-Maximum Fragment Len extension 512 lower than FragmentSize 1024
24test-19 = 19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024
25test-20 = 20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048
26test-21 = 21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024
27# ===========================================================
28
29[0-one-fragment-minus-app-data]
30ssl_conf = 0-one-fragment-minus-app-data-ssl
31
32[0-one-fragment-minus-app-data-ssl]
33server = 0-one-fragment-minus-app-data-server
34client = 0-one-fragment-minus-app-data-client
35
36[0-one-fragment-minus-app-data-server]
37Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
38CipherString = DEFAULT
39PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
40
41[0-one-fragment-minus-app-data-client]
42CipherString = DEFAULT
43VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
44VerifyMode = Peer
45
46[test-0]
47ApplicationData = 511
48
49
50# ===========================================================
51
52[1-one-fragment-app-data]
53ssl_conf = 1-one-fragment-app-data-ssl
54
55[1-one-fragment-app-data-ssl]
56server = 1-one-fragment-app-data-server
57client = 1-one-fragment-app-data-client
58
59[1-one-fragment-app-data-server]
60Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
61CipherString = DEFAULT
62PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
63
64[1-one-fragment-app-data-client]
65CipherString = DEFAULT
66VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
67VerifyMode = Peer
68
69[test-1]
70ApplicationData = 512
71
72
73# ===========================================================
74
75[2-one-fragment-plus-app-data]
76ssl_conf = 2-one-fragment-plus-app-data-ssl
77
78[2-one-fragment-plus-app-data-ssl]
79server = 2-one-fragment-plus-app-data-server
80client = 2-one-fragment-plus-app-data-client
81
82[2-one-fragment-plus-app-data-server]
83Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
84CipherString = DEFAULT
85PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
86
87[2-one-fragment-plus-app-data-client]
88CipherString = DEFAULT
89VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
90VerifyMode = Peer
91
92[test-2]
93ApplicationData = 513
94
95
96# ===========================================================
97
98[3-small-app-data]
99ssl_conf = 3-small-app-data-ssl
100
101[3-small-app-data-ssl]
102server = 3-small-app-data-server
103client = 3-small-app-data-client
104
105[3-small-app-data-server]
106Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
107CipherString = DEFAULT
108PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
109
110[3-small-app-data-client]
111CipherString = DEFAULT
112VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
113VerifyMode = Peer
114
115[test-3]
116ApplicationData = 4097
117
118
119# ===========================================================
120
121[4-small-app-data-large-fragment-size]
122ssl_conf = 4-small-app-data-large-fragment-size-ssl
123
124[4-small-app-data-large-fragment-size-ssl]
125server = 4-small-app-data-large-fragment-size-server
126client = 4-small-app-data-large-fragment-size-client
127
128[4-small-app-data-large-fragment-size-server]
129Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
130CipherString = DEFAULT
131PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
132
133[4-small-app-data-large-fragment-size-client]
134CipherString = DEFAULT
135VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
136VerifyMode = Peer
137
138[test-4]
139ApplicationData = 4097
140MaxFragmentSize = 16384
141
142
143# ===========================================================
144
145[5-medium-app-data]
146ssl_conf = 5-medium-app-data-ssl
147
148[5-medium-app-data-ssl]
149server = 5-medium-app-data-server
150client = 5-medium-app-data-client
151
152[5-medium-app-data-server]
153Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
154CipherString = DEFAULT
155PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
156
157[5-medium-app-data-client]
158CipherString = DEFAULT
159VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
160VerifyMode = Peer
161
162[test-5]
163ApplicationData = 32775
164
165
166# ===========================================================
167
168[6-medium-plus-app-data]
169ssl_conf = 6-medium-plus-app-data-ssl
170
171[6-medium-plus-app-data-ssl]
172server = 6-medium-plus-app-data-server
173client = 6-medium-plus-app-data-client
174
175[6-medium-plus-app-data-server]
176Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
177CipherString = DEFAULT
178PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
179
180[6-medium-plus-app-data-client]
181CipherString = DEFAULT
182VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
183VerifyMode = Peer
184
185[test-6]
186ApplicationData = 131069
187
188
189# ===========================================================
190
191[7-large-app-data]
192ssl_conf = 7-large-app-data-ssl
193
194[7-large-app-data-ssl]
195server = 7-large-app-data-server
196client = 7-large-app-data-client
197
198[7-large-app-data-server]
199Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
200CipherString = DEFAULT
201PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
202
203[7-large-app-data-client]
204CipherString = DEFAULT
205VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
206VerifyMode = Peer
207
208[test-7]
209ApplicationData = 1048576
210
211
212# ===========================================================
213
214[8-large-app-data-large-fragment-size]
215ssl_conf = 8-large-app-data-large-fragment-size-ssl
216
217[8-large-app-data-large-fragment-size-ssl]
218server = 8-large-app-data-large-fragment-size-server
219client = 8-large-app-data-large-fragment-size-client
220
221[8-large-app-data-large-fragment-size-server]
222Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
223CipherString = DEFAULT
224PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
225
226[8-large-app-data-large-fragment-size-client]
227CipherString = DEFAULT
228VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
229VerifyMode = Peer
230
231[test-8]
232ApplicationData = 1048576
233MaxFragmentSize = 16384
234
235
236# ===========================================================
237
238[9-large-app-data-odd-fragment-size]
239ssl_conf = 9-large-app-data-odd-fragment-size-ssl
240
241[9-large-app-data-odd-fragment-size-ssl]
242server = 9-large-app-data-odd-fragment-size-server
243client = 9-large-app-data-odd-fragment-size-client
244
245[9-large-app-data-odd-fragment-size-server]
246Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
247CipherString = DEFAULT
248PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
249
250[9-large-app-data-odd-fragment-size-client]
251CipherString = DEFAULT
252VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
253VerifyMode = Peer
254
255[test-9]
256ApplicationData = 1048576
257MaxFragmentSize = 5115
258
259
260# ===========================================================
261
262[10-large-app-data-aes-sha1-multibuffer]
263ssl_conf = 10-large-app-data-aes-sha1-multibuffer-ssl
264
265[10-large-app-data-aes-sha1-multibuffer-ssl]
266server = 10-large-app-data-aes-sha1-multibuffer-server
267client = 10-large-app-data-aes-sha1-multibuffer-client
268
269[10-large-app-data-aes-sha1-multibuffer-server]
270Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
271CipherString = DEFAULT
272PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
273
274[10-large-app-data-aes-sha1-multibuffer-client]
275CipherString = AES128-SHA
276MaxProtocol = TLSv1.2
277VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
278VerifyMode = Peer
279
280[test-10]
281ApplicationData = 1048576
282MaxFragmentSize = 4096
283
284
285# ===========================================================
286
287[11-large-app-data-aes-sha2-multibuffer]
288ssl_conf = 11-large-app-data-aes-sha2-multibuffer-ssl
289
290[11-large-app-data-aes-sha2-multibuffer-ssl]
291server = 11-large-app-data-aes-sha2-multibuffer-server
292client = 11-large-app-data-aes-sha2-multibuffer-client
293
294[11-large-app-data-aes-sha2-multibuffer-server]
295Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
296CipherString = DEFAULT
297PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
298
299[11-large-app-data-aes-sha2-multibuffer-client]
300CipherString = AES128-SHA256
301MaxProtocol = TLSv1.2
302VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
303VerifyMode = Peer
304
305[test-11]
306ApplicationData = 1048576
307MaxFragmentSize = 4096
308
309
310# ===========================================================
311
312[12-large-app-data-aes-sha1-multibuffer-odd-fragment]
313ssl_conf = 12-large-app-data-aes-sha1-multibuffer-odd-fragment-ssl
314
315[12-large-app-data-aes-sha1-multibuffer-odd-fragment-ssl]
316server = 12-large-app-data-aes-sha1-multibuffer-odd-fragment-server
317client = 12-large-app-data-aes-sha1-multibuffer-odd-fragment-client
318
319[12-large-app-data-aes-sha1-multibuffer-odd-fragment-server]
320Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
321CipherString = DEFAULT
322PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
323
324[12-large-app-data-aes-sha1-multibuffer-odd-fragment-client]
325CipherString = AES128-SHA
326MaxProtocol = TLSv1.2
327VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
328VerifyMode = Peer
329
330[test-12]
331ApplicationData = 1048579
332MaxFragmentSize = 5115
333
334
335# ===========================================================
336
337[13-large-app-data-aes-sha2-multibuffer-odd-fragment]
338ssl_conf = 13-large-app-data-aes-sha2-multibuffer-odd-fragment-ssl
339
340[13-large-app-data-aes-sha2-multibuffer-odd-fragment-ssl]
341server = 13-large-app-data-aes-sha2-multibuffer-odd-fragment-server
342client = 13-large-app-data-aes-sha2-multibuffer-odd-fragment-client
343
344[13-large-app-data-aes-sha2-multibuffer-odd-fragment-server]
345Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
346CipherString = DEFAULT
347PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
348
349[13-large-app-data-aes-sha2-multibuffer-odd-fragment-client]
350CipherString = AES128-SHA256
351MaxProtocol = TLSv1.2
352VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
353VerifyMode = Peer
354
355[test-13]
356ApplicationData = 1048573
357MaxFragmentSize = 5125
358
359
360# ===========================================================
361
362[14-small-app-data-aes-sha1-multibuffer]
363ssl_conf = 14-small-app-data-aes-sha1-multibuffer-ssl
364
365[14-small-app-data-aes-sha1-multibuffer-ssl]
366server = 14-small-app-data-aes-sha1-multibuffer-server
367client = 14-small-app-data-aes-sha1-multibuffer-client
368
369[14-small-app-data-aes-sha1-multibuffer-server]
370Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
371CipherString = DEFAULT
372PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
373
374[14-small-app-data-aes-sha1-multibuffer-client]
375CipherString = AES128-SHA
376MaxProtocol = TLSv1.2
377VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
378VerifyMode = Peer
379
380[test-14]
381ApplicationData = 4096
382MaxFragmentSize = 4096
383
384
385# ===========================================================
386
387[15-small-app-data-aes-sha2-multibuffer]
388ssl_conf = 15-small-app-data-aes-sha2-multibuffer-ssl
389
390[15-small-app-data-aes-sha2-multibuffer-ssl]
391server = 15-small-app-data-aes-sha2-multibuffer-server
392client = 15-small-app-data-aes-sha2-multibuffer-client
393
394[15-small-app-data-aes-sha2-multibuffer-server]
395Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
396CipherString = DEFAULT
397PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
398
399[15-small-app-data-aes-sha2-multibuffer-client]
400CipherString = AES128-SHA256
401MaxProtocol = TLSv1.2
402VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
403VerifyMode = Peer
404
405[test-15]
406ApplicationData = 4096
407MaxFragmentSize = 4096
408
409
410# ===========================================================
411
412[16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled]
413ssl_conf = 16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-ssl
414
415[16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-ssl]
416server = 16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-server
417client = 16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-client
418
419[16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-server]
420Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
421CipherString = DEFAULT
422PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
423
424[16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-client]
425CipherString = DEFAULT
426VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
427VerifyMode = Peer
428
429[test-16]
430ApplicationData = 3072
431MaxFragmentSize = 16384
432client = 16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-client-extra
433
434[16-Maximum Fragment Len extension set to 1024 w. FragmentSize disabled-client-extra]
435MaxFragmentLenExt = 1024
436
437
438# ===========================================================
439
440[17-Maximum Fragment Len extension equal FragmentSize to 2048]
441ssl_conf = 17-Maximum Fragment Len extension equal FragmentSize to 2048-ssl
442
443[17-Maximum Fragment Len extension equal FragmentSize to 2048-ssl]
444server = 17-Maximum Fragment Len extension equal FragmentSize to 2048-server
445client = 17-Maximum Fragment Len extension equal FragmentSize to 2048-client
446
447[17-Maximum Fragment Len extension equal FragmentSize to 2048-server]
448Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
449CipherString = DEFAULT
450PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
451
452[17-Maximum Fragment Len extension equal FragmentSize to 2048-client]
453CipherString = DEFAULT
454VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
455VerifyMode = Peer
456
457[test-17]
458ApplicationData = 3072
459MaxFragmentSize = 2048
460client = 17-Maximum Fragment Len extension equal FragmentSize to 2048-client-extra
461
462[17-Maximum Fragment Len extension equal FragmentSize to 2048-client-extra]
463MaxFragmentLenExt = 2048
464
465
466# ===========================================================
467
468[18-Maximum Fragment Len extension 512 lower than FragmentSize 1024]
469ssl_conf = 18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-ssl
470
471[18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-ssl]
472server = 18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-server
473client = 18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-client
474
475[18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-server]
476Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
477CipherString = DEFAULT
478PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
479
480[18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-client]
481CipherString = DEFAULT
482VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
483VerifyMode = Peer
484
485[test-18]
486ApplicationData = 3072
487MaxFragmentSize = 1024
488client = 18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-client-extra
489
490[18-Maximum Fragment Len extension 512 lower than FragmentSize 1024-client-extra]
491MaxFragmentLenExt = 512
492
493
494# ===========================================================
495
496[19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024]
497ssl_conf = 19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-ssl
498
499[19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-ssl]
500server = 19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-server
501client = 19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-client
502
503[19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-server]
504Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
505CipherString = DEFAULT
506PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
507
508[19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-client]
509CipherString = DEFAULT
510VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
511VerifyMode = Peer
512
513[test-19]
514ApplicationData = 3072
515MaxFragmentSize = 1024
516client = 19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-client-extra
517
518[19-Maximum Fragment Len extension 1024 lower than FragmentSize 1024-client-extra]
519MaxFragmentLenExt = 2048
520
521
522# ===========================================================
523
524[20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048]
525ssl_conf = 20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-ssl
526
527[20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-ssl]
528server = 20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-server
529client = 20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-client
530
531[20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-server]
532Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
533CipherString = DEFAULT
534PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
535
536[20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-client]
537CipherString = DEFAULT
538VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
539VerifyMode = Peer
540
541[test-20]
542ApplicationData = 8196
543MaxFragmentSize = 2048
544client = 20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-client-extra
545
546[20-Maximum Fragment Len extension 4096 greater than FragmentSize 2048-client-extra]
547MaxFragmentLenExt = 4096
548
549
550# ===========================================================
551
552[21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024]
553ssl_conf = 21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-ssl
554
555[21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-ssl]
556server = 21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-server
557client = 21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-client
558
559[21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-server]
560Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
561CipherString = DEFAULT
562PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
563
564[21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-client]
565CipherString = DEFAULT
566VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
567VerifyMode = Peer
568
569[test-21]
570ApplicationData = 3072
571MaxFragmentSize = 1024
572client = 21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-client-extra
573
574[21-Maximum Fragment Len extension 2048 greater than FragmentSize 1024-client-extra]
575MaxFragmentLenExt = 2048
576
577
578