/home/dko/projects/mobilec/trunk/src/security/xyssl-0.7/include/xyssl/havege.h File Reference

Go to the source code of this file.

Data Structures

struct  havege_state
 HAVEGE state structure. More...

Defines

#define COLLECT_SIZE   1024

Functions

void havege_init (havege_state *hs)
 HAVEGE initialization.
int havege_rand (void *rng_d)
 HAVEGE rand function.


Detailed Description

Definition in file havege.h.


Define Documentation

#define COLLECT_SIZE   1024

Definition at line 11 of file havege.h.

Referenced by havege_fill(), and havege_rand().


Function Documentation

void havege_init ( havege_state hs  ) 

HAVEGE initialization.

Parameters:
hs HAVEGE state to be initialized

Definition at line 188 of file havege.c.

References havege_fill().

Referenced by main().

int havege_rand ( void *  rng_d  ) 

HAVEGE rand function.

Parameters:
rng_st points to an HAVEGE state
Returns:
A random int

Definition at line 198 of file havege.c.

References COLLECT_SIZE, havege_fill(), havege_state::offset, and havege_state::pool.

Referenced by main().


Generated on Fri May 16 14:49:56 2008 for Mobile-C by  doxygen 1.5.4