Lines Matching refs:isaac
83 struct isaac struct
97 } isaac; member
192 s->buf.isaac.buffered = 0; in randread_new()
193 if (! get_nonce (s->buf.isaac.state.m, in randread_new()
194 MIN (sizeof s->buf.isaac.state.m, bytes_bound))) in randread_new()
201 isaac_seed (&s->buf.isaac.state); in randread_new()
253 readisaac (struct isaac *isaac, void *p, size_t size) in readisaac() argument
255 size_t inbytes = isaac->buffered; in readisaac()
263 memcpy (p, isaac->data.b + ISAAC_BYTES - inbytes, size); in readisaac()
264 isaac->buffered = inbytes - size; in readisaac()
268 memcpy (p, isaac->data.b + ISAAC_BYTES - inbytes, inbytes); in readisaac()
279 isaac_refill (&isaac->state, wp); in readisaac()
284 isaac->buffered = 0; in readisaac()
291 isaac_refill (&isaac->state, isaac->data.w); in readisaac()
306 readisaac (&s->buf.isaac, buf, size); in randread()