Searched refs:SODIUM_MIN (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/ |
H A D | export.h | 54 #define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B)) macro 55 #define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX)
|
H A D | crypto_pwhash_scryptsalsa208sha256.h | 22 SODIUM_MIN(SODIUM_SIZE_MAX, 0x1fffffffe0ULL) 59 SODIUM_MIN(SIZE_MAX, 68719476736ULL)
|
H A D | randombytes.h | 28 #define randombytes_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 0xffffffffUL)
|
H A D | crypto_stream_chacha20.h | 66 SODIUM_MIN(SODIUM_SIZE_MAX, 64ULL * (1ULL << 32))
|
H A D | crypto_secretstream_xchacha20poly1305.h | 33 SODIUM_MIN(SODIUM_SIZE_MAX, ((1ULL << 32) - 2ULL) * 64ULL)
|
H A D | crypto_pwhash_argon2i.h | 25 #define crypto_pwhash_argon2i_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 4294967295U)
|
H A D | crypto_pwhash_argon2id.h | 25 #define crypto_pwhash_argon2id_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 4294967295U)
|
H A D | crypto_aead_aes256gcm.h | 54 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_aes256gcm_ABYTES, \
|
H A D | crypto_aead_chacha20poly1305.h | 34 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_chacha20poly1305_ietf_ABYTES, \
|