Lines Matching defs:rs
58 } *rs;
78 if (rs == NULL) {
79 if (_rs_allocate(&rs, &rsx) == -1)
96 if (!rs)
103 rs->rs_have = 0;
109 rs->rs_count = REKEY_BASE + (rekey_fuzz % REKEY_BASE);
116 if (!rs || rs->rs_count <= len)
118 if (rs->rs_count <= len)
119 rs->rs_count = 0;
121 rs->rs_count -= len;
144 rs->rs_have = sizeof(rsx->rs_buf) - KEYSZ - IVSZ;
156 if (rs->rs_have > 0) {
157 m = minimum(n, rs->rs_have);
159 - rs->rs_have;
164 rs->rs_have -= m;
166 if (rs->rs_have == 0)
177 if (rs->rs_have < sizeof(*val))
179 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) - rs->rs_have;
182 rs->rs_have -= sizeof(*val);