summaryrefslogtreecommitdiffstats
path: root/crypto/async_tx/async_pq.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2018-11-11 10:36:27 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-11-16 14:11:04 +0800
commitc3b734dd325dadc73c2f5b4d187208730bf21df5 (patch)
tree1789e2b2e03ffad68be30440b05ee1248b1d5815 /crypto/async_tx/async_pq.c
parentdb8e15a24957904d10f784a9adc4ea4824ee996c (diff)
downloadlinux-c3b734dd325dadc73c2f5b4d187208730bf21df5.tar.bz2
crypto: x86/chacha20 - Support partial lengths in 8-block AVX2 variant
Add a length argument to the eight block function for AVX2, so the block function may XOR only a partial length of eight blocks. To avoid unnecessary operations, we integrate XORing of the first four blocks in the final lane interleaving; this also avoids some work in the partial lengths path. Signed-off-by: Martin Willi <martin@strongswan.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/async_tx/async_pq.c')
0 files changed, 0 insertions, 0 deletions