diff options
author | David Phillips <david@sighup.nz> | 2017-05-23 14:30:08 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-05-23 14:30:08 +1200 |
commit | 42dd9aef074243833b4318e725ec2f9786c9acc1 (patch) | |
tree | 4e543c579c642781e9fb91673fea02bae0675696 /onion_base32.c | |
parent | 91576b381d9f4d714dc9a7f559ca9d13898e01e3 (diff) | |
download | sand-leek-42dd9aef074243833b4318e725ec2f9786c9acc1.tar.xz |
Make SSSE3 algorithm the default
Diffstat (limited to 'onion_base32.c')
-rw-r--r-- | onion_base32.c | 4 |
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__ */ |