Commit 4f894483 authored by Eric Biggers's avatar Eric Biggers Committed by Danilo Krummrich
Browse files

firmware_loader: use SHA-256 library API instead of crypto_shash API



This user of SHA-256 does not support any other algorithm, so the
crypto_shash abstraction provides no value.  Just use the SHA-256
library API instead, which is much simpler and easier to use.

Also take advantage of printk's built-in hex conversion using %*phN.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250428190909.852705-1-ebiggers@kernel.org


Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
parent e99efa8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment