public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Tegra Security Engine driver improvements
@ 2024-12-17 16:12 Akhil R
  2024-12-17 16:12 ` [PATCH 1/7] crypto: tegra: Use separate buffer for setkey Akhil R
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Akhil R @ 2024-12-17 16:12 UTC (permalink / raw)
  To: herbert, davem, thierry.reding, jonathanh, linux-crypto,
	linux-tegra, linux-kernel
  Cc: akhilrajeev

With the CRYPTO_TEST now being run asynchronously unveiled some
concurrency issues in the the Security Engine driver. These were not
caught during functional or fuzz testing as all the tests were run
synchronously.
This patchset contains the fixes for the concurrency issues and few
other improvements identified during the stress-ng and cryptsetup tests.

Akhil R (7):
  crypto: tegra: Use separate buffer for setkey
  crypto: tegra: Do not use fixed size buffers
  crypto: tegra: check retrun value for hash do_one_req
  crypto: tegra: Transfer HASH init function to crypto engine
  crypto: tegra: Fix HASH intermediate result handling
  crypto: tegra: Fix CMAC intermediate result handling
  crypto: tegra: Set IV to NULL explicitly for AES ECB

 drivers/crypto/tegra/tegra-se-aes.c  | 247 +++++++++++++-----------
 drivers/crypto/tegra/tegra-se-hash.c | 279 +++++++++++++++++----------
 drivers/crypto/tegra/tegra-se-key.c  |  10 +-
 drivers/crypto/tegra/tegra-se-main.c |  16 +-
 drivers/crypto/tegra/tegra-se.h      |  11 +-
 5 files changed, 346 insertions(+), 217 deletions(-)

-- 
2.43.2


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

end of thread, other threads:[~2025-01-06  4:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17 16:12 [PATCH 0/7] Tegra Security Engine driver improvements Akhil R
2024-12-17 16:12 ` [PATCH 1/7] crypto: tegra: Use separate buffer for setkey Akhil R
2024-12-28 11:36   ` Herbert Xu
2024-12-31  4:25     ` Akhil R
2025-01-02  0:58       ` Herbert Xu
2025-01-06  4:11         ` Akhil R
2024-12-17 16:12 ` [PATCH 2/7] crypto: tegra: Do not use fixed size buffers Akhil R
2024-12-17 16:12 ` [PATCH 3/7] crypto: tegra: check retrun value for hash do_one_req Akhil R
2024-12-17 16:12 ` [PATCH 4/7] crypto: tegra: Transfer HASH init function to crypto engine Akhil R
2024-12-17 16:12 ` [PATCH 5/7] crypto: tegra: Fix HASH intermediate result handling Akhil R
2024-12-17 16:12 ` [PATCH 6/7] crypto: tegra: Fix CMAC " Akhil R
2024-12-17 16:12 ` [PATCH 7/7] crypto: tegra: Set IV to NULL explicitly for AES ECB Akhil R

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