mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Revisit Argon2i predefined parameters
This commit is contained in:
@@ -32,7 +32,7 @@ size_t crypto_pwhash_argon2i_opslimit_interactive(void);
|
|||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2i_memlimit_interactive(void);
|
size_t crypto_pwhash_argon2i_memlimit_interactive(void);
|
||||||
|
|
||||||
#define crypto_pwhash_argon2i_OPSLIMIT_MODERATE 10ULL
|
#define crypto_pwhash_argon2i_OPSLIMIT_MODERATE 6ULL
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2i_opslimit_moderate(void);
|
size_t crypto_pwhash_argon2i_opslimit_moderate(void);
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ size_t crypto_pwhash_argon2i_opslimit_moderate(void);
|
|||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2i_memlimit_moderate(void);
|
size_t crypto_pwhash_argon2i_memlimit_moderate(void);
|
||||||
|
|
||||||
#define crypto_pwhash_argon2i_OPSLIMIT_SENSITIVE 32ULL
|
#define crypto_pwhash_argon2i_OPSLIMIT_SENSITIVE 8ULL
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2i_opslimit_sensitive(void);
|
size_t crypto_pwhash_argon2i_opslimit_sensitive(void);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user