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

/bind-9.11.3/lib/isc/
H A Drandom.c59 #define CHACHA_KEYSIZE 32U macro
167 if (n < CHACHA_KEYSIZE + CHACHA_IVSIZE)
170 chacha_keysetup(&rng->cpctx, buffer, CHACHA_KEYSIZE * 8, 0);
171 chacha_ivsetup(&rng->cpctx, buffer + CHACHA_KEYSIZE);
291 m = ISC_MIN(datlen, CHACHA_KEYSIZE + CHACHA_IVSIZE);
298 CHACHA_KEYSIZE + CHACHA_IVSIZE);
299 memset(rng->buffer, 0, CHACHA_KEYSIZE + CHACHA_IVSIZE);
300 rng->have = CHACHA_BUFFERSIZE - CHACHA_KEYSIZE - CHACHA_IVSIZE;

Completed in 13 milliseconds