From bcee2a1b842d022187c3422f4ccc150048b15166 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 3 Oct 2018 18:38:22 +0200 Subject: simd: introduce useful disabling macro Signed-off-by: Jason A. Donenfeld --- src/crypto/zinc/selftest/poly1305.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/zinc/selftest/poly1305.h') 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)) { -- cgit v1.2.3