aboutsummaryrefslogtreecommitdiff
path: root/onion_base32.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-05-23 14:30:08 +1200
committerDavid Phillips <david@sighup.nz>2017-05-23 14:30:08 +1200
commit42dd9aef074243833b4318e725ec2f9786c9acc1 (patch)
tree4e543c579c642781e9fb91673fea02bae0675696 /onion_base32.c
parent91576b381d9f4d714dc9a7f559ca9d13898e01e3 (diff)
downloadsand-leek-42dd9aef074243833b4318e725ec2f9786c9acc1.tar.xz
Make SSSE3 algorithm the default
Diffstat (limited to 'onion_base32.c')
-rw-r--r--onion_base32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/onion_base32.c b/onion_base32.c
index eff5097..c5b2946 100644
--- a/onion_base32.c
+++ b/onion_base32.c
@@ -35,7 +35,7 @@ onion_base32(char output[16], unsigned char sum[20]) {
}
}
-#ifdef SSSE3_ONION_BASE32
+#ifdef __SSSE3__
#include <tmmintrin.h>
/* A slightly-parallel base32 algorithm using SSSE3
@@ -99,4 +99,4 @@ onion_base32_ssse3(char output[16], unsigned char sum[20]) {
_mm_storeu_si128((__m128i*)output, l|n);
}
-#endif /* ifdef SSSE3_ONION_BASE32 */
+#endif /* ifdef __SSSE3__ */