openssl/crypto/ffc
Dimitri John Ledkov fa338aa7cd fips: zeroization of public security parameters (PSPs)
ISO 19790:2012/Cor.1:2015 7.9 requires cryptographic module to provide
methods to zeroise all unproctected security sensitive parameters
(which inclues both Critical/Private **and** Public security
parameters). And those that are temprorarly stored are required to be
zeroised after they are no longer needed at security levels 2 and
higher.

Comply with the above requirements by always zeroising public security
parameters whenever they are freed.

This is currently done under the FIPS feature, however the requirement
comes from the ISO 19790:2012 which may also be needed in other
jurisdictions. If not always. Note FIPS 140-3 includes ISO 19790:2012
by reference.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24355)
2024-05-13 11:14:11 +02:00
..
build.info EVP_PKEY & DH: Make DH EVP_PKEY_CTX parameter ctrls / setters more available 2020-12-16 11:55:39 +01:00
ffc_backend.c Copyright year updates 2023-09-07 09:59:15 +01:00
ffc_dh.c Use as small dh key size as possible to support the security 2022-07-18 08:06:17 +01:00
ffc_key_generate.c Use as small dh key size as possible to support the security 2022-07-18 08:06:17 +01:00
ffc_key_validate.c DH_check_pub_key() should not fail when setting result code 2023-10-11 16:22:27 +02:00
ffc_params_generate.c ffc/ffc_params_generate.c: Add the check for the EVP_MD_get_size() 2024-04-09 20:47:47 +02:00
ffc_params_validate.c Fix DSA EVP_PKEY_param_check() when defaults are used for param generation. 2021-03-15 09:01:51 +10:00
ffc_params.c fips: zeroization of public security parameters (PSPs) 2024-05-13 11:14:11 +02:00