OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:COMPILER_ASSERT
(Results
1 - 25
of
29
) sorted by relevancy
1
2
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
pwhash_argon2id.c
26
COMPILER_ASSERT
(crypto_pwhash_argon2id_BYTES_MIN >= ARGON2_MIN_OUTLEN);
33
COMPILER_ASSERT
(crypto_pwhash_argon2id_BYTES_MAX <= ARGON2_MAX_OUTLEN);
40
COMPILER_ASSERT
(crypto_pwhash_argon2id_PASSWD_MIN >= ARGON2_MIN_PWD_LENGTH);
47
COMPILER_ASSERT
(crypto_pwhash_argon2id_PASSWD_MAX <= ARGON2_MAX_PWD_LENGTH);
54
COMPILER_ASSERT
(crypto_pwhash_argon2id_SALTBYTES >= ARGON2_MIN_SALT_LENGTH);
55
COMPILER_ASSERT
(crypto_pwhash_argon2id_SALTBYTES <= ARGON2_MAX_SALT_LENGTH);
74
COMPILER_ASSERT
(crypto_pwhash_argon2id_OPSLIMIT_MIN >= ARGON2_MIN_TIME);
81
COMPILER_ASSERT
(crypto_pwhash_argon2id_OPSLIMIT_MAX <= ARGON2_MAX_TIME);
88
COMPILER_ASSERT
((crypto_pwhash_argon2id_MEMLIMIT_MIN / 1024U) >= ARGON2_MIN_MEMORY);
95
COMPILER_ASSERT
((crypto_pwhash_argon2id_MEMLIMIT_MAX / 1024U) <= ARGON2_MAX_MEMORY)
[
all
...]
pwhash_argon2i.c
30
COMPILER_ASSERT
(crypto_pwhash_argon2i_BYTES_MIN >= ARGON2_MIN_OUTLEN);
37
COMPILER_ASSERT
(crypto_pwhash_argon2i_BYTES_MAX <= ARGON2_MAX_OUTLEN);
44
COMPILER_ASSERT
(crypto_pwhash_argon2i_PASSWD_MIN >= ARGON2_MIN_PWD_LENGTH);
51
COMPILER_ASSERT
(crypto_pwhash_argon2i_PASSWD_MAX <= ARGON2_MAX_PWD_LENGTH);
58
COMPILER_ASSERT
(crypto_pwhash_argon2i_SALTBYTES >= ARGON2_MIN_SALT_LENGTH);
59
COMPILER_ASSERT
(crypto_pwhash_argon2i_SALTBYTES <= ARGON2_MAX_SALT_LENGTH);
78
COMPILER_ASSERT
(crypto_pwhash_argon2i_OPSLIMIT_MIN >= ARGON2_MIN_TIME);
85
COMPILER_ASSERT
(crypto_pwhash_argon2i_OPSLIMIT_MAX <= ARGON2_MAX_TIME);
92
COMPILER_ASSERT
((crypto_pwhash_argon2i_MEMLIMIT_MIN / 1024U) >= ARGON2_MIN_MEMORY);
99
COMPILER_ASSERT
((crypto_pwhash_argon2i_MEMLIMIT_MAX / 1024U) <= ARGON2_MAX_MEMORY)
[
all
...]
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/xchacha20/
stream_xchacha20.c
35
COMPILER_ASSERT
(crypto_stream_chacha20_KEYBYTES <= sizeof k2);
36
COMPILER_ASSERT
(crypto_stream_chacha20_NONCEBYTES ==
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_kx/
crypto_kx.c
26
COMPILER_ASSERT
(crypto_kx_SECRETKEYBYTES == crypto_scalarmult_SCALARBYTES);
27
COMPILER_ASSERT
(crypto_kx_PUBLICKEYBYTES == crypto_scalarmult_BYTES);
57
COMPILER_ASSERT
(sizeof keys <= crypto_generichash_BYTES_MAX);
98
COMPILER_ASSERT
(sizeof keys <= crypto_generichash_BYTES_MAX);
/src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/
randombytes.c
175
COMPILER_ASSERT
(randombytes_SEEDBYTES == crypto_stream_chacha20_ietf_KEYBYTES);
177
COMPILER_ASSERT
(randombytes_BYTES_MAX <= 0x4000000000ULL);
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/
crypto_box_seal.c
58
COMPILER_ASSERT
(crypto_box_PUBLICKEYBYTES < crypto_box_SEALBYTES);
crypto_box_easy.c
29
COMPILER_ASSERT
(crypto_box_BEFORENMBYTES >= crypto_secretbox_KEYBYTES);
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/curve25519xchacha20poly1305/
box_seal_curve25519xchacha20poly1305.c
66
COMPILER_ASSERT
(crypto_box_curve25519xchacha20poly1305_PUBLICKEYBYTES <
box_curve25519xchacha20poly1305.c
71
COMPILER_ASSERT
(crypto_box_curve25519xchacha20poly1305_BEFORENMBYTES >=
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
pbkdf2-sha256.c
60
COMPILER_ASSERT
(crypto_pwhash_scryptsalsa208sha256_BYTES_MAX
pwhash_scryptsalsa208sha256.c
217
COMPILER_ASSERT
(
220
COMPILER_ASSERT
(
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretstream/xchacha20poly1305/
secretstream_xchacha20poly1305.c
48
COMPILER_ASSERT
(crypto_secretstream_xchacha20poly1305_HEADERBYTES ==
51
COMPILER_ASSERT
(crypto_secretstream_xchacha20poly1305_HEADERBYTES ==
53
COMPILER_ASSERT
(sizeof state->nonce ==
159
COMPILER_ASSERT
(crypto_onetimeauth_poly1305_BYTES >=
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretbox/
crypto_secretbox_easy.c
38
COMPILER_ASSERT
(64U >= crypto_secretbox_ZEROBYTES);
49
COMPILER_ASSERT
(crypto_secretbox_ZEROBYTES >=
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretbox/xchacha20poly1305/
secretbox_xchacha20poly1305.c
42
COMPILER_ASSERT
(64U >= crypto_secretbox_xchacha20poly1305_ZEROBYTES);
53
COMPILER_ASSERT
(crypto_secretbox_xchacha20poly1305_ZEROBYTES >=
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/chacha20/dolbeau/
chacha20_dolbeau-avx2.c
98
COMPILER_ASSERT
(crypto_stream_chacha20_KEYBYTES == 256 / 8);
117
COMPILER_ASSERT
(crypto_stream_chacha20_KEYBYTES == 256 / 8);
chacha20_dolbeau-ssse3.c
92
COMPILER_ASSERT
(crypto_stream_chacha20_KEYBYTES == 256 / 8);
111
COMPILER_ASSERT
(crypto_stream_chacha20_KEYBYTES == 256 / 8);
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_onetimeauth/poly1305/donna/
poly1305_donna.c
76
COMPILER_ASSERT
(sizeof(crypto_onetimeauth_poly1305_state) >=
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa20/xmm6int/
salsa20_xmm6int-avx2.c
90
COMPILER_ASSERT
(crypto_stream_salsa20_KEYBYTES == 256 / 8);
salsa20_xmm6int-sse2.c
81
COMPILER_ASSERT
(crypto_stream_salsa20_KEYBYTES == 256 / 8);
/src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/
randombytes_salsa20_random.c
496
COMPILER_ASSERT
(sizeof stream.nonce == crypto_stream_salsa20_NONCEBYTES);
527
COMPILER_ASSERT
(sizeof stream.rnd32 >= (sizeof stream.key) + (sizeof val));
528
COMPILER_ASSERT
(((sizeof stream.rnd32) - (sizeof stream.key))
532
COMPILER_ASSERT
(sizeof stream.nonce == crypto_stream_salsa20_NONCEBYTES);
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_aead/chacha20poly1305/sodium/
aead_chacha20poly1305.c
200
COMPILER_ASSERT
(sizeof computed_mac == 16U);
284
COMPILER_ASSERT
(sizeof computed_mac == 16U);
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_generichash/blake2b/ref/
blake2b-ref.c
112
COMPILER_ASSERT
(sizeof *P == 64);
314
COMPILER_ASSERT
(sizeof buffer == 64U);
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/chacha20/ref/
chacha20_ref.c
235
COMPILER_ASSERT
(crypto_stream_chacha20_KEYBYTES == 256 / 8);
254
COMPILER_ASSERT
(crypto_stream_chacha20_KEYBYTES == 256 / 8);
/src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/private/
common.h
8
#define
COMPILER_ASSERT
(X) (void) sizeof(char[(X) ? 1 : -1])
/src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/
randombytes_sysrandom.c
347
COMPILER_ASSERT
(randombytes_BYTES_MAX <= 0xffffffffUL);
Completed in 24 milliseconds
1
2
Indexes created Tue Sep 30 20:09:53 GMT 2025