]> git.dujemihanovic.xyz Git - u-boot.git/commit
mbedtls: Enable smaller implementation for SHA256/512
authorRaymond Mao <raymond.mao@linaro.org>
Thu, 3 Oct 2024 21:50:20 +0000 (14:50 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 14 Oct 2024 23:58:32 +0000 (17:58 -0600)
commitc60e99ff629c384aa7b9ac4f7badcf3cfdf953c1
treefd52a9667773b1fe729c0d5b76d061af9fa93a24
parentbdc3f44a6bf4de61d99c818b3e8e71b07a9eea52
mbedtls: Enable smaller implementation for SHA256/512

Smaller implementation for SHA256 and SHA512 helps to reduce the
ROM footprint though it has a certain impact on performance.
As a trade-off, enable it as a default config when MbedTLS is
enabled can reduce the target size significantly with acceptable
performance loss.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/mbedtls/Kconfig
lib/mbedtls/mbedtls_def_config.h