]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gosthash2012.h
gosthash2012: Enable building with SIMD implementation
[openssl-gost/engine.git] / gosthash2012.h
index 4d57e14f2f34c6cd4fc2ad84524a9b50404269e5..5b1cd9f1f5c61677d31156447543f0fd49cd0c75 100644 (file)
 
 #include <string.h>
 
-#ifdef OPENSSL_IA32_SSE2
-# ifdef __MMX__
-#  ifdef __SSE2__
-#   define __GOST3411_HAS_SSE2__
-#  endif
-# endif
+#ifdef __SSE2__
+# define __GOST3411_HAS_SSE2__
 #endif
 
 #ifdef __GOST3411_HAS_SSE2__
@@ -27,6 +23,7 @@
 #ifndef L_ENDIAN
 # define __GOST3411_BIG_ENDIAN__
 #endif
+
 #if defined __GOST3411_HAS_SSE2__
 # include "gosthash2012_sse2.h"
 #else