[Linux-stm32] [PATCH] crypto: stm32 - Fix empty message checks

Linus Walleij linus.walleij at linaro.org
Fri Feb 24 23:23:00 UTC 2023


On Fri, Feb 24, 2023 at 6:08 AM Herbert Xu <herbert at gondor.apana.org.au> wrote:

> The empty message checks may trigger on non-empty messages split
> over an update operation followed by a final operation (where
> req->nbytes can/should be set to zero).
>
> Fixes: b56403a25af7 ("crypto: stm32/hash - Support Ux500 hash")
> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>

Thanks for fixing this Herbert!
Tested with extended tests on Ux500 without problems.

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Tested-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the Linux-stm32 mailing list