Searched refs:prng (Results 1 – 3 of 3) sorted by relevance
36 prng->rc4.x = 0; in rc4_start()55 prng->rc4.buf[prng->rc4.x++] = *buf++; in rc4_add_entropy()67 s = prng->rc4.buf; in rc4_ready()69 keylen = prng->rc4.x; in rc4_ready()83 prng->rc4.x = 0; in rc4_ready()84 prng->rc4.y = 0; in rc4_ready()95 x = prng->rc4.x; in rc4_read()96 y = prng->rc4.y; in rc4_read()97 s = prng->rc4.buf; in rc4_read()105 prng->rc4.x = x; in rc4_read()[all …]
171 int rc4_start(prng_state *prng);172 int rc4_add_entropy(const unsigned char *buf, unsigned long len, prng_state *prng);173 int rc4_ready(prng_state *prng);174 unsigned long rc4_read(unsigned char *buf, unsigned long len, prng_state *prng);