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

Go to the documentation of this file.
00001 
00004 #ifndef _HAVEGE_H
00005 #define _HAVEGE_H
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010 
00011 #define COLLECT_SIZE 1024
00012 
00016 typedef struct
00017 {
00018     int PT1, PT2, offset[2];
00019     int pool[COLLECT_SIZE];
00020     int WALK[8192];
00021 }
00022 havege_state;
00023 
00029 void havege_init( havege_state *hs );
00030 
00038 int havege_rand( void *rng_d );
00039 
00040 #ifdef __cplusplus
00041 }
00042 #endif
00043 
00044 #endif /* havege.h */

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