From c13fe36e4c0730037ae75d51f7f052d916486aac Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 28 Nov 2013 22:39:26 +0100 Subject: ghash-pclmulqdq: fix one left usage of a __builtin pclmulqdq instead of the _mm version --- src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c b/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c index 99978ff..0abff8c 100644 --- a/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c +++ b/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c @@ -82,7 +82,7 @@ static __m128i gmul(__m128i v, __m128i h) { __m128i tmph = _mm_srli_si128(h, 8); tmph = _mm_xor_si128(tmph, h); - z1 = __builtin_ia32_pclmulqdq128(tmpv, tmph, 0x00); + z1 = _mm_clmulepi64_si128(tmpv, tmph, 0x00); z1 = _mm_xor_si128(z1, z0); z1 = _mm_xor_si128(z1, z2); -- cgit v1.2.3