aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2018-07-25 01:29:07 +0000
committerHerbert Xu <[email protected]>2018-08-03 10:06:05 +0000
commit4e34e51f48ab7f77a4022aa810a786daa3eb3e22 (patch)
treedde19d19ab296050fa3d7a2f362124bdbf7d04f5 /lib/mpi/mpi-pow.c
parentcrypto: ccree - allow bigger than sector XTS op (diff)
downloadkernel-4e34e51f48ab7f77a4022aa810a786daa3eb3e22.tar.gz
kernel-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 <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions