]> git.ipfire.org Git - thirdparty/openssl.git/commit
keymgmt: refactor fips indicator check
authorDimitri John Ledkov <dimitri.ledkov@surgut.co.uk>
Sun, 20 Oct 2024 02:34:27 +0000 (03:34 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 22 Jan 2025 08:29:32 +0000 (09:29 +0100)
commit7ffb65666f2bb29b8d747db1ac49a4352acf6e1e
tree2be9b519dca958e970504492937feb5b7f31735e
parent113c12ee8cee2be232a361da277a2ab48807eeed
keymgmt: refactor fips indicator check

Currently direct call to ossl_ec_check_security_strength is used,
instead of ossl_fips_ind_ec_key_check() like in all other places.

Make keymgmt do the same check as ecdh_exch and ecdsa_sig do.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25748)
providers/implementations/keymgmt/ec_kmgmt.c