TrinityCore
|
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 union Prng_state prng_state |
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 | ) |
struct ltc_prng_descriptor prng_descriptor[] |