aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/dynload.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-06-13 17:00:02 +0000
committerWerner Koch <[email protected]>1998-06-13 17:00:02 +0000
commite662bf708b4f24ec36b4ec8d26e66e4381bddeda (patch)
tree63f6024556241d73918e22ce678ba91a07d24537 /cipher/dynload.h
parenta whole bunch of internal cleanups (diff)
downloadgnupg-e662bf708b4f24ec36b4ec8d26e66e4381bddeda.tar.gz
gnupg-e662bf708b4f24ec36b4ec8d26e66e4381bddeda.zip
gnupg extension are now working
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*/