X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gosthash2012.h;fp=gosthash2012.h;h=5b1cd9f1f5c61677d31156447543f0fd49cd0c75;hb=88a44b67c76ce938f124e22e6a882780a98731fb;hp=4d57e14f2f34c6cd4fc2ad84524a9b50404269e5;hpb=b3dd924c96575efc13392530295e0c30254780b1;p=openssl-gost%2Fengine.git diff --git a/gosthash2012.h b/gosthash2012.h index 4d57e14..5b1cd9f 100644 --- a/gosthash2012.h +++ b/gosthash2012.h @@ -10,12 +10,8 @@ #include -#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