summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp/psp-dev.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-07-25 03:29:07 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-03 12:06:05 +0200
commit4e34e51f48ab7f77a4022aa810a786daa3eb3e22 (patch)
treedde19d19ab296050fa3d7a2f362124bdbf7d04f5 /drivers/crypto/ccp/psp-dev.c
parentcrypto: ccree - allow bigger than sector XTS op (diff)
downloadlinux-4e34e51f48ab7f77a4022aa810a786daa3eb3e22.tar.xz
linux-4e34e51f48ab7f77a4022aa810a786daa3eb3e22.zip
crypto: arm/chacha20 - always use vrev for 16-bit rotates
The 4-way ChaCha20 NEON code implements 16-bit rotates with vrev32.16, but the one-way code (used on remainder blocks) implements it with vshl + vsri, which is slower. Switch the one-way code to vrev32.16 too. Signed-off-by: Eric Biggers <ebiggers@google.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/psp-dev.c')
0 files changed, 0 insertions, 0 deletions