Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/crypt/
Darc4random.c145 u_char *keystream; in _rs_random_buf() local
152 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) in _rs_random_buf()
154 memcpy(buf, keystream, m); in _rs_random_buf()
155 memset(keystream, 0, m); in _rs_random_buf()
168 u_char *keystream; in _rs_random_u32() local
173 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) - rs->rs_have; in _rs_random_u32()
174 memcpy(val, keystream, sizeof(*val)); in _rs_random_u32()
175 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()