Searched refs:SODIUM_MIN (Results 1 - 11 of 11) sorted by relevance
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/ |
H A D | export.h | 50 #define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B)) macro 51 #define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX)
|
H A D | randombytes.h | 28 #define randombytes_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 0xffffffffUL)
|
H A D | crypto_pwhash_scryptsalsa208sha256.h | 22 SODIUM_MIN(SODIUM_SIZE_MAX, 0x1fffffffe0ULL) 59 SODIUM_MIN(SIZE_MAX, 68719476736ULL)
|
H A D | crypto_secretstream_xchacha20poly1305.h | 33 SODIUM_MIN(SODIUM_SIZE_MAX, ((1ULL << 32) - 2ULL) * 64ULL)
|
H A D | crypto_stream_chacha20.h | 66 SODIUM_MIN(SODIUM_SIZE_MAX, 64ULL * (1ULL << 32))
|
H A D | crypto_aead_aes256gcm.h | 54 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_aes256gcm_ABYTES, \
|
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_chacha20poly1305.h | 34 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_chacha20poly1305_ietf_ABYTES, \
|
/netbsd-current/sys/crypto/sodium/ |
H A D | export.h | 50 #define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B)) macro 51 #define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX) 103 #define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B)) macro 104 #define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX) 156 #define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B)) macro 157 #define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX) 209 #define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B)) macro 210 #define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX)
|
H A D | crypto_aead_chacha20poly1305.h | 36 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_chacha20poly1305_ietf_ABYTES, \ 212 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_chacha20poly1305_ietf_ABYTES, \ 388 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_chacha20poly1305_ietf_ABYTES, \ 564 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_chacha20poly1305_ietf_ABYTES, \
|
Completed in 168 milliseconds