search for: oaat_upd

Displaying 1 result from an estimated 1 matches for "oaat_upd".

2011 Jan 28
2
klibc 1.5.21-1 and mksh
...h> ++ ++static struct arc4random_state { ++ unsigned short seed[3]; /* for jrand48 */ ++ unsigned short cnt; /* invocation count */ ++ pid_t proc; /* PID of last seed */ ++} arc4_state = { { 0, 0, 0 }, 0, 0 }; ++ ++static void arc4_stir(pid_t); ++ ++/* Jenkins one-at-a-time hash */ ++#define OAAT_Update(h, buf, siz) do { \ ++ register const uint8_t *OAATcp; \ ++ register int OAATn = (siz); \ ++ \ ++ OAATcp = (const void *)(buf); \ ++ while (OAATn--) { \ ++ (h) += *OAATcp++; \ ++ (h) += (h) << 10; \ ++ (h) ^= (h) >> 6; \ ++ } \ ++} while (/* CONSTCOND */ 0) ++#de...