Home
last modified time | relevance | path

Searched refs:SODIUM_MIN (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dexport.h54 #define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B)) macro
55 #define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX)
H A Dcrypto_pwhash_scryptsalsa208sha256.h22 SODIUM_MIN(SODIUM_SIZE_MAX, 0x1fffffffe0ULL)
59 SODIUM_MIN(SIZE_MAX, 68719476736ULL)
H A Drandombytes.h28 #define randombytes_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 0xffffffffUL)
H A Dcrypto_stream_chacha20.h66 SODIUM_MIN(SODIUM_SIZE_MAX, 64ULL * (1ULL << 32))
H A Dcrypto_secretstream_xchacha20poly1305.h33 SODIUM_MIN(SODIUM_SIZE_MAX, ((1ULL << 32) - 2ULL) * 64ULL)
H A Dcrypto_pwhash_argon2i.h25 #define crypto_pwhash_argon2i_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 4294967295U)
H A Dcrypto_pwhash_argon2id.h25 #define crypto_pwhash_argon2id_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 4294967295U)
H A Dcrypto_aead_aes256gcm.h54 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_aes256gcm_ABYTES, \
H A Dcrypto_aead_chacha20poly1305.h34 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_chacha20poly1305_ietf_ABYTES, \