Re: [PATCH] firmware_loader: use SHA-256 library API instead of crypto_shash API

Greg Kroah-Hartman
2025-04-29T05:54:45Z

On Mon, Apr 28, 2025 at 12:09:09PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
>
> 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@google.com>
> ---
>
> This patch is targeting the firmware_loader tree for 6.16.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>