Searched refs:getrandom_works (Results 1 – 3 of 3) sorted by relevance
315 static int getrandom_works = CRYPTOGRAPHY_OSRANDOM_GETRANDOM_NOT_INIT; variable319 if (getrandom_works != CRYPTOGRAPHY_OSRANDOM_GETRANDOM_WORKS) { in osrandom_init()325 getrandom_works = CRYPTOGRAPHY_OSRANDOM_GETRANDOM_WORKS; in osrandom_init()331 getrandom_works = CRYPTOGRAPHY_OSRANDOM_GETRANDOM_FALLBACK; in osrandom_init()335 getrandom_works = CRYPTOGRAPHY_OSRANDOM_GETRANDOM_FALLBACK; in osrandom_init()344 getrandom_works = CRYPTOGRAPHY_OSRANDOM_GETRANDOM_INIT_FAILED; in osrandom_init()351 if (getrandom_works == CRYPTOGRAPHY_OSRANDOM_GETRANDOM_FALLBACK) { in osrandom_init()363 switch(getrandom_works) { in osrandom_rand_bytes()408 switch(getrandom_works) { in osrandom_rand_status()422 switch(getrandom_works) { in osurandom_get_implementation()
116 static int getrandom_works = 1; in py_getrandom() local121 if (!getrandom_works) { in py_getrandom()171 getrandom_works = 0; in py_getrandom()
317 Python/bootstrap_hash.c py_getrandom getrandom_works variable static int getrandom_works