summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-05 03:13:30 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-06 02:19:47 +0200
commit15278beaa6f5a416725f9be9212323e8c19e57c4 (patch)
tree4020d614248eb3fb95ac4cab11feeaddfafd4cb0 /src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
parentff0f6e667ff877cd605d2b107c897b039f9829d9 (diff)
crypto: test all SIMD combinations
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/blake2s/blake2s-x86_64-glue.c')
-rw-r--r--src/crypto/zinc/blake2s/blake2s-x86_64-glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
index 7be9809..1319480 100644
--- a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
+++ b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
@@ -17,6 +17,7 @@ asmlinkage void blake2s_compress_avx512(struct blake2s_state *state,
static bool blake2s_use_avx __ro_after_init;
static bool blake2s_use_avx512 __ro_after_init;
+static bool *const blake2s_nobs[] __initconst = { &blake2s_use_avx512 };
static void __init blake2s_fpu_init(void)
{