Re: [PATCH] boot: Only define checksum algos when the hashes are enabled

2024-03-04 Thread Tom Rini
On Thu, Feb 15, 2024 at 12:12:18PM -0500, Sean Anderson wrote: > 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-rsa

[PATCH] boot: Only define checksum algos when the hashes are enabled

2024-02-15 Thread Sean Anderson
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 --- boot/image-sig.c | 8