/home/dko/Projects/mobilec/src/security/xyssl-0.9/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 *p_rng)
 HAVEGE rand function.

Detailed Description

Definition in file havege.h.


Define Documentation

#define COLLECT_SIZE   1024

Definition at line 7 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 generate_AES_key(), generate_RSA_keys_ciphertext(), generate_RSA_keys_plaintext(), initiate_migration_process(), main(), and ssl_test().

int havege_rand ( void *  p_rng  ) 

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 generate_AES_key(), generate_RSA_keys_ciphertext(), generate_RSA_keys_plaintext(), initiate_migration_process(), main(), and ssl_test().

Generated on Tue Dec 28 15:15:28 2010 for Mobile-C by  doxygen 1.6.3