Loading...
Searching...
No Matches
entropy_sources_mbedtls_riot.h File Reference

Functions to register and poll with the Mbed TLS entropy module. More...

Detailed Description

Functions to register and poll with the Mbed TLS entropy module.

Author
Peter Kietzmann peter.nosp@m..kie.nosp@m.tzman.nosp@m.n@ha.nosp@m.w-ham.nosp@m.burg.nosp@m..de

Definition in file entropy_sources_mbedtls_riot.h.

Go to the source code of this file.

Data Structures

struct  entropy_source_mbedtls_riot_t
 Structure containing entropy function and its strength. More...
 

Functions

int riot_add_entropy_src_avail (mbedtls_entropy_context *ctx)
 Add all available entropy sources to poll.
 
int riot_hwrng_poll (void *data, unsigned char *output, size_t len, size_t *olen)
 Wrapper around RIOTs HWRNG API.
 
int riot_adc_poll (void *data, unsigned char *output, size_t len, size_t *olen)
 Wrapper around RIOTs ADC entropy API.