Re: [PATCH] firmware_loader: use SHA-256 library API instead of crypto_shash API
From: Danilo Krummrich
Date: Wed Apr 30 2025 - 16:10:20 EST
On Mon, Apr 28, 2025 at 12:09:09PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> 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: Eric Biggers <ebiggers@xxxxxxxxxx>
Applied to driver-core-testing, thanks!