Re: [PATCH] tee: Use SHA-1 library instead of crypto_shash

From: Jens Wiklander
Date: Wed Aug 13 2025 - 09:47:29 EST


On Mon, Aug 11, 2025 at 8:13 AM Sumit Garg <sumit.garg@xxxxxxxxxx> wrote:
>
> On Fri, Aug 01, 2025 at 04:55:41PM -0700, Eric Biggers wrote:
> > Use the SHA-1 library functions instead of crypto_shash. This is
> > simpler and faster.
> >
> > Change uuid_v5() to return void, since it can no longer fail.
> >
> > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> > ---
> >
> > Note: this patch depends on the SHA-1 library functions that were merged
> > in v6.17-rc1.
> >
> > drivers/tee/Kconfig | 3 +--
> > drivers/tee/tee_core.c | 55 +++++++-----------------------------------
> > 2 files changed, 10 insertions(+), 48 deletions(-)
>
> Nice cleanup, FWIW:
>
> Reviewed-by: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>

Looks good. I'm picking up this.

Thanks,
Jens