aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMartin Willi <[email protected]>2018-11-11 10:36:29 +0100
committerHerbert Xu <[email protected]>2018-11-16 14:11:04 +0800
commita5dd97f86211e91219807db607d740f9896b8e0b (patch)
treedf6b82f9a1256896f28a0470b9a72c8056152394 /lib/test_overflow.c
parent9b17608f15b940babe2e32522ea29787abd10af2 (diff)
crypto: x86/chacha20 - Add a 2-block AVX2 variant
This variant uses the same principle as the single block SSSE3 variant by shuffling the state matrix after each round. With the wider AVX registers, we can do two blocks in parallel, though. This function can increase performance and efficiency significantly for lengths that would otherwise require a 4-block function. Signed-off-by: Martin Willi <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions