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.c151 u_char *keystream; in _rs_random_buf() local
158 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) in _rs_random_buf()
160 memcpy(buf, keystream, m); in _rs_random_buf()
161 memset(keystream, 0, m); in _rs_random_buf()
174 u_char *keystream; in _rs_random_u32() local
179 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) - rs->rs_have; in _rs_random_u32()
180 memcpy(val, keystream, sizeof(*val)); in _rs_random_u32()
181 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()