44 uword *w, n = n_words;
66 memset (b, 0,
sizeof (b[0]));
74 s[j] = ARRAY_LEN (b->
ctx) * (seed + j) + i;
void isaac_init(isaac_t *ctx, uword *results)
void clib_random_buffer_init(clib_random_buffer_t *b, uword seed)
#define vec_add2(V, P, N)
Add N elements to end of vector V, return pointer to new elements in P.
void clib_random_buffer_fill(clib_random_buffer_t *b, uword n_words)
void isaac2(isaac_t *ctx, uword *results)
memset(h->entries, 0, sizeof(h->entries[0])*entries)
static uword round_pow2(uword x, uword pow2)