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

Go to the source code of this file.

Classes

struct  Rand64Context
 

Macros

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

Functions

void isaac64Seed (char *seed, Rand64Context *ctx)
 
void isaac64Init (bool hasSeed, Rand64Context *ctx)
 
void isaac64Random (Rand64Context *ctx)
 
uint64_t rand64Int (Rand64Context *ctx)
 
void rand64Bytes (Rand64Context *ctx, uint8_t *buf, int count)
 

Macro Definition Documentation

◆ RANDSIZ

#define RANDSIZ   (1<<RANDSIZL)

◆ RANDSIZL

#define RANDSIZL   (8)

Function Documentation

◆ isaac64Init()

void isaac64Init ( bool  hasSeed,
Rand64Context ctx 
)

◆ isaac64Random()

void isaac64Random ( Rand64Context ctx)

◆ isaac64Seed()

void isaac64Seed ( char *  seed,
Rand64Context ctx 
)

◆ rand64Bytes()

void rand64Bytes ( Rand64Context ctx,
uint8_t *  buf,
int  count 
)

◆ rand64Int()

uint64_t rand64Int ( Rand64Context ctx)