aboutsummaryrefslogtreecommitdiff
path: root/onion_base32.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-05-23 14:38:26 +1200
committerDavid Phillips <david@sighup.nz>2017-05-23 14:38:26 +1200
commit5b2aa52f06dbf3d5aed7165b1b9fe5ca1cf38af4 (patch)
tree5950068ee507813cb66b8d712760479aa82f3db9 /onion_base32.c
parent4995b5fe9a01a10b2487bd73bb214a4584bc4c1c (diff)
parent42dd9aef074243833b4318e725ec2f9786c9acc1 (diff)
downloadsand-leek-5b2aa52f06dbf3d5aed7165b1b9fe5ca1cf38af4.tar.xz
Merge branch 'ssse3-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 041ac3e..78753ab 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__ */