summaryrefslogtreecommitdiffstats
path: root/src/crypto/poly1305/CMakeLists.txt
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-01-22 14:27:53 -0800
committerAdam Langley <agl@google.com>2015-01-30 16:52:14 -0800
commitd9e397b599b13d642138480a28c14db7a136bf05 (patch)
tree34bab61dc4ce323b123ad4614dbc07e86ea2f9ef /src/crypto/poly1305/CMakeLists.txt
downloadexternal_boringssl-d9e397b599b13d642138480a28c14db7a136bf05.zip
external_boringssl-d9e397b599b13d642138480a28c14db7a136bf05.tar.gz
external_boringssl-d9e397b599b13d642138480a28c14db7a136bf05.tar.bz2
Initial commit of BoringSSL for Android.
Diffstat (limited to 'src/crypto/poly1305/CMakeLists.txt')
-rw-r--r--src/crypto/poly1305/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/crypto/poly1305/CMakeLists.txt b/src/crypto/poly1305/CMakeLists.txt
new file mode 100644
index 0000000..bb0c1e4
--- /dev/null
+++ b/src/crypto/poly1305/CMakeLists.txt
@@ -0,0 +1,21 @@
+include_directories(. .. ../../include)
+
+if (${ARCH} STREQUAL "arm")
+ set(
+ POLY1305_ARCH_SOURCES
+
+ poly1305_arm_asm.S
+ )
+endif()
+
+add_library(
+ poly1305
+
+ OBJECT
+
+ poly1305.c
+ poly1305_arm.c
+ poly1305_vec.c
+
+ ${POLY1305_ARCH_SOURCES}
+)