Lines Matching defs:entropy
29 #include <isc/entropy.h>
65 isc_entropy_t *entropy; /*%< entropy source for ARC4 */
85 isc_entropy_t *entropy; /*%< entropy source */
441 dispatch_arc4init(arc4ctx_t *actx, isc_entropy_t *entropy, isc_mutex_t *lock) {
448 actx->entropy = entropy; /* don't have to attach */
501 if (actx->entropy != NULL) {
505 result = isc_entropy_getdata(actx->entropy, rnd.rnd,
1719 if (mgr->entropy != NULL)
1720 isc_entropy_detach(&mgr->entropy);
1803 dns_dispatchmgr_create(isc_mem_t *mctx, isc_entropy_t *entropy,
1878 mgr->entropy = NULL;
1904 if (entropy != NULL)
1905 isc_entropy_attach(entropy, &mgr->entropy);
1907 dispatch_arc4init(&mgr->arc4ctx, mgr->entropy, &mgr->arc4_lock);
2418 dispatch_arc4init(&disp->arc4ctx, mgr->entropy, NULL);