ZBar Bar Code Reader Library  version 0.10
isaac.c File Reference
Include dependency graph for isaac.c:

Macros

#define ISAAC_MASK
 

Functions

void isaac_init (isaac_ctx *_ctx, const void *_seed, int _nseed)
 
static void isaac_mix (unsigned _x[8])
 
unsigned isaac_next_uint (isaac_ctx *_ctx, unsigned _n)
 
unsigned isaac_next_uint32 (isaac_ctx *_ctx)
 
static void isaac_update (isaac_ctx *_ctx)
 

Macro Definition Documentation

#define ISAAC_MASK

Referenced by isaac_next_uint(), and isaac_update().

Function Documentation

void isaac_init ( isaac_ctx _ctx,
const void _seed,
int  _nseed 
)

References isaac_ctx::a, isaac_ctx::b, isaac_ctx::c, isaac_mix(), ISAAC_SEED_SZ_MAX, ISAAC_SZ, isaac_update(), isaac_ctx::m, isaac_ctx::r, and x.

Referenced by qr_reader_init().

Here is the call graph for this function:

Here is the caller graph for this function:

static void isaac_mix ( unsigned  _x[8])
static

References SHIFT.

Referenced by isaac_init().

Here is the caller graph for this function:

unsigned isaac_next_uint ( isaac_ctx _ctx,
unsigned  _n 
)

References ISAAC_MASK, and isaac_next_uint32().

Referenced by qr_finder_ransac().

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned isaac_next_uint32 ( isaac_ctx _ctx)

References isaac_update(), isaac_ctx::n, and isaac_ctx::r.

Referenced by isaac_next_uint().

Here is the call graph for this function:

Here is the caller graph for this function:

static void isaac_update ( isaac_ctx _ctx)
static

References isaac_ctx::a, isaac_ctx::b, isaac_ctx::c, ISAAC_MASK, ISAAC_SZ, ISAAC_SZ_LOG, isaac_ctx::m, isaac_ctx::n, isaac_ctx::r, x, and y.

Referenced by isaac_init(), and isaac_next_uint32().

Here is the caller graph for this function: