summaryrefslogtreecommitdiffstats
path: root/test/aesgcmtest.c
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-09-19 10:31:12 +1000
committerPauli <pauli@openssl.org>2022-09-21 17:02:59 +1000
commit3fd255acb7b65a30afd1b23e17db2163fb9ffd8d (patch)
treed2e6dc606eb0de89a85ea349c67e42361fdda26f /test/aesgcmtest.c
parent919adfcf6683d82f876060b6cf9f57e875d547b2 (diff)
Remove FIPS condition on IV gen test.
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19237)
Diffstat (limited to 'test/aesgcmtest.c')
-rw-r--r--test/aesgcmtest.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/aesgcmtest.c b/test/aesgcmtest.c
index 119d316a26..25e6f65fa9 100644
--- a/test/aesgcmtest.c
+++ b/test/aesgcmtest.c
@@ -116,7 +116,6 @@ static int badkeylen_test(void)
return ret;
}
-#ifdef FIPS_MODULE
static int ivgen_test(void)
{
unsigned char iv_gen[16];
@@ -127,14 +126,11 @@ static int ivgen_test(void)
return do_encrypt(iv_gen, ct, &ctlen, tag, &taglen)
&& do_decrypt(iv_gen, ct, ctlen, tag, taglen);
}
-#endif /* FIPS_MODULE */
int setup_tests(void)
{
ADD_TEST(kat_test);
ADD_TEST(badkeylen_test);
-#ifdef FIPS_MODULE
ADD_TEST(ivgen_test);
-#endif /* FIPS_MODULE */
return 1;
}