![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Bob Jenkin's random number generator. More...
#include <freeradius-devel/util/rand.h>
Go to the source code of this file.
Macros | |
#define | ind(mm, x) ((mm)[(x >> 2) &(RANDSIZ-1)]) |
#define | mix(a, b, c, d, e, f, g, h) |
#define | RANDSIZ (1 << RANDSIZL) |
#define | RANDSIZL (8) /* I recommend 8 for crypto, 4 for simulations */ |
#define | rngstep(mix, a, b, mm, m, m2, r, x) |
Functions | |
void | fr_isaac (fr_randctx *ctx) |
void | fr_isaac_init (fr_randctx *ctx, int flag) |
Bob Jenkin's random number generator.
Bob's random number generator, ISAAC. Public Domain.
http://burtleburtle.net/bob/rand/isaac.html
Definition in file isaac.c.
#define mix | ( | a, | |
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
g, | |||
h | |||
) |
#define RANDSIZL (8) /* I recommend 8 for crypto, 4 for simulations */ |
void fr_isaac | ( | fr_randctx * | ctx | ) |
void fr_isaac_init | ( | fr_randctx * | ctx, |
int | flag | ||
) |