summaryrefslogtreecommitdiffstats
path: root/contrib/libottery/ottery-internal.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 12:38:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 12:38:41 +0100
commit572f8723c85c2b5100fc76269f8b0f7ecb80c399 (patch)
tree36098d1ca96f351accb1793ccaf617780afaa5ed /contrib/libottery/ottery-internal.h
parentb8bc9298b16c3b73aead0b15fa60cf061168a8a2 (diff)
downloadrspamd-572f8723c85c2b5100fc76269f8b0f7ecb80c399.tar.gz
rspamd-572f8723c85c2b5100fc76269f8b0f7ecb80c399.zip
Use cryptobox chacha for libottery.
Diffstat (limited to 'contrib/libottery/ottery-internal.h')
-rw-r--r--contrib/libottery/ottery-internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/libottery/ottery-internal.h b/contrib/libottery/ottery-internal.h
index 24279043e..145c5e4a9 100644
--- a/contrib/libottery/ottery-internal.h
+++ b/contrib/libottery/ottery-internal.h
@@ -15,7 +15,11 @@
#define OTTERY_INTERNAL_H_HEADER_INCLUDED_
#include <stdint.h>
#include <sys/types.h>
+
+#ifdef BUILD_RSPAMD
#include "config.h"
+#endif
+
#include "ottery-threading.h"
@@ -300,6 +304,10 @@ void ottery_disable_cpu_capabilities_(uint32_t disable);
extern const struct ottery_prf ottery_prf_chacha8_merged_;
extern const struct ottery_prf ottery_prf_chacha12_merged_;
extern const struct ottery_prf ottery_prf_chacha20_merged_;
+
+#ifdef BUILD_RSPAMD
+extern const struct ottery_prf ottery_prf_chacha20_cryptobox_;
+#endif
/**@}*/
/**