Home | History | Annotate | Download | only in rand

Lines Matching full:bytes

66  * RAND_query_egd_bytes(path, buf, bytes)
67 * will actually query "bytes" bytes of entropy form the egd-socket located
70 * The number of bytes is not limited by the maximum chunk size of EGD,
71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks
72 * of entropy bytes are requested. The connection is left open until the
76 * num the number of bytes read from the EGD socket. This number is either
77 * the number of bytes requested or smaller, if the EGD pool is
82 * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have them
89 * num the number of bytes read from the EGD socket. This number is either
90 * the number of bytes requested or smaller, if the EGD pool is
93 * RAND_egd(path) will query 255 bytes and use the bytes retreived to seed
99 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
108 int RAND_egd_bytes(const char *path,int bytes)
136 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
187 while(bytes > 0)
190 egdbuf[1] = bytes < 255 ? bytes : 255;
274 bytes -= egdbuf[0];
284 int RAND_egd_bytes(const char *path, int bytes)
288 num = RAND_query_egd_bytes(path, NULL, bytes);