Skip to content

Commit

Permalink
crypto: arm64/aes-blk - revert NEON yield for skciphers
Browse files Browse the repository at this point in the history
The reasoning of commit f10dc56 ("crypto: arm64 - revert NEON yield
for fast AEAD implementations") applies equally to skciphers: the walk
API already guarantees that the input size of each call into the NEON
code is bounded to the size of a page, and so there is no need for an
additional TIF_NEED_RESCHED flag check inside the inner loop. So revert
the skcipher changes to aes-modes.S (but retain the mac ones)

This partially reverts commit 0c8f838.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Ard Biesheuvel authored and Herbert Xu committed Sep 21, 2018
1 parent 557ecb4 commit 6e7de6a
Showing 1 changed file with 108 additions and 173 deletions.
Loading

0 comments on commit 6e7de6a

Please sign in to comment.