diff options
| author | Werner Koch <[email protected]> | 1998-11-25 11:52:41 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-11-25 11:52:41 +0000 |
| commit | 2e494682b63e9f7abc2a34711618f4ebd21e2744 (patch) | |
| tree | e8afb0e10b4657a3d841ff9cb02a752698c19f97 /cipher/dynload.h | |
| parent | Ready for version 0.4.4 (diff) | |
| download | gnupg-2e494682b63e9f7abc2a34711618f4ebd21e2744.tar.gz gnupg-2e494682b63e9f7abc2a34711618f4ebd21e2744.zip | |
Restructured the RNG source and add support for loadable
random modules.
Diffstat (limited to 'cipher/dynload.h')
| -rw-r--r-- | cipher/dynload.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cipher/dynload.h b/cipher/dynload.h index ad22a824f..5e88dc732 100644 --- a/cipher/dynload.h +++ b/cipher/dynload.h @@ -20,6 +20,10 @@ #ifndef G10_CIPHER_DYNLOAD_H #define G10_CIPHER_DYNLOAD_H + +void register_internal_cipher_extension( const char *module_id, + void * (*enumfunc)(int, int*, int*, int*) ); + int enum_gnupgext_digests( void **enum_context, int *algo, @@ -49,4 +53,10 @@ enum_gnupgext_pubkeys( void **enum_context, int *algo, int (*cmp)(void *, MPI), void *opaquev ), unsigned (**get_nbits)( int algo, MPI *pkey ) ); + +int (*dynload_getfnc_gather_random(void))(byte*, size_t*, int); +void (*dynload_getfnc_fast_random_poll(void) + )( void (*)(const void*, size_t, int)); + + #endif /*G10_CIPHER_DYNLOAD_H*/ |
