On Tue, Oct 31, 2017 at 07:23:35AM +0000, Ilya Lesokhin wrote:
> On Tuesday, October 31, 2017 9:17 AM, Herbert Xu wrote:
> > 
> > Users of the crypto API shouldn't need to check irq_fpu_usable().
> > The crypto API should work regardless of what context you're in.
> 
> I agree, I'm just saying that as far as I can tell that's not true
> for the aesni generic gcm(aes) aead.
> It just assume the FPU is available without checking.

You are right.  generic-gcm-aesni is completely broken.

It needs to be rewritten to use a wrapper as is done with rfc4106.

Thanks,
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to