aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/dynload.h
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/dynload.h')
-rw-r--r--cipher/dynload.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cipher/dynload.h b/cipher/dynload.h
index 78f41c644..69b5d8fa9 100644
--- a/cipher/dynload.h
+++ b/cipher/dynload.h
@@ -28,4 +28,15 @@ enum_gnupgext_ciphers( void **enum_context, int *algo,
void (**decrypt)( void *c, byte *outbuf, byte *inbuf )
);
+const char *
+enum_gnupgext_pubkeys( void **enum_context, int *algo,
+ int *npkey, int *nskey, int *nenc, int *nsig, int *usage,
+ int (**generate)( int algo, unsigned nbits, MPI *skey, MPI **retfactors ),
+ int (**check_secret_key)( int algo, MPI *skey ),
+ int (**encrypt)( int algo, MPI *resarr, MPI data, MPI *pkey ),
+ int (**decrypt)( int algo, MPI *result, MPI *data, MPI *skey ),
+ int (**sign)( int algo, MPI *resarr, MPI data, MPI *skey ),
+ int (**verify)( int algo, MPI hash, MPI *data, MPI *pkey ),
+ unsigned (**get_nbits)( int algo, MPI *pkey ) );
+
#endif /*G10_CIPHER_DYNLOAD_H*/