Home
last modified time | relevance | path

Searched refs:getrandom_available (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c96 int getrandom_available; member
102 SODIUM_C99(.getrandom_available =) 0
257 stream.getrandom_available = 1; in randombytes_sysrandom_init()
261 stream.getrandom_available = 0; in randombytes_sysrandom_init()
310 if (stream.getrandom_available != 0) { in randombytes_sysrandom_close()
335 if (stream.getrandom_available != 0) { in randombytes_sysrandom_buf()
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c84 int getrandom_available; member
307 global.getrandom_available = 1; in randombytes_salsa20_random_init()
311 global.getrandom_available = 0; in randombytes_salsa20_random_init()
347 if (global.getrandom_available != 0) { in randombytes_salsa20_random_stir()
432 if (global.getrandom_available != 0) { in randombytes_salsa20_random_close()