commit | 9b8d24a49fe83787208479d51f320cead25e856c | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@kernel.org> | Mon Sep 15 21:14:43 2025 +0300 |
committer | Jarkko Sakkinen <jarkko@kernel.org> | Sat Oct 04 17:25:35 2025 +0300 |
tree | fc71229797e434503cb14f42687abe9b7396f8e8 | |
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>