aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/selftest/poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-03 18:38:22 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-03 18:38:22 +0200
commitb36800d1ba2dff8e9840dd982cf630b227ae307c (patch)
treee6a1a3a463afb229dddc44ec27fa9a9a3a4aefed /src/crypto/zinc/selftest/poly1305.h
parentKconfig: do now allow IPV6=m,WG=y (diff)
downloadwireguard-monolithic-historical-b36800d1ba2dff8e9840dd982cf630b227ae307c.tar.xz
wireguard-monolithic-historical-b36800d1ba2dff8e9840dd982cf630b227ae307c.zip
simd: introduce useful disabling macro
Diffstat (limited to '')
-rw-r--r--src/crypto/zinc/selftest/poly1305.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/selftest/poly1305.h b/src/crypto/zinc/selftest/poly1305.h
index 9c12feb..3acee63 100644
--- a/src/crypto/zinc/selftest/poly1305.h
+++ b/src/crypto/zinc/selftest/poly1305.h
@@ -1091,7 +1091,7 @@ static bool __init poly1305_selftest(void)
poly1305_update(&poly1305,
poly1305_testvecs[i].input + j,
poly1305_testvecs[i].ilen - j,
- (simd_context_t []){ HAVE_NO_SIMD });
+ DONT_USE_SIMD);
poly1305_final(&poly1305, out, &simd_context);
if (memcmp(out, poly1305_testvecs[i].output,
POLY1305_MAC_SIZE)) {