From 3fe3d84612e168f4fe1c4e47a187c37d79c168f0 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Thu, 14 Mar 2019 23:44:55 +0100 Subject: [PATCH] Argon2 salts are at least 8 bytes --- src/monocypher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monocypher.h b/src/monocypher.h index 2c8267e..c887ef8 100644 --- a/src/monocypher.h +++ b/src/monocypher.h @@ -181,7 +181,7 @@ void crypto_argon2i(uint8_t *hash, uint32_t hash_size, // >= 4 void *work_area, uint32_t nb_blocks, // >= 8 uint32_t nb_iterations, // >= 1 const uint8_t *password, uint32_t password_size, - const uint8_t *salt, uint32_t salt_size); + const uint8_t *salt, uint32_t salt_size); // >= 8 void crypto_argon2i_general(uint8_t *hash, uint32_t hash_size,// >= 4 void *work_area, uint32_t nb_blocks,// >= 8 -- 2.47.3