diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-28 22:39:26 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-28 22:39:26 +0100 |
commit | c13fe36e4c0730037ae75d51f7f052d916486aac (patch) | |
tree | 4b366856e28875e40724a11248dfd9cf3faa0094 /src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c | |
parent | 337d9e4787a20e8277c7ce638786cdaa2ec3f8ca (diff) | |
download | fastd-c13fe36e4c0730037ae75d51f7f052d916486aac.tar fastd-c13fe36e4c0730037ae75d51f7f052d916486aac.zip |
ghash-pclmulqdq: fix one left usage of a __builtin pclmulqdq instead of the _mm version
Diffstat (limited to 'src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c')
-rw-r--r-- | src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |