]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix gettable_params() for ECX
authorMartin Oliveira <martin.oliveira@eideticom.com>
Wed, 12 Mar 2025 17:09:04 +0000 (11:09 -0600)
committerTomas Mraz <tomas@openssl.org>
Wed, 19 Mar 2025 09:55:51 +0000 (10:55 +0100)
commit0639c3618c98a0c090b6c26627f82be71b91b9fd
tree6ff2d6383f568c7a37baa163ee3351316e4a62ab
parente08d6e9338935637873ec6733b17aafcff152ebd
Fix gettable_params() for ECX

The OSSL_PKEY_PARAM_MANDATORY_DIGEST parameter is only handled by the
ed25519_get_params() and ed448_get_params(). The x25519 and x448
versions of get_params() always ignore that parameter, so it should not
be in the list of gettable params.

Fixes: 1a7328c88256 ("PROV: Ensure that ED25519 & ED448 keys have a mandatory digest")
cla: trivial

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27043)

(cherry picked from commit 482d3f9338b3d4c7537a1d112dce9c8e370c8d9f)
providers/implementations/keymgmt/ecx_kmgmt.c