mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 10:37:24 -07:00
Cap argon2*_BYTES_MAX to SODIUM_SIZE_MAX
This commit is contained in:
parent
bac61ebf50
commit
f28fe0ae29
@ -22,7 +22,7 @@ int crypto_pwhash_argon2i_alg_argon2i13(void);
|
|||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2i_bytes_min(void);
|
size_t crypto_pwhash_argon2i_bytes_min(void);
|
||||||
|
|
||||||
#define crypto_pwhash_argon2i_BYTES_MAX 4294967295U
|
#define crypto_pwhash_argon2i_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 4294967295U)
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2i_bytes_max(void);
|
size_t crypto_pwhash_argon2i_bytes_max(void);
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ int crypto_pwhash_argon2id_alg_argon2id13(void);
|
|||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2id_bytes_min(void);
|
size_t crypto_pwhash_argon2id_bytes_min(void);
|
||||||
|
|
||||||
#define crypto_pwhash_argon2id_BYTES_MAX 4294967295U
|
#define crypto_pwhash_argon2id_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 4294967295U)
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_argon2id_bytes_max(void);
|
size_t crypto_pwhash_argon2id_bytes_max(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user