]> git.baikalelectronics.ru Git - uboot.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)
commit0fc27b68584330e410967ea5aa915fa21cdda3b1
tree8fe8d85f94d619e958c2425338e300df84e75b92
parent1cec259591a7d44a58dbfac6181cb39a6771137f
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: 9dfe6224f6f ("image: Rename SPL_SHAxxx_SUPPORT to SPL_FIT_SHAxxx")
Fixes: 9e87fe62467 ("common: Remove unused CONFIG_FIT_SHAxxx selectors")
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
lib/Kconfig