Searched defs:ndesired (Results 1 - 2 of 2) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/win32/
H A Dentropy.c53 ssize_t ndesired; local
63 ndesired = ISC_MIN(desired, sizeof(buf));
64 if (!CryptGenRandom(hcryptprov, ndesired, buf)) {
70 entropypool_adddata(ent, buf, ndesired, ndesired * 8);
71 added += ndesired * 8;
72 desired -= ndesired;
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dentropy.c77 ssize_t n, ndesired; local
87 ndesired = ISC_MIN(desired, sizeof(buf));
88 n = read(fd, buf, ndesired);
117 ssize_t n = 0, ndesired; local
128 ndesired = ISC_MIN(desired, sizeof(buf));
133 buf[0] = ndesired;
148 buf[1] = ndesired;

Completed in 221 milliseconds