Skip to content

Commit 248c292

Browse files
committed
Monero format: Don't claim we use SSE4.1 in 32-bit builds
1 parent b55f339 commit 248c292

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/monero_fmt_plug.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ john_register_one(&fmt_monero);
3838
#define ALGORITHM_NAME "Pseudo-AES/Keccak/BLAKE/Groestl/JH/Skein/ChaCha 8/" ARCH_BITS_STR
3939
#if __AVX__
4040
#define ALGORITHM_NAME_AESNI "Pseudo-AES/Keccak/BLAKE/Groestl/JH/Skein/ChaCha 128/128 AVX AES-NI"
41-
#else
41+
#elif __x86_64__ /* our asm code uses SSE4.1 */
4242
#define ALGORITHM_NAME_AESNI "Pseudo-AES/Keccak/BLAKE/Groestl/JH/Skein/ChaCha 128/128 SSE4.1 AES-NI"
43+
#else /* we use SSE2 intrinsics */
44+
#define ALGORITHM_NAME_AESNI "Pseudo-AES/Keccak/BLAKE/Groestl/JH/Skein/ChaCha 128/128 SSE2 AES-NI"
4345
#endif
4446
#define BENCHMARK_COMMENT ""
4547
#define BENCHMARK_LENGTH 7

0 commit comments

Comments
 (0)