mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Restructured the RNG source and add support for loadable
random modules.
This commit is contained in:
parent
710d2e351b
commit
2e494682b6
11 changed files with 1101 additions and 281 deletions
|
@ -27,13 +27,6 @@ void secure_random_alloc(void);
|
|||
int quick_random_gen( int onoff );
|
||||
void randomize_buffer( byte *buffer, size_t length, int level );
|
||||
byte *get_random_bits( size_t nbits, int level, int secure );
|
||||
void add_randomness( const void *buffer, size_t length, int source );
|
||||
|
||||
|
||||
/*-- the next two functions are implemented by all the system
|
||||
specific source files rand-xxxx.c --*/
|
||||
void random_poll(void);
|
||||
void fast_random_poll(void);
|
||||
|
||||
void fast_random_poll( void );
|
||||
|
||||
#endif /*G10_RANDOM_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue