Messages in this thread | | | Date | Tue, 28 Feb 2023 17:23:15 +0800 | From | Herbert Xu <> | Subject | Re: [v3 PATCH] crypto: stm32 - Save and restore between each request |
| |
On Tue, Feb 28, 2023 at 05:12:01PM +0800, Herbert Xu wrote: > > What about the non-hmac algorithms? Do they pass or fail? If they > fail what's the kernel dmesg?
I can see a problem with hmac. The hmac key state wasn't stored in the rctx so it gets repeatedly written to the hardware on each operation, resulting in a bogus digest.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |