Home | History | Annotate | Download | only in libevent

Lines Matching defs:entropy

71 /* Add platform entropy 32 bytes (256 bits) at a time. */
178 * RANDOM_UUID sysctl to get entropy from the kernel. This can work
215 * tries to use the KERN_ARND syscall to get entropy from the kernel.
261 unsigned char entropy[64];
271 memset(entropy, 0, sizeof(entropy));
276 entropy[nybbles/2] |= nyb;
278 entropy[nybbles/2] |= nyb<<4;
285 arc4_addrandom(entropy, nybbles/2);
288 evutil_memclear_(entropy, sizeof(entropy));