]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: cypto: Bring back SPL_ versions of SHA
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:17 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:26 +0000 (15:53 -0400)
commit603d15a572d5b1e2894db87b86d85a092dacdfd1
tree8fe8d85f94d619e958c2425338e300df84e75b92
parente02b3fd4b9cf34c7d22254e8d6db69e2f4471f4f
spl: cypto: Bring back SPL_ versions of SHA

Unfortunately these were removed by mistake. This means that adding hash
support to SPL brings in all software algorithms, with a substantial
increase in code size.

The origin of the problem was renaming them to SPL_FIT_xxx and then these
were removed altogether in a later commit.

Add them back. This aligns with CONFIG_MD5, for example, which has an SPL
variant.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: f5bc9c25f31 ("image: Rename SPL_SHAxxx_SUPPORT to SPL_FIT_SHAxxx")
Fixes: eb5171ddec9 ("common: Remove unused CONFIG_FIT_SHAxxx selectors")
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
lib/Kconfig