Home
last modified time | relevance | path

Searched refs:tempbuf (Results 1 – 1 of 1) sorted by relevance

/openssl/crypto/rand/
H A Drand_egd.c114 unsigned char tempbuf[255]; in RAND_query_egd_bytes() local
116 if (bytes > (int)sizeof(tempbuf)) in RAND_query_egd_bytes()
177 tempbuf[0] = 1; in RAND_query_egd_bytes()
178 tempbuf[1] = bytes; in RAND_query_egd_bytes()
179 if (fwrite(tempbuf, sizeof(char), 2, fp) != 2 || fflush(fp) == EOF) in RAND_query_egd_bytes()
181 if (fread(tempbuf, sizeof(char), 1, fp) != 1 || tempbuf[0] == 0) in RAND_query_egd_bytes()
183 numbytes = tempbuf[0]; in RAND_query_egd_bytes()
188 buf = tempbuf; in RAND_query_egd_bytes()
196 RAND_add(tempbuf, i, i); in RAND_query_egd_bytes()

Completed in 3 milliseconds