Searched refs:peek_bytes (Results 1 – 1 of 1) sorted by relevance
87 size_t peek_bytes = num_bytes; in rand_stream_read() local88 const void *peek = rand_stream_peek(rs, &peek_bytes); in rand_stream_read()90 memcpy(buf, peek, peek_bytes); in rand_stream_read()91 rand_stream_advance(rs, peek_bytes); in rand_stream_read()93 if (num_bytes - peek_bytes) in rand_stream_read()94 get_random(rs, (uint8_t *)buf + peek_bytes, in rand_stream_read()95 num_bytes - peek_bytes); in rand_stream_read()