Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 3 of 3) sorted by relevance

/lighttpd1.4/src/
H A Drand.c182 int entropy; in li_rand_device_bytes() local
183 if (0 == ioctl(fd, (unsigned long)(RNDGETENTCNT), &entropy) in li_rand_device_bytes()
184 && entropy >= num*8) in li_rand_device_bytes()
201 static mbedtls_entropy_context entropy; variable
316 mbedtls_entropy_init(&entropy); in li_rand_init()
320 mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in li_rand_init()
367 mbedtls_entropy_free(&entropy); in li_rand_reseed()
499 && 0 == mbedtls_entropy_func(&entropy, buf, (size_t)num)) { in li_rand_bytes()
534 mbedtls_entropy_free(&entropy); in li_rand_cleanup()
H A Dmod_mbedtls.c174 mbedtls_entropy_context entropy; member
412 mbedtls_entropy_init(&p->entropy); /* init empty entropy collection struct in mod_mbedtls_init_once_mbedtls()
418 &p->entropy, /* entropy context */ in mod_mbedtls_init_once_mbedtls()
442 mbedtls_entropy_free(&p->entropy); in mod_mbedtls_free_mbedtls()
/lighttpd1.4/
H A DNEWS2606 * [core] remove srv->entropy[]
3262 * Add support for "real" entropy from /dev/[u]random (fixes #1977)