diff options
| author | Eric Biggers <[email protected]> | 2018-07-25 01:29:07 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-08-03 10:06:05 +0000 |
| commit | 4e34e51f48ab7f77a4022aa810a786daa3eb3e22 (patch) | |
| tree | dde19d19ab296050fa3d7a2f362124bdbf7d04f5 /lib/mpi/mpi-pow.c | |
| parent | crypto: ccree - allow bigger than sector XTS op (diff) | |
| download | kernel-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
