21#ifndef ENTROPY_SOURCES_MBEDTLS_RIOT_H
22#define ENTROPY_SOURCES_MBEDTLS_RIOT_H
32 mbedtls_entropy_f_source_ptr
func;
82#if !defined(MODULE_MBEDTLS_ENTROPY_SOURCE_HWRNG) && \
83 !defined(MODULE_ENTROPY_SOURCE_ADC_NOISE)
84#error "You must enable at least one entropy source. Currently supported are \
int riot_hwrng_poll(void *data, unsigned char *output, size_t len, size_t *olen)
Wrapper around RIOTs HWRNG API.
int riot_add_entropy_src_avail(mbedtls_entropy_context *ctx)
Add all available entropy sources to poll.
int riot_adc_poll(void *data, unsigned char *output, size_t len, size_t *olen)
Wrapper around RIOTs ADC entropy API.
Structure containing entropy function and its strength.
mbedtls_entropy_f_source_ptr func
Pointer to entropy callback func.
int strong
Strength of the entropy function (strong=1 for high entropy sources, strong=0 for weak entropy source...