mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] lib/crypto: Provide functions for zeroizing SHA2 hmac_sha* structures
@ 2026-09-28  8:30 Thomas Huth
  2026-09-28  8:30 ` [PATCH 1/3] x86/purgatory: Compile purgatory with -D__NO_FORTIFY and -D__DISABLE_EXPORTS Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Huth @ 2026-09-28  8:30 UTC (permalink / raw)
  To: Eric Biggers, Herbert Xu, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen
  Cc: David S. Miller, linux-kernel, linux-cifs, linux-crypto, x86,
	H. Peter Anvin, Paulo Alcantara, Namjae Jeon, Ronnie Sahlberg,
	Shyam Prasad N, Tom Talpey, Bharath SM

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(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-28  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28  8:30 [PATCH 0/3] lib/crypto: Provide functions for zeroizing SHA2 hmac_sha* structures Thomas Huth
2026-09-28  8:30 ` [PATCH 1/3] x86/purgatory: Compile purgatory with -D__NO_FORTIFY and -D__DISABLE_EXPORTS Thomas Huth
2026-09-28  8:30 ` [PATCH 2/3] lib/crypto: sha2: Provide functions for zeroizing SHA2 hmac_sha* structures Thomas Huth
2026-09-28  8:30 ` [PATCH 3/3] smb: client: Use hmac_sha256_zeroize_ctx function to clear hmac_sha256_ctx Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®