diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-15 12:38:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-15 12:38:41 +0100 |
commit | 572f8723c85c2b5100fc76269f8b0f7ecb80c399 (patch) | |
tree | 36098d1ca96f351accb1793ccaf617780afaa5ed /contrib/libottery/ottery-internal.h | |
parent | b8bc9298b16c3b73aead0b15fa60cf061168a8a2 (diff) | |
download | rspamd-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.h | 8 |
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 /**@}*/ /** |