From 6e31344466e2558a99cd46bb29abaa37e1faffc6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 10 Oct 2019 17:17:09 +0100 Subject: [Minor] Fix compile warnings --- src/libcryptobox/catena/catena.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libcryptobox/catena') 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++) { -- cgit v1.2.3