23 #ifndef MBEDTLS_ENTROPY_POLL_H 24 #define MBEDTLS_ENTROPY_POLL_H 26 #if !defined(MBEDTLS_CONFIG_FILE) 29 #include MBEDTLS_CONFIG_FILE 41 #define MBEDTLS_ENTROPY_MIN_PLATFORM 32 42 #define MBEDTLS_ENTROPY_MIN_HAVEGE 32 43 #define MBEDTLS_ENTROPY_MIN_HARDCLOCK 4 44 #if !defined(MBEDTLS_ENTROPY_MIN_HARDWARE) 45 #define MBEDTLS_ENTROPY_MIN_HARDWARE 32 51 #if defined(MBEDTLS_TEST_NULL_ENTROPY) 52 int mbedtls_null_entropy_poll(
void *
data,
53 unsigned char *
output,
size_t len,
size_t *olen );
56 #if !defined(MBEDTLS_NO_PLATFORM_ENTROPY) 61 unsigned char *
output,
size_t len,
size_t *olen );
64 #if defined(MBEDTLS_HAVEGE_C) 70 int mbedtls_havege_poll(
void *
data,
71 unsigned char *
output,
size_t len,
size_t *olen );
74 #if defined(MBEDTLS_TIMING_C) 79 unsigned char *
output,
size_t len,
size_t *olen );
82 #if defined(MBEDTLS_ENTROPY_HARDWARE_ALT) 91 int mbedtls_hardware_poll(
void *
data,
92 unsigned char *
output,
size_t len,
size_t *olen );
95 #if defined(MBEDTLS_ENTROPY_NV_SEED) 101 int mbedtls_nv_seed_poll(
void *
data,
102 unsigned char *
output,
size_t len,
size_t *olen );
Configuration options (set of defines)
GLenum GLsizei len
Definition: glext.h:7389
int mbedtls_hardclock_poll(void *data, unsigned char *output, size_t len, size_t *olen)
mbedtls_timing_hardclock-based entropy poll callback
Definition: entropy_poll.c:212
std::string output
Definition: Config.FromFile.cpp:44
int mbedtls_platform_entropy_poll(void *data, unsigned char *output, size_t len, size_t *olen)
Entropy poll callback that provides 0 entropy.
Definition: entropy_poll.c:150