Ensure we are in accept state in DTLSv1_listen
[openssl.git] / test / ssl-tests / 19-mac-then-encrypt.conf.in
1 # -*- mode: perl; -*-
2 # Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the OpenSSL license (the "License").  You may not use
5 # this file except in compliance with the License.  You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9
10 ## SSL test configurations
11
12 package ssltests;
13
14 our @tests = (
15     {
16         name => "disable-encrypt-then-mac-server-sha",
17         server => {
18           "Options" => "-EncryptThenMac",
19         },
20         client => {
21           "CipherString" => "AES128-SHA",
22         },
23         test   => {
24           "ExpectedResult" => "Success",
25         },
26     },
27     {
28         name => "disable-encrypt-then-mac-client-sha",
29         server => {
30         },
31         client => {
32           "CipherString" => "AES128-SHA",
33           "Options" => "-EncryptThenMac",
34         },
35         test   => {
36           "ExpectedResult" => "Success",
37         },
38     },
39     {
40         name => "disable-encrypt-then-mac-both-sha",
41         server => {
42           "Options" => "-EncryptThenMac",
43         },
44         client => {
45           "CipherString" => "AES128-SHA",
46           "Options" => "-EncryptThenMac",
47         },
48         test   => {
49           "ExpectedResult" => "Success",
50         },
51     },
52     {
53         name => "disable-encrypt-then-mac-server-sha2",
54         server => {
55           "Options" => "-EncryptThenMac",
56         },
57         client => {
58           "CipherString" => "AES128-SHA256",
59         },
60         test   => {
61           "ExpectedResult" => "Success",
62         },
63     },
64     {
65         name => "disable-encrypt-then-mac-client-sha2",
66         server => {
67         },
68         client => {
69           "CipherString" => "AES128-SHA256",
70           "Options" => "-EncryptThenMac",
71         },
72         test   => {
73           "ExpectedResult" => "Success",
74         },
75     },
76     {
77         name => "disable-encrypt-then-mac-both-sha2",
78         server => {
79           "Options" => "-EncryptThenMac",
80         },
81         client => {
82           "CipherString" => "AES128-SHA256",
83           "Options" => "-EncryptThenMac",
84         },
85         test   => {
86           "ExpectedResult" => "Success",
87         },
88     },
89 );