From a6bd437ead18d8b9935dce6d6f556ee53b165038 Mon Sep 17 00:00:00 2001 From: Samuel Chiang Date: Wed, 2 Oct 2024 22:50:44 -0700 Subject: [PATCH] Update internal.h --- crypto/fipsmodule/evp/internal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/fipsmodule/evp/internal.h b/crypto/fipsmodule/evp/internal.h index f27060abfe..87cb54cb18 100644 --- a/crypto/fipsmodule/evp/internal.h +++ b/crypto/fipsmodule/evp/internal.h @@ -242,6 +242,10 @@ int EVP_RSA_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void * #define EVP_PKEY_CTRL_HKDF_INFO (EVP_PKEY_ALG_CTRL + 18) #define EVP_PKEY_CTRL_DH_PAD (EVP_PKEY_ALG_CTRL + 19) +// EVP_PKEY_CTX_KEYGEN_INFO_COUNT is the maximum array length for +// |EVP_PKEY_CTX->keygen_info|. +#define EVP_PKEY_CTX_KEYGEN_INFO_COUNT 2 + struct evp_pkey_ctx_st { // Method associated with this operation const EVP_PKEY_METHOD *pmeth; @@ -354,10 +358,6 @@ typedef struct { char has_private; } ED25519_KEY; -// EVP_PKEY_CTX_KEYGEN_INFO_COUNT is the maximum array length for -// |EVP_PKEY_CTX->keygen_info|. -#define EVP_PKEY_CTX_KEYGEN_INFO_COUNT 2 - // evp_pkey_set_cb_translate translates |ctx|'s |pkey_gencb| and sets it as the // callback function for |cb|. void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx);