From 10888831dd7706ce58de3124a0502f5d0cd244e7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 6 Feb 2017 17:28:28 +0000 Subject: [Feature] Add sse42 version of base64 decoding --- src/libcryptobox/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libcryptobox/CMakeLists.txt') diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 9cca1b694..6e0344bbf 100644 --- a/src/libcryptobox/CMakeLists.txt +++ b/src/libcryptobox/CMakeLists.txt @@ -94,6 +94,9 @@ ENDIF(HAVE_SSE2) IF(HAVE_SSE41) SET(SIPHASHSRC ${SIPHASHSRC} ${CMAKE_CURRENT_SOURCE_DIR}/siphash/sse41.S) ENDIF(HAVE_SSE41) +IF(HAVE_SSE42) + SET(BASE64SRC ${BASE64SRC} ${CMAKE_CURRENT_SOURCE_DIR}/base64/sse42.c) +ENDIF(HAVE_SSE42) CONFIGURE_FILE(platform_config.h.in platform_config.h) INCLUDE_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}") -- cgit v1.2.3