[openssl/openssl] fa338a: fips: zeroization of public security parameters (P...

Dimitri John Ledkov noreply at github.com
Mon May 13 09:17:03 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: fa338aa7cd1e893679c3e1c47465dcb11f90abfb
      https://github.com/openssl/openssl/commit/fa338aa7cd1e893679c3e1c47465dcb11f90abfb
  Author: Dimitri John Ledkov <dimitri.ledkov at surgut.co.uk>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M crypto/ec/ec_lib.c
    M crypto/ffc/ffc_params.c
    M crypto/rsa/rsa_lib.c
    M providers/implementations/kdfs/hkdf.c
    M providers/implementations/kdfs/pbkdf2.c

  Log Message:
  -----------
  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 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24355)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list