diff options
| author | Martin Willi <[email protected]> | 2018-11-20 17:30:49 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-11-29 16:27:04 +0800 |
| commit | 29a47b54e030efe308aa90e6c26a9ce7f5f84ed8 (patch) | |
| tree | b53c29fb2903d8d4f62afb9804cb10e6643c7034 /lib/mpi/mpi-cmp.c | |
| parent | cee7a36ecb5bafef8c87fb2c10641e6125044154 (diff) | |
crypto: x86/chacha20 - Add a 2-block AVX-512VL variant
This version uses the same principle as the AVX2 version. It benefits
from the AVX-512VL rotate instructions and the more efficient partial
block handling using "vmovdqu8", resulting in a speedup of ~20%.
Unlike the AVX2 version, it is faster than the single block SSSE3 version
to process a single block. Hence we engage that function for (partial)
single block lengths as well.
Signed-off-by: Martin Willi <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions