]> 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:43:26 +0000 (10:43 +0100)
commit482d3f9338b3d4c7537a1d112dce9c8e370c8d9f
tree341d50557008b0975f18cf2a3bbe7103bcc76b0f
parent978e23a472a6acdee737ab70d0d74e173affa5ef
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)
providers/implementations/keymgmt/ecx_kmgmt.c