diff options
-rw-r--r-- | onion_base32.c | 2 | ||||
-rw-r--r-- | onion_base32.h | 2 | ||||
-rw-r--r-- | sand-leek.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/onion_base32.c b/onion_base32.c index e8f8df7..eff5097 100644 --- a/onion_base32.c +++ b/onion_base32.c @@ -46,7 +46,7 @@ onion_base32(char output[16], unsigned char sum[20]) { * Somewhat inspired by http://www.alfredklomp.com/programming/sse-base64/ */ void -onion_base32_avx(char output[16], unsigned char sum[20]) { +onion_base32_ssse3(char output[16], unsigned char sum[20]) { __m128i res; __m128i ssum; __m128i masklow5; diff --git a/onion_base32.h b/onion_base32.h index ae28943..9377915 100644 --- a/onion_base32.h +++ b/onion_base32.h @@ -2,5 +2,5 @@ int check_base32(char *); void onion_base32(char [16], unsigned char (*)); #ifdef SSSE3_ONION_BASE32 -void onion_base32_avx(char [16], unsigned char (*)); +void onion_base32_ssse3(char [16], unsigned char (*)); #endif diff --git a/sand-leek.c b/sand-leek.c index f0152c8..c6d5226 100644 --- a/sand-leek.c +++ b/sand-leek.c @@ -155,7 +155,7 @@ work(void *arg) { SHA1_Final((unsigned char*)&sha, &working_sha_c); #ifdef SSSE3_ONION_BASE32 - onion_base32_avx(onion, sha); + onion_base32_ssse3(onion, sha); #else onion_base32(onion, sha); #endif |