diff options
author | Eric Biggers <ebiggers@kernel.org> | 2025-09-15 21:14:43 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2025-10-04 17:25:35 +0300 |
commit | 9b8d24a49fe83787208479d51f320cead25e856c (patch) | |
tree | fc71229797e434503cb14f42687abe9b7396f8e8 /include/linux/overflow.h | |
parent | 720a485d12c590750f40f4ffbe41e36725f43f3d (diff) |
KEYS: encrypted: Use SHA-256 library instead of crypto_shash
Instead of the "sha256" crypto_shash, just use sha256(). Similarly,
instead of the "hmac(sha256)" crypto_shash, just use
hmac_sha256_usingrawkey(). This is simpler and faster.
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions