Searched refs:rand_buf (Results 1 - 1 of 1) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/
H A Dresolver.c264 isc_uint32_t rand_buf; member in struct:fetchctx
2349 * Return 'bits' bits of random entropy from fctx->rand_buf,
2365 ret = fctx->rand_buf << bits;
2368 isc_random_get(&fctx->rand_buf);
2369 fctx->rand_bits = sizeof(fctx->rand_buf) * CHAR_BIT;
2378 ret |= fctx->rand_buf & mask;
2379 fctx->rand_buf >>= bits;
3602 fctx->rand_buf = 0;

Completed in 42 milliseconds