]> git.ipfire.org Git - thirdparty/openssl.git/commit
hmac: stop using secure memory for the HMAC key
authorPauli <ppzgs1@gmail.com>
Mon, 1 Sep 2025 22:48:06 +0000 (08:48 +1000)
committerPauli <ppzgs1@gmail.com>
Sun, 7 Sep 2025 07:23:18 +0000 (17:23 +1000)
commit362739d771f671b444cb9a12a34accf2dce8220e
tree12490418946ed65e3ebe70bcb49052c3c1465e19
parentc25db4f867c8adc9d1a3b5336743c428a2bb8ca2
hmac: stop using secure memory for the HMAC key

Secure memory is design for long term storage of private material.
HMAC keys are not this.

Secure memory use was introduced in July 2020 by commit
3fddbb264e87a8cef2903cbd7b02b8e1a39a2a99.

Fixes #28346

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28411)
providers/implementations/macs/hmac_prov.c.in