Searched defs:rng (Results 1 - 2 of 2) sorted by relevance
/bind-9.11.3/lib/isc/ |
H A D | random.c | 164 chacha_reinit(isc_rng_t *rng, isc_uint8_t *buffer, size_t n) { argument 165 REQUIRE(rng != NULL); 170 chacha_keysetup(&rng->cpctx, buffer, CHACHA_KEYSIZE * 8, 0); 171 chacha_ivsetup(&rng->cpctx, buffer + CHACHA_KEYSIZE); 181 isc_rng_t *rng; local 199 rng = isc_mem_get(mctx, sizeof(*rng)); 200 if (rng == NULL) 203 chacha_reinit(rng, rnd.rnd, sizeof(rnd.rnd)); 205 rng 244 destroy(isc_rng_t *rng) argument 255 isc_rng_t *rng; local 276 chacha_rekey(isc_rng_t *rng, u_char *dat, size_t datlen) argument 304 chacha_getuint16(isc_rng_t *rng) argument 323 chacha_stir(isc_rng_t *rng) argument 362 isc_rng_random(isc_rng_t *rng) argument 380 isc_rng_uniformrandom(isc_rng_t *rng, isc_uint16_t upper_bound) argument [all...] |
/bind-9.11.3/lib/isc/tests/ |
H A D | random_test.c | 244 isc_rng_t *rng; local 260 rng = NULL; 261 result = isc_rng_create(mctx, NULL, &rng); 276 values[i] = isc_rng_random(rng); 289 isc_rng_detach(&rng);
|
Completed in 20 milliseconds