Re: [PATCH v4 2/7] crypto: aead - disallow en/decrypt for non-task or non-softirq context
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-05-19 11:51:50
Also in:
linux-crypto
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-05-19 11:51:50
Also in:
linux-crypto
On Wed, May 19, 2021 at 01:36:37PM +0200, Ard Biesheuvel wrote:
So if we do need to check this, we should check it here. If we don't, then we can drop these patches.
Historically other things would break in nasty ways if you tried to do crypto in hard IRQ contexts, e.g., overwritten kmap slots back when we had individual slots for each context, but I don't think we've ever found anyone crazy enough to do that to warrant a run-time check. I'd just leave it out for now. Thanks, -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel