Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Darc4random.c160 unsigned char *keystream; in _rs_random_buf() local
167 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) in _rs_random_buf()
169 memcpy(buf, keystream, m); in _rs_random_buf()
170 memset(keystream, 0, m); in _rs_random_buf()
183 unsigned char *keystream; in _rs_random_u32() local
188 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) - rs->rs_have; in _rs_random_u32()
189 memcpy(val, keystream, sizeof(*val)); in _rs_random_u32()
190 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()