Searched refs:entropy (Results 1 – 3 of 3) sorted by relevance
182 int entropy; in li_rand_device_bytes() local183 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; variable316 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()
174 mbedtls_entropy_context entropy; member412 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()
2606 * [core] remove srv->entropy[]3262 * Add support for "real" entropy from /dev/[u]random (fixes #1977)