[PATCH v2 2/6] lib: Drop SHA512_ALGO in lieu of SHA512

Tom Rini trini at konsulko.com
Thu Sep 9 03:25:15 CEST 2021


On Thu, Sep 02, 2021 at 07:54:18PM -0500, Alexandru Gagniuc wrote:

> SHA512_ALGO was used as a "either SHA512 or SHA384", although the
> implementations of these two algorithms share a majority of code.
> 
> From a Kconfig interface perspective, it makes sense to present two
> distinct options. This requires #ifdefing out the SHA512
> implementation from sha512.c. The latter doesn't make any sense.
> 
> It's reasonable to say in Kconfig that SHA384 depends on SHA512, and
> seems to be the more polite way to handle the selection.
> 
> Thus, automatically select SHA512 when SHA384 is enabled.
> 
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210908/645b1433/attachment.sig>


More information about the U-Boot mailing list