From 790d08ae73c7c72342265404dd897e3c618253d7 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 21 May 2017 22:03:38 +1200 Subject: AVX->SSSE3 --- onion_base32.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'onion_base32.c') diff --git a/onion_base32.c b/onion_base32.c index d70facf..e8f8df7 100644 --- a/onion_base32.c +++ b/onion_base32.c @@ -35,10 +35,10 @@ onion_base32(char output[16], unsigned char sum[20]) { } } -#ifdef AVX_ONION_BASE32 -#include +#ifdef SSSE3_ONION_BASE32 +#include -/* A slightly-parallel base32 algorithm using AVX +/* A slightly-parallel base32 algorithm using SSSE3 * Note: This is not a general base32 algorithm; it outputs only the * first 16 base32 symbols of the input buffer, using only the first * 20 bytes of that buffer. @@ -99,4 +99,4 @@ onion_base32_avx(char output[16], unsigned char sum[20]) { _mm_storeu_si128((__m128i*)output, l|n); } -#endif /* ifdef AVX_ONION_BASE32 */ +#endif /* ifdef SSSE3_ONION_BASE32 */ -- cgit v1.1