X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=fips%2Ffips_post.c;h=e55ec0840798822d9c004b698662a22f31b86f4d;hp=831e5d011ac2a447bda09a75a5f8f0d39c296eb8;hb=3335b6f265f727dc7ac6606abfa021f5223cb31b;hpb=bf8131f79f89c3939e3329676bd5c8b8f795e8f8 diff --git a/fips/fips_post.c b/fips/fips_post.c index 831e5d011a..e55ec08407 100644 --- a/fips/fips_post.c +++ b/fips/fips_post.c @@ -172,6 +172,8 @@ int FIPS_selftest(void) rv = 0; if (!FIPS_selftest_aes()) rv = 0; + if (!FIPS_selftest_aes_ccm()) + rv = 0; if (!FIPS_selftest_aes_gcm()) rv = 0; if (!FIPS_selftest_aes_xts()) @@ -184,6 +186,8 @@ int FIPS_selftest(void) rv = 0; if (!FIPS_selftest_dsa()) rv = 0; + if (!FIPS_selftest_ecdh()) + rv = 0; fips_post_end(); return rv; } @@ -207,6 +211,7 @@ int fips_pkey_signature_test(int id, EVP_PKEY *pkey, int ret = 0; unsigned char *sig = NULL; unsigned int siglen; + __fips_constseg static const unsigned char str1[]="12345678901234567890"; DSA_SIG *dsig = NULL; ECDSA_SIG *esig = NULL;