diff -ur john-1.7.3.1-all-5-fastMD5.3/src/MD5_std.h john-1.7.3.1-all-5-fastMD5.3bis/src/MD5_std.h --- john-1.7.3.1-all-5-fastMD5.3/src/MD5_std.h 2008-10-19 05:32:20 +0400 +++ john-1.7.3.1-all-5-fastMD5.3bis/src/MD5_std.h 2008-10-19 05:38:25 +0400 @@ -60,6 +60,9 @@ #endif #ifdef MD5_SSE_PARA +# ifndef MMX_COEF +# define MMX_COEF 4 +# endif # define MD5_N (MD5_SSE_PARA*MMX_COEF) # define MD5_ALGORITHM_NAME MD5_N_STR #else diff -ur john-1.7.3.1-all-5-fastMD5.3/src/Makefile john-1.7.3.1-all-5-fastMD5.3bis/src/Makefile --- john-1.7.3.1-all-5-fastMD5.3/src/Makefile 2008-10-19 05:34:01 +0400 +++ john-1.7.3.1-all-5-fastMD5.3bis/src/Makefile 2008-10-19 05:40:20 +0400 @@ -193,7 +193,7 @@ linux-x86-64: $(LN) x86-64.h arch.h $(MAKE) $(PROJ) \ - JOHN_OBJS="$(JOHN_OBJS_MINIMAL) x86-64.o" + JOHN_OBJS="$(JOHN_OBJS_MINIMAL) x86-64.o sse-intrinsics.o" linux-x86-64-32-sse2: $(LN) x86-sse.h arch.h @@ -216,6 +216,7 @@ $(MAKE) $(PROJ) \ JOHN_OBJS="$(JOHN_OBJS_MINIMAL) x86.o x86-sse.o sha1-mmx.o md5-mmx.o sse-intrinsics.o" \ CFLAGS="$(CFLAGS) -march=nocona" + linux-x86-sse2-icc: $(LN) x86-sse.h arch.h $(MAKE) $(PROJ) \ diff -ur john-1.7.3.1-all-5-fastMD5.3/src/sse-intrinsics.c john-1.7.3.1-all-5-fastMD5.3bis/src/sse-intrinsics.c --- john-1.7.3.1-all-5-fastMD5.3/src/sse-intrinsics.c 2008-10-17 15:54:30 +0400 +++ john-1.7.3.1-all-5-fastMD5.3bis/src/sse-intrinsics.c 2008-10-19 05:37:14 +0400 @@ -4,6 +4,10 @@ #include "memory.h" #include "md5.h" +#ifndef MMX_COEF +#define MMX_COEF 4 +#endif + #define SSE_NUM_KEYS (MMX_COEF*MD5_SSE_PARA) #define PARA_DO(x) for((x)=0;(x)