aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/zinc/chacha20/chacha20-x86_64-glue.h')
-rw-r--r--src/crypto/zinc/chacha20/chacha20-x86_64-glue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h b/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
index 912bded..d2b1c4b 100644
--- a/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
+++ b/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
@@ -69,7 +69,7 @@ static inline bool chacha20_arch(u8 *dst, const u8 *src, const size_t len,
chacha20_avx512(dst, src, len, key, counter);
return true;
}
- if (chacha20_use_avx512vl && len >= CHACHA20_BLOCK_SIZE * 8) {
+ if (chacha20_use_avx512vl && len >= CHACHA20_BLOCK_SIZE * 4) {
chacha20_avx512vl(dst, src, len, key, counter);
return true;
}