diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-13 12:26:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-13 12:26:01 +0100 |
commit | 16c229e069e0b28f463484b2e894471b95ccd3a6 (patch) | |
tree | 80b6f1d9bfad91a5d32860c342b926fc38fdeee5 /src/libcryptobox | |
parent | 4b086742e69fdeb4d066521e4bf9f9ffd71c1eb0 (diff) | |
download | rspamd-16c229e069e0b28f463484b2e894471b95ccd3a6.tar.gz rspamd-16c229e069e0b28f463484b2e894471b95ccd3a6.zip |
Store NM between encrypt/decrypt.
Diffstat (limited to 'src/libcryptobox')
-rw-r--r-- | src/libcryptobox/cryptobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index 5e344d46c..3169c01a0 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -392,7 +392,7 @@ rspamd_cryptobox_siphash (unsigned char *out, const unsigned char *in, * Code based on IEEE Std 802.11-2007, Annex H.4.2. */ gboolean -rspamd_cryptobox_pbkdf(const char *pass, gsize pass_len, +rspamd_cryptobox_pbkdf (const char *pass, gsize pass_len, const guint8 *salt, gsize salt_len, guint8 *key, gsize key_len, unsigned int rounds) { |