27 #ifndef POLARSSL_ENTROPY_POLL_H 28 #define POLARSSL_ENTROPY_POLL_H 32 #if !defined(POLARSSL_CONFIG_FILE) 35 #include POLARSSL_CONFIG_FILE 45 #define ENTROPY_MIN_PLATFORM 128 46 #define ENTROPY_MIN_HAVEGE 128 47 #define ENTROPY_MIN_HARDCLOCK 32 49 #if !defined(POLARSSL_NO_PLATFORM_ENTROPY) 54 unsigned char *output,
size_t len,
size_t *olen );
57 #if defined(POLARSSL_HAVEGE_C) 63 int havege_poll(
void *data,
64 unsigned char *output,
size_t len,
size_t *olen );
67 #if defined(POLARSSL_TIMING_C) 72 unsigned char *output,
size_t len,
size_t *olen );
Configuration options (set of defines)
int platform_entropy_poll(void *data, unsigned char *output, size_t len, size_t *olen)
Platform-specific entropy poll callback.
int hardclock_poll(void *data, unsigned char *output, size_t len, size_t *olen)
hardclock-based entropy poll callback