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

2024-04-16 Thread Tom Rini
On Tue, Apr 16, 2024 at 08:22:23PM -0400, Raymond Mao wrote: > Hi Tom, > > On Tue, 16 Apr 2024 at 15:22, Tom Rini wrote: > > > 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. >

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

2024-04-16 Thread Raymond Mao
Hi Tom, On Tue, 16 Apr 2024 at 15:22, Tom Rini wrote: > 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 > > --- > > lib/efi_loader/efi_tcg2.c | 9

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

2024-04-16 Thread Tom Rini
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 > --- > lib/efi_loader/efi_tcg2.c | 9 + > 1 file changed, 9 insertions(+) Why can't we have the

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

2024-04-16 Thread Raymond Mao
When MBEDTLS_LIB_CRYPTO is enabled, use the APIs of sha256 from hash shim layer instead. Signed-off-by: Raymond Mao --- lib/efi_loader/efi_tcg2.c | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index ac056dcfc5..3c356abc6e