Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Darc4random.c65 } *rs; variable
85 if (rs == NULL) { in _rs_init()
86 if (_rs_allocate(&rs, &rsx) == -1) in _rs_init()
105 if (!rs) in _rs_stir()
112 rs->rs_have = 0; in _rs_stir()
118 rs->rs_count = REKEY_BASE + (rekey_fuzz % REKEY_BASE); in _rs_stir()
125 if (!rs || rs->rs_count <= len) in _rs_stir_if_needed()
127 if (rs->rs_count <= len) in _rs_stir_if_needed()
128 rs->rs_count = 0; in _rs_stir_if_needed()
130 rs->rs_count -= len; in _rs_stir_if_needed()
[all …]
Darc4random.h47 struct _rs rs;
68 *rsp = &_arc4random_data.rs; in _rs_allocate()