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

/bind-9.11.3/lib/isc/
H A Drandom.c62 #define CHACHA_BUFFERSIZE (16 * CHACHA_BLOCKSIZE) macro
69 isc_uint8_t buffer[CHACHA_BUFFERSIZE];
206 memset(rng->buffer, 0, CHACHA_BUFFERSIZE);
280 memset(rng->buffer, 0, CHACHA_BUFFERSIZE);
285 CHACHA_BUFFERSIZE);
300 rng->have = CHACHA_BUFFERSIZE - CHACHA_KEYSIZE - CHACHA_IVSIZE;
312 memmove(&val, rng->buffer + CHACHA_BUFFERSIZE - rng->have,
315 memset(rng->buffer + CHACHA_BUFFERSIZE - rng->have,
351 memset(rng->buffer, 0, CHACHA_BUFFERSIZE);

Completed in 13 milliseconds