diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-06 13:49:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-06 13:49:17 +0000 |
commit | 82f9e6dff521cd21d7d00939a8093ad00197c61b (patch) | |
tree | 3d644d389b999913683dbce608aadd7191c6fe93 /src/libcryptobox/cryptobox.h | |
parent | 60228b266bd9a130e810589abacc2acae9480644 (diff) | |
download | rspamd-82f9e6dff521cd21d7d00939a8093ad00197c61b.tar.gz rspamd-82f9e6dff521cd21d7d00939a8093ad00197c61b.zip |
Add optimized versions of ChaCha20 by @floodyberry
Diffstat (limited to 'src/libcryptobox/cryptobox.h')
-rw-r--r-- | src/libcryptobox/cryptobox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.h b/src/libcryptobox/cryptobox.h index af857197a..60b5d2252 100644 --- a/src/libcryptobox/cryptobox.h +++ b/src/libcryptobox/cryptobox.h @@ -61,7 +61,7 @@ void rspamd_cryptobox_keypair (rspamd_pk_t pk, rspamd_sk_t sk); * @param sk local secret key * @param sig output signature */ -void rspamd_cryptobox_encrypt_inplace (struct rspamd_encrypt_segment *segments, +void rspamd_cryptobox_encrypt_inplace (guchar *data, gsize len, gsize cnt, const rspamd_pk_t pk, const rspamd_sk_t sk, rspamd_sig_t sig); |