diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-10 17:17:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-10 17:17:09 +0100 |
commit | 6e31344466e2558a99cd46bb29abaa37e1faffc6 (patch) | |
tree | ae51cd2a56c252d6f0df6755b76719fe121e81e3 /src/libcryptobox/catena | |
parent | c4d3eb4af41a17cf28cb4fbb171d9b70d98259b5 (diff) | |
download | rspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.tar.gz rspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.zip |
[Minor] Fix compile warnings
Diffstat (limited to 'src/libcryptobox/catena')
-rw-r--r-- | src/libcryptobox/catena/catena.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcryptobox/catena/catena.c b/src/libcryptobox/catena/catena.c index 5b1da3129..0a3ab248a 100644 --- a/src/libcryptobox/catena/catena.c +++ b/src/libcryptobox/catena/catena.c @@ -217,8 +217,8 @@ initmem (const uint8_t x[H_LEN], const uint64_t c, uint8_t *r) } static inline void -gamma (const uint8_t garlic, const uint8_t *salt, - const uint8_t saltlen, uint8_t *r) +catena_gamma (const uint8_t garlic, const uint8_t *salt, + const uint8_t saltlen, uint8_t *r) { const uint64_t q = UINT64_C(1) << ((3 * garlic + 3) / 4); @@ -314,7 +314,7 @@ Flap (const uint8_t x[H_LEN], const uint8_t lambda, const uint8_t garlic, initmem (x, c, r); /*Gamma Function*/ - gamma (garlic, salt, saltlen, r); + catena_gamma (garlic, salt, saltlen, r); /* DBH */ for (k = 0; k < lambda; k++) { |