[PATCH 11/23] efi_loader: switch sha256 to mbedtls

Tom Rini trini at konsulko.com
Tue Apr 16 21:22:26 CEST 2024


On Tue, Apr 16, 2024 at 12:00:07PM -0700, Raymond Mao wrote:

> When MBEDTLS_LIB_CRYPTO is enabled, use the APIs of sha256 from
> hash shim layer instead.
> 
> Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
> ---
>  lib/efi_loader/efi_tcg2.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

Why can't we have the abstraction be at the level where we include one
library or the other so that the calling code doesn't change?

-- 
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/20240416/5268e924/attachment.sig>


More information about the U-Boot mailing list