52static char randPool[RANDPOOLSZ];
53static long randCount = 0;
150 avGenRand((
char *)&newRand,
sizeof(newRand));
160static int avRandomized = 0;
161static u32_t avRandomSeed = 0;
186 u32_t *lptr1 = (
u32_t *)((
char *)&clockBuf[3]);
199 avRandomSeed += *(
u32_t *)clockBuf + *lptr1 + OSIdleCtr
200 + ppp_mtime() + ((
u32_t)TM1 << 16) + TM1;
206 srand((
unsigned)avRandomSeed);
219 static u32_t last_jiffies;
VOID WINAPI MD5Final(MD5_CTX *)
VOID WINAPI MD5Init(MD5_CTX *)
VOID WINAPI MD5Update(MD5_CTX *, const unsigned char *, unsigned int)
GLenum GLuint GLenum GLsizei const GLchar * buf
void __cdecl srand(_In_ unsigned int _Seed)
_Check_return_ int __cdecl rand(void)
#define MEMCPY(DST, SRC, BYTES)
void avGenRand(char *buf, u32_t bufLen)
void avChurnRand(char *randData, u32_t randLen)