Messages in this thread | | | Date | Thu, 13 Oct 2022 15:50:45 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v2 04/19] crypto: x86/sha - limit FPU preemption |
| |
On Wed, Oct 12, 2022 at 11:08:53PM -0700, Eric Biggers wrote: . > When len == 0, the following path is taken instead: > > if (!crypto_simd_usable() || > (sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE) > return crypto_sha1_update(desc, data, len);
Good point, I missed that.
Thanks! -- 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
| |