summaryrefslogtreecommitdiffstats
path: root/src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt')
-rw-r--r--src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt b/src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt
new file mode 100644
index 0000000..a11ad02
--- /dev/null
+++ b/src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt
@@ -0,0 +1,7 @@
+if(ARCH_X86 OR ARCH_X86_64)
+ fastd_mac_impl(ghash pclmulqdq
+ ghash_pclmulqdq.c
+ ghash_pclmulqdq_impl.c
+ )
+ fastd_mac_impl_compile_flags(ghash pclmulqdq ghash_pclmulqdq_impl.c "-mssse3 -mpclmul")
+endif(ARCH_X86 OR ARCH_X86_64)