[openssl/openssl] 5963aa: cleanse stack variable in kdf_pbkdf1_do_derive

Neil Horman noreply at github.com
Fri Jan 5 19:43:02 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 5963aa8c196d7c5a940a979299a07418527932af
      https://github.com/openssl/openssl/commit/5963aa8c196d7c5a940a979299a07418527932af
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M providers/implementations/kdfs/pbkdf1.c

  Log Message:
  -----------
  cleanse stack variable in kdf_pbkdf1_do_derive

kdf_pbkdf1_do_derive stores key derivation information in a stack
variable, which is left uncleansed prior to returning.  Ensure that the
stack information is zeroed prior to return to avoid potential leaks of
key information

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23194)




More information about the openssl-commits mailing list