diff options
author | Yuan, Shuai <shuai.yuan@intel.com> | 2023-04-04 01:42:38 -0400 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-04-12 17:21:43 +1000 |
commit | 40f4884990a1717755df366e2aa06d01a1affd63 (patch) | |
tree | e3f03b744cb4818f94ea98f2b522b318d11ac1f5 | |
parent | 7a4e109ebe5af83bad6447889e43ac2612375070 (diff) |
Fixes #19580 ECX keygen
Signed-off-by: Yuan, Shuai <shuai.yuan@intel.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20680)
-rw-r--r-- | crypto/ec/ecx_meth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ecx_meth.c b/crypto/ec/ecx_meth.c index 45531b86a1..81e0beb485 100644 --- a/crypto/ec/ecx_meth.c +++ b/crypto/ec/ecx_meth.c @@ -711,7 +711,7 @@ const EVP_PKEY_ASN1_METHOD ossl_ed448_asn1_meth = { static int pkey_ecx_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) { ECX_KEY *ecx = ossl_ecx_key_op(NULL, NULL, 0, ctx->pmeth->pkey_id, - KEY_OP_PUBLIC, NULL, NULL); + KEY_OP_KEYGEN, NULL, NULL); if (ecx != NULL) { EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, ecx); |