[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250731215255.113897-1-ebiggers@kernel.org>
Date: Thu, 31 Jul 2025 14:52:53 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: Peter Huewe <peterhuewe@....de>,
Jarkko Sakkinen <jarkko@...nel.org>,
linux-integrity@...r.kernel.org
Cc: Jason Gunthorpe <jgg@...pe.ca>,
James Bottomley <James.Bottomley@...senPartnership.com>,
linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org,
Eric Biggers <ebiggers@...nel.org>
Subject: [PATCH 0/2] tpm: HMAC fix and cleanup
Patch 1 fixes the HMAC comparison in the tpm driver to be constant-time.
Patch 2 simplifies the HMAC computation in the tpm driver by using the
library API instead of an open-coded HMAC implementation. Note that
this depends on the HMAC library API that was merged for v6.17-rc1.
Eric Biggers (2):
tpm: Compare HMAC values in constant time
tpm: Use HMAC-SHA256 library instead of open-coded HMAC
drivers/char/tpm/Kconfig | 1 +
drivers/char/tpm/tpm2-sessions.c | 104 +++++++++----------------------
2 files changed, 31 insertions(+), 74 deletions(-)
base-commit: d6084bb815c453de27af8071a23163a711586a6c
--
2.50.1
Powered by blists - more mailing lists