Lines Matching refs:curve
63 for my $curve ($stanza =~ /(?<=\()MBEDTLS_ECP_DP_\w+_ENABLED(?=\))/g) {
64 $curve_supports_ecdsa{$curve} = 1;
81 for my $curve (@curves) {
82 system( "scripts/config.pl unset $curve" )
83 and abort "Failed to disable $curve\n";
90 for my $curve (@curves) {
94 print "* Testing with only curve: $curve\n";
96 $ENV{MBEDTLS_TEST_CONFIGURATION} = "$curve";
98 system( "scripts/config.pl set $curve" )
99 and abort "Failed to enable $curve\n";
101 my $ecdsa = $curve_supports_ecdsa{$curve} ? "set" : "unset";
110 and abort "Failed to build: only $curve\n";
112 and abort "Failed test suite: only $curve\n";
114 system( "scripts/config.pl unset $curve" )
115 and abort "Failed to disable $curve\n";
121 for my $curve (@curves) {
129 print "* Testing without curve: $curve\n";
131 $ENV{MBEDTLS_TEST_CONFIGURATION} = "-$curve";
133 system( "scripts/config.py unset $curve" )
134 and abort "Failed to disable $curve\n";
137 and abort "Failed to build: all but $curve\n";
139 and abort "Failed test suite: all but $curve\n";