[openssl/openssl] b8ef67: cleanse stack variable in kdf_pbkdf1_do_derive

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


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: b8ef67f8a3880a4b2a86b1804638ff230ff8831c
      https://github.com/openssl/openssl/commit/b8ef67f8a3880a4b2a86b1804638ff230ff8831c
  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)

(cherry picked from commit 5963aa8c196d7c5a940a979299a07418527932af)




More information about the openssl-commits mailing list