entropy_poll.c File Reference

#include "polarssl/config.h"
#include "polarssl/entropy.h"
#include "polarssl/entropy_poll.h"
#include "polarssl/timing.h"
#include <stdio.h>
Include dependency graph for entropy_poll.c:

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

Function Documentation

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().


Generated on 9 Apr 2014 for PolarSSL v1.3.2 by  doxygen 1.6.1