12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #ifndef POLARSSL_HAVEGE_H
- #define POLARSSL_HAVEGE_H
- #define COLLECT_SIZE 1024
- typedef struct
- {
- int PT1, PT2, offset[2];
- int pool[COLLECT_SIZE];
- int WALK[8192];
- }
- havege_state;
- #ifdef __cplusplus
- extern "C" {
- #endif
- void havege_init( havege_state *hs );
- int havege_rand( void *p_rng );
- #ifdef __cplusplus
- }
- #endif
- #endif
|