aboutsummaryrefslogtreecommitdiff
path: root/sand-leek.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-05-21 22:03:38 +1200
committerDavid Phillips <david@sighup.nz>2017-05-21 22:03:38 +1200
commit790d08ae73c7c72342265404dd897e3c618253d7 (patch)
treedc7d433ae4cbfe91dedcc413963888728e4e7086 /sand-leek.c
parentbc232e35d872b49865c1551fa5b0857da86493cd (diff)
downloadsand-leek-790d08ae73c7c72342265404dd897e3c618253d7.tar.xz
AVX->SSSE3
Diffstat (limited to 'sand-leek.c')
-rw-r--r--sand-leek.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sand-leek.c b/sand-leek.c
index 3a88a67..f0152c8 100644
--- a/sand-leek.c
+++ b/sand-leek.c
@@ -154,7 +154,7 @@ work(void *arg) {
SHA1_Update(&working_sha_c, &e_big_endian, EXPONENT_SIZE_BYTES);
SHA1_Final((unsigned char*)&sha, &working_sha_c);
-#ifdef AVX_ONION_BASE32
+#ifdef SSSE3_ONION_BASE32
onion_base32_avx(onion, sha);
#else
onion_base32(onion, sha);
@@ -255,8 +255,8 @@ monitor_progress(unsigned long volatile *khashes, int thread_count) {
void
show_version(void) {
-#ifdef AVX_ONION_BASE32
-# define EXTENSIONS "AVX Base32 Algorithm"
+#ifdef SSSE3_ONION_BASE32
+# define EXTENSIONS "SSSE3 Base32 Algorithm"
#else
# define EXTENSIONS "None"
#endif