Skip to content

lib/crypto: Provide functions for zeroizing SHA2 hmac_sha* structures

Thomas Huth linux-cifs linux-crypto lkml 1 version Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3x86/purgatory: Compile purgatory with -D__NO_FORTIFY and -D__DISABLE_EXPORTSarch/x86/purgatory/Makefile+1 -20 replies
2/3lib/crypto: sha2: Provide functions for zeroizing SHA2 hmac_sha* structuresinclude/crypto/sha2.h+73 -00 replies
3/3smb: client: Use hmac_sha256_zeroize_ctx function to clear hmac_sha256_ctxfs/smb/client/smb2transport.c+1 -20 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchNamjae Jeon
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] lib/crypto: Provide functions for zeroizing SHA2 hmac_sha* structures

This patch series has been split of my earlier zeroization patch series since there were some troubles left with the purgatory patch:

https://lore.kernel.org/all/20260924145806.GA1949494@ax162/

As I've confirmed now, the fix for the problem is indeed to set -D__DISABLE_EXPORTS for the other files in the x86 purgatory, too, so the first patch here has now been changed accordingly.

Thomas Huth (3):
x86/purgatory: Compile purgatory with -D__NO_FORTIFY and
-D__DISABLE_EXPORTS
lib/crypto: sha2: Provide functions for zeroizing SHA2 hmac_sha*
structures
smb: client: Use hmac_sha256_zeroize_ctx function to clear

    hmac_sha256_ctx
 arch/x86/purgatory/Makefile   |  3 +-
 fs/smb/client/smb2transport.c |  3 +-
 include/crypto/sha2.h         | 73 +++++++++++++++++++++++++++++++++++
 3 files changed, 75 insertions(+), 4 deletions(-)
Signature · 1 line
2.55.0