]> git.dujemihanovic.xyz Git - u-boot.git/commit
boot: Only define checksum algos when the hashes are enabled
authorSean Anderson <sean.anderson@seco.com>
Thu, 15 Feb 2024 17:12:18 +0000 (12:12 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 2 Mar 2024 17:26:56 +0000 (12:26 -0500)
commit14e110a1a439228e223b391a1fc83ec18753335d
treebee00174118c49dca1dffe074a54b7fef45ce2d8
parent67c7f14af34bb27c5fdc9189089e5a5ae156082f
boot: Only define checksum algos when the hashes are enabled

Don't define checksum algos when the underlying hashes are not enabled.
This allows disabling these hashes in SPL (or U-Boot).

Fixes: d16b38f4270 ("Add support for SHA384 and SHA512")
Fixes: 646257d1f40 ("rsa: add sha256-rsa2048 algorithm")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
boot/image-sig.c