From 82f9e6dff521cd21d7d00939a8093ad00197c61b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 6 Feb 2015 13:49:17 +0000 Subject: Add optimized versions of ChaCha20 by @floodyberry --- src/libcryptobox/cryptobox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcryptobox/cryptobox.h') 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); -- cgit v1.2.3