aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-31 21:36:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-31 21:36:18 +0200
commit21f030546aa3ed9ef57be5a65b3aa3cd88cdf619 (patch)
treec6e2df29f5def0e2b4400cd2435c2fe100e06d45 /src/crypto
parentblake2s: do not use xgetbv for ssse3 detection (diff)
downloadwireguard-monolithic-historical-21f030546aa3ed9ef57be5a65b3aa3cd88cdf619.tar.xz
wireguard-monolithic-historical-21f030546aa3ed9ef57be5a65b3aa3cd88cdf619.zip
blake2s: add ssse3 to nobs
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/zinc/blake2s/blake2s-x86_64-glue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
index 1d10058..74d81d4 100644
--- a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
+++ b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
@@ -17,7 +17,8 @@ asmlinkage void blake2s_compress_avx512(struct blake2s_state *state,
static bool blake2s_use_ssse3 __ro_after_init;
static bool blake2s_use_avx512 __ro_after_init;
-static bool *const blake2s_nobs[] __initconst = { &blake2s_use_avx512 };
+static bool *const blake2s_nobs[] __initconst = { &blake2s_use_ssse3,
+ &blake2s_use_avx512 };
static void __init blake2s_fpu_init(void)
{