Dynalib Utils
Classes | Macros | Functions
ISAACRandom.h File Reference
#include "standard.h"
#include <cstdint>
#include <cstddef>
#include "../TypeDefs.h"
Include dependency graph for ISAACRandom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RandContext
 

Macros

#define RANDSIZL   (8)
 
#define RANDSIZ   (1<<RANDSIZL)
 

Functions

void isaacSeed (char *seed, RandContext *ctx)
 
void isaacInit (bool hasSeed, RandContext *ctx)
 
void isaacRandom (RandContext *ctx)
 
uint32_t randInt (RandContext *ctx)
 
void randBytes (RandContext *ctx, uchar *buf, int count)
 

Macro Definition Documentation

◆ RANDSIZ

#define RANDSIZ   (1<<RANDSIZL)

◆ RANDSIZL

#define RANDSIZL   (8)

Function Documentation

◆ isaacInit()

void isaacInit ( bool  hasSeed,
RandContext ctx 
)

◆ isaacRandom()

void isaacRandom ( RandContext ctx)

◆ isaacSeed()

void isaacSeed ( char *  seed,
RandContext ctx 
)

◆ randBytes()

void randBytes ( RandContext ctx,
uchar buf,
int  count 
)

◆ randInt()

uint32_t randInt ( RandContext ctx)