aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rsa.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1997-12-09 12:46:23 +0000
committerWerner Koch <[email protected]>1997-12-09 12:46:23 +0000
commit935965049d424d3bb69efb672f9f44c36e7cbcb6 (patch)
tree37113923fa101828e1b43a8a71b9a85e17cd82a8 /cipher/rsa.h
parentdetached signatures are working (diff)
downloadgnupg-935965049d424d3bb69efb672f9f44c36e7cbcb6.tar.gz
gnupg-935965049d424d3bb69efb672f9f44c36e7cbcb6.zip
fingerprints and self signatures added
Diffstat (limited to '')
-rw-r--r--cipher/rsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cipher/rsa.h b/cipher/rsa.h
index a9980d0bc..1b6d189bf 100644
--- a/cipher/rsa.h
+++ b/cipher/rsa.h
@@ -46,6 +46,7 @@ typedef struct {
void rsa_free_public_key( RSA_public_key *pk );
void rsa_free_secret_key( RSA_secret_key *sk );
void rsa_generate( RSA_public_key *pk, RSA_secret_key *sk, unsigned nbits );
+int rsa_check_secret_key( RSA_secret_key *sk );
void rsa_public(MPI output, MPI input, RSA_public_key *skey );
void rsa_secret(MPI output, MPI input, RSA_secret_key *skey );