]> git.codecow.com Git - Monocypher.git/commitdiff
Argon2 salts are at least 8 bytes
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 14 Mar 2019 22:44:55 +0000 (23:44 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 14 Mar 2019 22:44:55 +0000 (23:44 +0100)
src/monocypher.h

index 2c8267ea2c093609f0fc4ca54aeba7d0beef7ed1..c887ef8a5585d333938c650c1a685a8d2ed87795 100644 (file)
@@ -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