aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2025-04-28 19:09:09 +0000
committerDanilo Krummrich <[email protected]>2025-04-30 19:55:54 +0000
commit4f894483c902a49d428348f6ec8874fce59c63cb (patch)
treed518a29ecf5d1824f92dd01b64f59f9d7075585e /rust/helpers/helpers.c
parentdocs: debugfs: do not recommend debugfs_remove_recursive (diff)
downloadkernel-4f894483c902a49d428348f6ec8874fce59c63cb.tar.gz
kernel-4f894483c902a49d428348f6ec8874fce59c63cb.zip
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: Eric Biggers <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions