aes256gcm doesn't use SSE4.1 instructions any more

This commit is contained in:
Frank Denis 2015-10-11 01:17:00 +02:00
parent 970058bb38
commit 82b2f5a4c4
2 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ noinst_LTLIBRARIES = libaesni.la libsse2.la
libaesni_la_LDFLAGS = $(libsodium_la_LDFLAGS)
libaesni_la_CPPFLAGS = $(libsodium_la_CPPFLAGS) \
@CFLAGS_SSE4_1@ @CFLAGS_AESNI@ @CFLAGS_PCLMUL@
@CFLAGS_SSSE3@ @CFLAGS_AESNI@ @CFLAGS_PCLMUL@
libaesni_la_SOURCES = \
crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c

View File

@ -14,7 +14,7 @@
#if defined(HAVE_WMMINTRIN_H) || \
(defined(_MSC_VER) && (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86)))
#pragma GCC target("sse4.1")
#pragma GCC target("ssse3")
#pragma GCC target("aes")
#pragma GCC target("pclmul")