diff options
author | Eric Biggers <ebiggers@kernel.org> | 2025-08-09 10:19:40 -0700 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2025-09-27 21:05:06 +0300 |
commit | 366284cfbc8ff4110c00fc23285449f53df739a7 (patch) | |
tree | 08ce82133c961a01e73c28ca84463d6a7d22cd1b /rust/helpers/atomic.c | |
parent | eed0e3d305530066b4fc5370107cff8ef1a0d229 (diff) |
KEYS: trusted_tpm1: Use SHA-1 library instead of crypto_shash
Use the SHA-1 and HMAC-SHA1 library functions instead of crypto_shash.
This is simpler and faster.
Replace the selection of CRYPTO, CRYPTO_HMAC, and CRYPTO_SHA1 with
CRYPTO_LIB_SHA1 and CRYPTO_LIB_UTILS. The latter is needed for
crypto_memneq() which was previously being pulled in via CRYPTO.
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'rust/helpers/atomic.c')
0 files changed, 0 insertions, 0 deletions