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