Skip to content

Commit

Permalink
Skip P-192 tests in FIPS
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@surgut.co.uk>
  • Loading branch information
xnox committed Apr 18, 2024
1 parent e2e7b4e commit 57222bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/acvp_test.inc
Expand Up @@ -211,15 +211,6 @@ static const unsigned char ecdsa_sigver_s1[] = {
0xB1, 0xAC,
};
static const struct ecdsa_sigver_st ecdsa_sigver_data[] = {
{
"SHA-1",
"P-192",
ITM(ecdsa_sigver_msg0),
ITM(ecdsa_sigver_pub0),
ITM(ecdsa_sigver_r0),
ITM(ecdsa_sigver_s0),
PASS,
},
{
"SHA2-512",
"P-521",
Expand Down
3 changes: 3 additions & 0 deletions test/recipes/65-test_cmp_protect.t
Expand Up @@ -27,6 +27,9 @@ plan skip_all => "This test is not supported in a no-cmp build"
plan skip_all => "This test is not supported in a shared library build on Windows"
if $^O eq 'MSWin32' && !disabled("shared");

plan skip_all => "Intermediate_CA.crt uses legacy P-192"
unless $no_fips;

plan tests => 2 + ($no_fips ? 0 : 1); #fips test

my @basic_cmd = ("cmp_protect_test",
Expand Down
3 changes: 3 additions & 0 deletions test/recipes/65-test_cmp_vfy.t
Expand Up @@ -27,6 +27,9 @@ plan skip_all => "This test is not supported in a no-cmp build"
plan skip_all => "This test is not supported in a no-ec build"
if disabled("ec");

plan skip_all => "Intermediate_CA.crt uses legacy P-192"
unless $no_fips;

plan tests => 2 + ($no_fips ? 0 : 1); #fips test

my @basic_cmd = ("cmp_vfy_test",
Expand Down

0 comments on commit 57222bb

Please sign in to comment.