diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-08 13:53:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-08 13:53:22 +0100 |
commit | 44f42b7dc338ed22bf08f4fd862fa1812c7e110f (patch) | |
tree | 340707a7f11c39af7b08ace4d141f43de573aab3 /src/libcryptobox/CMakeLists.txt | |
parent | 04bcabcb61e2eac364ecb84f2709e4ca53b62921 (diff) | |
download | rspamd-44f42b7dc338ed22bf08f4fd862fa1812c7e110f.tar.gz rspamd-44f42b7dc338ed22bf08f4fd862fa1812c7e110f.zip |
Add ssse3 version.
Diffstat (limited to 'src/libcryptobox/CMakeLists.txt')
-rw-r--r-- | src/libcryptobox/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 84b6db96e..f59ec8146 100644 --- a/src/libcryptobox/CMakeLists.txt +++ b/src/libcryptobox/CMakeLists.txt @@ -55,6 +55,9 @@ IF(HAVE_SSE2) SET(CHACHASRC ${CHACHASRC} ${CMAKE_CURRENT_SOURCE_DIR}/chacha20/sse2.S) SET(POLYSRC ${POLYSRC} ${CMAKE_CURRENT_SOURCE_DIR}/poly1305/sse2.S) ENDIF(HAVE_SSE2) +IF(HAVE_SSSE3) + SET(SIPHASHSRC ${SIPHASHSRC} ${CMAKE_CURRENT_SOURCE_DIR}/siphash/ssse3.S) +ENDIF(HAVE_SSSE3) IF(HAVE_SSE41) SET(SIPHASHSRC ${SIPHASHSRC} ${CMAKE_CURRENT_SOURCE_DIR}/siphash/sse41.S) ENDIF(HAVE_SSE41) |