From 53e3a54b6027da737ef1b82b08fe066eed9d514f Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 12 Feb 2025 10:10:54 +1100 Subject: [PATCH] evp: include one shot keygen functions for internal FIPS use Reviewed-by: Tim Hudson Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26714) --- crypto/evp/evp_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index f7932e23f99..d3997a9e6fc 100644 --- a/crypto/evp/evp_lib.c +++ b/crypto/evp/evp_lib.c @@ -1193,6 +1193,7 @@ int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen) return -1; return 1; } +#endif /* !FIPS_MODULE */ /* * evp_pkey_keygen() abstracts from the explicit use of B @@ -1244,6 +1245,7 @@ EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq, return ret; } +#if !defined(FIPS_MODULE) int EVP_CIPHER_CTX_set_algor_params(EVP_CIPHER_CTX *ctx, const X509_ALGOR *alg) { int ret = -1; /* Assume the worst */ -- 2.47.3