Mbed OS Reference
Loading...
Searching...
No Matches

Data Structures

struct  mbedtls_havege_state
 HAVEGE state structure. More...
 

Typedefs

typedef struct mbedtls_havege_state mbedtls_havege_state
 HAVEGE state structure. More...
 

Functions

void mbedtls_havege_init (mbedtls_havege_state *hs)
 HAVEGE initialization. More...
 
void mbedtls_havege_free (mbedtls_havege_state *hs)
 Clear HAVEGE state. More...
 
int mbedtls_havege_random (void *p_rng, unsigned char *output, size_t len)
 HAVEGE rand function. More...
 

Detailed Description

Typedef Documentation

◆ mbedtls_havege_state

HAVEGE state structure.

Function Documentation

◆ mbedtls_havege_init()

void mbedtls_havege_init ( mbedtls_havege_state hs)

HAVEGE initialization.

Parameters
hsHAVEGE state to be initialized

◆ mbedtls_havege_free()

void mbedtls_havege_free ( mbedtls_havege_state hs)

Clear HAVEGE state.

Parameters
hsHAVEGE state to be cleared

◆ mbedtls_havege_random()

int mbedtls_havege_random ( void *  p_rng,
unsigned char *  output,
size_t  len 
)

HAVEGE rand function.

Parameters
p_rngA HAVEGE state
outputBuffer to fill
lenLength of buffer
Returns
0