diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-12 09:48:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-12 15:18:17 +0100 |
commit | 6acd32efb16da419e7b1c3a618e3cd3473d23e2e (patch) | |
tree | 43772fbdb02cb0716d7e923dd25f51001752a423 /src/libcryptobox | |
parent | dcce9c08032e152d82d1539f55721324c472390a (diff) | |
download | rspamd-6acd32efb16da419e7b1c3a618e3cd3473d23e2e.tar.gz rspamd-6acd32efb16da419e7b1c3a618e3cd3473d23e2e.zip |
[Minor] Use embedded hcacha for sodium compat
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 0a3939e54..0b4ebe614 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -440,7 +440,7 @@ rspamd_cryptobox_nm (rspamd_nm_t nm, g_assert (len == sizeof (s)); /* Still do hchacha iteration since we are not using SHA1 KDF */ - crypto_core_hchacha20 (nm, n0, s, NULL); + hchacha (s, n0, nm, 20); EC_KEY_free (lk); EC_POINT_free (ec_pub); |