summaryrefslogtreecommitdiffstats
path: root/src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-28 04:31:25 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-28 04:31:25 +0100
commitac55a91fe94b78bde373169264e6b7a180c39f04 (patch)
tree33f9a38de1e7056d02ca61c82a41e604dabdf232 /src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt
parentca49096f5d02e351b928b2fd584bd7ca0d5fcf1f (diff)
downloadfastd-ac55a91fe94b78bde373169264e6b7a180c39f04.tar
fastd-ac55a91fe94b78bde373169264e6b7a180c39f04.zip
Add a pclmulqdq ghash implementation
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)