Trim crypto_pwhash_scryptsalsa208sha256_BYTES_MAX down to ~127 GB

This commit is contained in:
Frank Denis 2017-07-29 15:02:51 +02:00
parent 3525f032df
commit 568adb570d

View File

@ -18,7 +18,7 @@ extern "C" {
SODIUM_EXPORT
size_t crypto_pwhash_scryptsalsa208sha256_bytes_min(void);
#define crypto_pwhash_scryptsalsa208sha256_BYTES_MAX SIZE_MAX
#define crypto_pwhash_scryptsalsa208sha256_BYTES_MAX (SIZE_MAX > 0x1fffffffe0ULL ? 0x1fffffffe0ULL : SIZE_MAX)
SODIUM_EXPORT
size_t crypto_pwhash_scryptsalsa208sha256_bytes_max(void);