Lines Matching +full:no +full:- +full:fips
1 # -*- mode: perl; -*-
2 # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
25 # undef stands for "no limit".
85 # undef stands for "no limit".
105 my ($dtls, $fips) = @_;
106 if ($dtls && $fips) {
115 my $fips = shift;
126 if ($fips) {
140 if (no_tests($dtls, $fips)) {
148 my $c_max_min = $c_min == 0 ? 0 : $c_min - 1;
151 my $s_max_min = $s_min == 0 ? 0 : $s_min - 1;
158 "name" => "version-negotiation",
175 $tests[-1]{"test"}{"UseSCTP"} = "Yes" if $sctp;
189 "name" => "ciphersuite-sanity-check-client",
192 "CipherString" => "AES128-SHA",
203 "name" => "ciphersuite-sanity-check-server",
205 "CipherString" => "AES128-SHA",
210 "CipherString" => "AES128-SHA",
223 my $fips = shift;
233 if ($fips) {
250 # Obtain the first session against a fixed-version server/client.
260 $resumption_expected = "No";
265 foreach my $ticket ("SessionTicket", "-SessionTicket") {
290 $server_tests[-1]{"test"}{"UseSCTP"} = "Yes" if $sctp;
314 $client_tests[-1]{"test"}{"UseSCTP"} = "Yes" if $sctp;
322 "name" => "resumption-with-hrr",
326 "Curves" => disabled("ec") ? "ffdhe3072" : "P-256"
348 # Adjust for "undef" (no limit).
349 $c_min = $c_min == 0 ? 0 : $c_min - 1;
350 $c_max = $c_max == scalar @$protocols ? $c_max - 1 : $c_max;
351 $s_min = $s_min == 0 ? 0 : $s_min - 1;
352 $s_max = $s_max == scalar @$protocols ? $s_max - 1 : $s_max;
355 # $max_enabled are well-defined.
369 # Server has no protocols, should always fail.
377 # that there are no overlapping versions.
387 return ("Success", $protocols->[$max_common]);