File havege.h
HAVEGE: HArdware Volatile Entropy Gathering and Expansion.
Defines
-
MBEDTLS_HAVEGE_COLLECT_SIZE
Typedefs
-
typedef struct mbedtls_havege_state mbedtls_havege_state
HAVEGE state structure.
Functions
-
void mbedtls_havege_init(mbedtls_havege_state *hs)
HAVEGE initialization.
- Parameters
hs – HAVEGE state to be initialized
-
void mbedtls_havege_free(mbedtls_havege_state *hs)
Clear HAVEGE state.
- Parameters
hs – HAVEGE state to be cleared
-
int mbedtls_havege_random(void *p_rng, unsigned char *output, size_t len)
HAVEGE rand function.
- Parameters
p_rng – A HAVEGE state
output – Buffer to fill
len – Length of buffer
- Returns
0
-
struct mbedtls_havege_state
- #include <havege.h>
HAVEGE state structure.