#include "polarssl/config.h"
#include "polarssl/entropy.h"
#include "polarssl/entropy_poll.h"
#include "polarssl/timing.h"
#include <stdio.h>
Go to the source code of this file.
Functions | |
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 |
int hardclock_poll | ( | void * | data, | |
unsigned char * | output, | |||
size_t | len, | |||
size_t * | olen | |||
) |
hardclock-based entropy poll callback
Definition at line 103 of file entropy_poll.c.
References hardclock().
Referenced by entropy_init().
int platform_entropy_poll | ( | void * | data, | |
unsigned char * | output, | |||
size_t | len, | |||
size_t * | olen | |||
) |
Platform-specific entropy poll callback.
Definition at line 74 of file entropy_poll.c.
References POLARSSL_ERR_ENTROPY_SOURCE_FAILED.
Referenced by entropy_init().