gcm128.c: fix linking problems in 32-bit Windows build.
authorAndy Polyakov <appro@openssl.org>
Thu, 4 Apr 2013 13:54:58 +0000 (15:54 +0200)
committerAndy Polyakov <appro@openssl.org>
Thu, 4 Apr 2013 13:54:58 +0000 (15:54 +0200)
crypto/modes/gcm128.c

index ae5fab1..138d440 100644 (file)
@@ -658,7 +658,7 @@ void gcm_init_clmul(u128 Htable[16],const u64 Xi[2]);
 void gcm_gmult_clmul(u64 Xi[2],const u128 Htable[16]);
 void gcm_ghash_clmul(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
 
-#if defined(__i386) || defined(__i386__)
+#if defined(__i386) || defined(__i386__) || defined(_M_IX86)
 # define gcm_init_avx  gcm_init_clmul
 # define gcm_gmult_avx gcm_gmult_clmul
 # define gcm_ghash_avx gcm_ghash_clmul