TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tomcrypt_prng.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  Prng_state
 
struct  ltc_prng_descriptor
 

Typedefs

typedef union Prng_state prng_state
 

Functions

int find_prng (const char *name)
 
int register_prng (const struct ltc_prng_descriptor *prng)
 
int unregister_prng (const struct ltc_prng_descriptor *prng)
 
int prng_is_valid (int idx)
 
unsigned long rng_get_bytes (unsigned char *out, unsigned long outlen, void(*callback)(void))
 
int rng_make_prng (int bits, int wprng, prng_state *prng, void(*callback)(void))
 

Variables

struct ltc_prng_descriptor prng_descriptor []
 

Typedef Documentation

typedef union Prng_state prng_state

Function Documentation

int find_prng ( const char *  name)
int prng_is_valid ( int  idx)
int register_prng ( const struct ltc_prng_descriptor prng)
unsigned long rng_get_bytes ( unsigned char *  out,
unsigned long  outlen,
void(*)(void)  callback 
)
int rng_make_prng ( int  bits,
int  wprng,
prng_state prng,
void(*)(void)  callback 
)
int unregister_prng ( const struct ltc_prng_descriptor prng)

Variable Documentation

struct ltc_prng_descriptor prng_descriptor[]