OSDN Git Service

crypto: x86/chacha20 - Use larger block functions more aggressively
authorMartin Willi <martin@strongswan.org>
Sun, 11 Nov 2018 09:36:28 +0000 (10:36 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Nov 2018 06:11:04 +0000 (14:11 +0800)
commit9b17608f15b940babe2e32522ea29787abd10af2
tree9ff7634d0944867d930ac1ad775dc1b9b9cf42d3
parentc3b734dd325dadc73c2f5b4d187208730bf21df5
crypto: x86/chacha20 - Use larger block functions more aggressively

Now that all block functions support partial lengths, engage the wider
block sizes more aggressively. This prevents using smaller block
functions multiple times, where the next larger block function would
have been faster.

Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/chacha20_glue.c