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

/solaris-x11-s12/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c447 int needed = len; local
450 while (needed > 0) {
451 int result = getrandom(auth + received, needed, GRND_RANDOM);
460 needed -= result;
465 if (needed > 0) { /* fallback if getrandom returns non-retryable error */

Completed in 9 milliseconds