mbed TLS v1.3.14
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
polarssl
havege.h
Go to the documentation of this file.
1
24
#ifndef POLARSSL_HAVEGE_H
25
#define POLARSSL_HAVEGE_H
26
27
#include <stddef.h>
28
29
#define COLLECT_SIZE 1024
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
38
typedef
struct
39
{
40
int
PT1,
PT2
, offset[2];
41
int
pool[
COLLECT_SIZE
];
42
int
WALK[8192];
43
}
44
havege_state
;
45
51
void
havege_init
(
havege_state
*hs );
52
58
void
havege_free
(
havege_state
*hs );
59
69
int
havege_random
(
void
*p_rng,
unsigned
char
*output,
size_t
len );
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
/* havege.h */
COLLECT_SIZE
#define COLLECT_SIZE
Definition:
havege.h:29
havege_free
void havege_free(havege_state *hs)
Clear HAVEGE state.
havege_state::PT2
int PT2
Definition:
havege.h:40
havege_state
HAVEGE state structure.
Definition:
havege.h:38
havege_random
int havege_random(void *p_rng, unsigned char *output, size_t len)
HAVEGE rand function.
havege_init
void havege_init(havege_state *hs)
HAVEGE initialization.
Generated on Tue Oct 13 2015 08:45:21 for mbed TLS v1.3.14 by
1.8.9.1