mbox series

[0/7] Tegra Security Engine driver improvements

Message ID 20241217161207.72921-1-akhilrajeev@nvidia.com (mailing list archive)
Headers show
Series Tegra Security Engine driver improvements | expand

Message

Akhil R Dec. 17, 2024, 4:12 p.m. UTC
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(-)