2 # Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
4 # Licensed under the OpenSSL license (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
10 ## SSL test configurations
14 use OpenSSL::Test::Utils;
18 name => "disable-encrypt-then-mac-server-sha",
20 "Options" => "-EncryptThenMac",
23 "CipherString" => "AES128-SHA",
24 "MaxProtocol" => "TLSv1.2"
27 "ExpectedResult" => "Success",
31 name => "disable-encrypt-then-mac-client-sha",
35 "CipherString" => "AES128-SHA",
36 "Options" => "-EncryptThenMac",
37 "MaxProtocol" => "TLSv1.2"
40 "ExpectedResult" => "Success",
44 name => "disable-encrypt-then-mac-both-sha",
46 "Options" => "-EncryptThenMac",
49 "CipherString" => "AES128-SHA",
50 "Options" => "-EncryptThenMac",
51 "MaxProtocol" => "TLSv1.2"
54 "ExpectedResult" => "Success",
61 name => "disable-encrypt-then-mac-server-sha2",
63 "Options" => "-EncryptThenMac",
64 "MaxProtocol" => "TLSv1.2"
67 "CipherString" => "AES128-SHA256",
70 "ExpectedResult" => "Success",
74 name => "disable-encrypt-then-mac-client-sha2",
78 "CipherString" => "AES128-SHA256",
79 "Options" => "-EncryptThenMac",
80 "MaxProtocol" => "TLSv1.2"
83 "ExpectedResult" => "Success",
87 name => "disable-encrypt-then-mac-both-sha2",
89 "Options" => "-EncryptThenMac",
92 "CipherString" => "AES128-SHA256",
93 "Options" => "-EncryptThenMac",
94 "MaxProtocol" => "TLSv1.2"
97 "ExpectedResult" => "Success",
102 push @tests, @tests_tls1_2 unless disabled("tls1_2");