summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/blake2s
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
commitb8e32dc14ce4795eed480c5b070ea4af3840ed65 (patch)
tree7a07a155853f99f3654dad34d97f98e93f0f3ddd /src/crypto/zinc/blake2s
parentcb5c7f30091887bef8cd972be7e1eb06ab765235 (diff)
blake2s: add ssse3 to nobs
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/blake2s')
-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)
{