search for: uuid_len

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

Did you mean: uuid_le
2011 Jan 28
2
klibc 1.5.21-1 and mksh
...new additional_data into the new seed */ ++ h = 0x100; ++ OAAT_Update(h, &additional_data, sizeof(additional_data)); ++ OAAT_Final(h); ++ arc4_state.seed[0] = (unsigned short)(h & 0xFFFF); ++} ++ ++static void ++arc4_stir(pid_t ourpid) ++{ ++ /* define a "stir buffer" */ ++#define UUID_LEN 36 ++ struct { ++ union { ++ ssize_t numb; ++ pid_t newpid; ++ } u; ++ int fd; ++ int count; ++ char uuid[UUID_LEN]; ++ } s; ++ ++ if ((s.fd = open("/proc/sys/kernel/random/uuid", O_RDONLY)) != -1) { ++ s.count = 0; ++ while (s.count < UUID_LEN) { ++ s.u.numb = read(s.fd,...