From: Eric Biggers <ebiggers@kernel.org>
To: linux-usb@vger.kernel.org,
Andreas Noever <andreas.noever@gmail.com>,
Michael Jamet <michael.jamet@intel.com>,
Mika Westerberg <westeri@kernel.org>,
Yehezkel Bernat <YehezkelShB@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
Eric Biggers <ebiggers@kernel.org>
Subject: [PATCH 0/2] thunderbolt: HMAC fix and cleanup
Date: Thu, 31 Jul 2025 12:25:43 -0700 [thread overview]
Message-ID: <20250731192545.29869-1-ebiggers@kernel.org> (raw)
Patch 1 fixes the HMAC comparison in the thunderbolt driver to be
constant-time.
Patch 2 simplifies the HMAC computation in the thunderbolt driver by
using the library API instead of crypto_shash. Note that this depends
on the HMAC-SHA256 library API that was merged for v6.17-rc1.
Eric Biggers (2):
thunderbolt: Compare HMAC values in constant time
thunderbolt: Use HMAC-SHA256 library instead of crypto_shash
drivers/thunderbolt/Kconfig | 4 ++--
drivers/thunderbolt/domain.c | 45 ++++++------------------------------
2 files changed, 9 insertions(+), 40 deletions(-)
base-commit: d6084bb815c453de27af8071a23163a711586a6c
--
2.50.1
next reply other threads:[~2025-07-31 19:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-31 19:25 Eric Biggers [this message]
2025-07-31 19:25 ` [PATCH 1/2] thunderbolt: Compare HMAC values in constant time Eric Biggers
2025-07-31 19:25 ` [PATCH 2/2] thunderbolt: Use HMAC-SHA256 library instead of crypto_shash Eric Biggers
2025-08-11 5:58 ` [PATCH 0/2] thunderbolt: HMAC fix and cleanup Mika Westerberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250731192545.29869-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=YehezkelShB@gmail.com \
--cc=andreas.noever@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=michael.jamet@intel.com \
--cc=westeri@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.