summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-09-21 15:07:11 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-09-21 15:10:28 +0200
commit2acd81bd7a1b364b02831ae5f8e46457d9d07865 (patch)
tree969429177db12b56e402ad767531189b7a41834c /config.h.in
parent65912e3e6fce703b03eafc2b4bf11a17a02bd39e (diff)
downloadfastd-2acd81bd7a1b364b02831ae5f8e46457d9d07865.tar
fastd-2acd81bd7a1b364b02831ae5f8e46457d9d07865.zip
Nicely encapsulate different crypto algorithm implementations
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 6b9595d..fba95a8 100644
--- a/config.h.in
+++ b/config.h.in
@@ -28,6 +28,14 @@
#ifndef _FASTD_CONFIG_H_
#define _FASTD_CONFIG_H_
+#cmakedefine USE_CRYPTO_AES128CTR
+#cmakedefine USE_CRYPTO_GHASH
+
+#cmakedefine WITH_CRYPTO_AES128CTR_NACL
+#cmakedefine WITH_CRYPTO_AES128CTR_LINUX
+#cmakedefine WITH_CRYPTO_GHASH_BUILTIN
+#cmakedefine WITH_CRYPTO_GHASH_LINUX
+
#cmakedefine WITH_METHOD_XSALSA20_POLY1305
#cmakedefine WITH_METHOD_AES128_GCM