Searched refs:getentropy_works (Results 1 – 2 of 2) sorted by relevance
240 static int getentropy_works = CRYPTOGRAPHY_OSRANDOM_GETENTROPY_NOT_INIT; variable244 getentropy_works = CRYPTOGRAPHY_OSRANDOM_GETENTROPY_WORKS; in osrandom_init()247 getentropy_works = CRYPTOGRAPHY_OSRANDOM_GETENTROPY_WORKS; in osrandom_init()249 getentropy_works = CRYPTOGRAPHY_OSRANDOM_GETENTROPY_FALLBACK; in osrandom_init()263 switch(getentropy_works) { in osrandom_rand_bytes()298 switch(getentropy_works) { in osurandom_get_implementation()
236 static int getentropy_works = 1; in py_getentropy() local238 if (!getentropy_works) { in py_getentropy()262 getentropy_works = 0; in py_getentropy()