Re: [PATCH crypto] crypto: aesni - add wrapper for generic gcm(aes)

2017-12-22 Thread Herbert Xu
On Wed, Dec 13, 2017 at 02:54:36PM +0100, Sabrina Dubroca wrote: > When I added generic-gcm-aes I didn't add a wrapper like the one > provided for rfc4106(gcm(aes)). We need to add a cryptd wrapper to fall > back on in case the FPU is not available, otherwise we might corrupt the > FPU state. > >

[PATCH crypto] crypto: aesni - add wrapper for generic gcm(aes)

2017-12-13 Thread Sabrina Dubroca
When I added generic-gcm-aes I didn't add a wrapper like the one provided for rfc4106(gcm(aes)). We need to add a cryptd wrapper to fall back on in case the FPU is not available, otherwise we might corrupt the FPU state. Fixes: cce2ea8d90fe ("crypto: aesni - add generic gcm(aes)") Reported-by: Ily