096423bde2c78dce016d9d11ab343f673994e4d6
[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           "MaxProtocol" => "TLSv1.2"
23         },
24         test   => {
25           "ExpectedResult" => "Success",
26         },
27     },
28     {
29         name => "disable-encrypt-then-mac-client-sha",
30         server => {
31         },
32         client => {
33           "CipherString" => "AES128-SHA",
34           "Options" => "-EncryptThenMac",
35           "MaxProtocol" => "TLSv1.2"
36         },
37         test   => {
38           "ExpectedResult" => "Success",
39         },
40     },
41     {
42         name => "disable-encrypt-then-mac-both-sha",
43         server => {
44           "Options" => "-EncryptThenMac",
45         },
46         client => {
47           "CipherString" => "AES128-SHA",
48           "Options" => "-EncryptThenMac",
49           "MaxProtocol" => "TLSv1.2"
50         },
51         test   => {
52           "ExpectedResult" => "Success",
53         },
54     },
55     {
56         name => "disable-encrypt-then-mac-server-sha2",
57         server => {
58           "Options" => "-EncryptThenMac",
59           "MaxProtocol" => "TLSv1.2"
60         },
61         client => {
62           "CipherString" => "AES128-SHA256",
63         },
64         test   => {
65           "ExpectedResult" => "Success",
66         },
67     },
68     {
69         name => "disable-encrypt-then-mac-client-sha2",
70         server => {
71         },
72         client => {
73           "CipherString" => "AES128-SHA256",
74           "Options" => "-EncryptThenMac",
75           "MaxProtocol" => "TLSv1.2"
76         },
77         test   => {
78           "ExpectedResult" => "Success",
79         },
80     },
81     {
82         name => "disable-encrypt-then-mac-both-sha2",
83         server => {
84           "Options" => "-EncryptThenMac",
85         },
86         client => {
87           "CipherString" => "AES128-SHA256",
88           "Options" => "-EncryptThenMac",
89           "MaxProtocol" => "TLSv1.2"
90         },
91         test   => {
92           "ExpectedResult" => "Success",
93         },
94     },
95 );