Re: [v5 PATCH 7/7] crypto: stm32 - Save and restore between each request
From: Herbert Xu
Date: Thu Mar 09 2023 - 00:58:54 EST
On Wed, Mar 08, 2023 at 10:19:48PM +0100, Linus Walleij wrote:
>
> So now the driver is fixed from a Ux500 point of view.
I think there is actually a nasty bug in it that may be hard to
trigger.
The stm32 driver as it stands will write up to 256 bytes into
the FIFO which on the ux500 is limited to 64 bytes. We need to
change the fixed 256-byte size to be dependent on the hardware
type.
Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt