diff options
author | Werner Koch <wk@gnupg.org> | 1997-11-24 23:24:04 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1997-11-24 23:24:04 +0100 |
commit | 46900fbd437a134bd16e5030182fb3a219cd370e (patch) | |
tree | f13063a7c4896b189c7a3d09791d5464241174c7 /g10/keydb.h | |
parent | IDEA removed, signing works (diff) | |
download | gnupg2-46900fbd437a134bd16e5030182fb3a219cd370e.tar.xz gnupg2-46900fbd437a134bd16e5030182fb3a219cd370e.zip |
ElGamal funktioniert und ist default
Diffstat (limited to 'g10/keydb.h')
-rw-r--r-- | g10/keydb.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/g10/keydb.h b/g10/keydb.h index 62c6abe36..ae3aeb83f 100644 --- a/g10/keydb.h +++ b/g10/keydb.h @@ -22,6 +22,7 @@ #define G10_KEYDB_H #include "types.h" +#include "packet.h" #include "cipher.h" @@ -35,11 +36,13 @@ void cache_pubkey_cert( PKT_pubkey_cert *pkc ); void cache_user_id( PKT_user_id *uid, u32 *keyid ); int get_pubkey( PKT_pubkey_cert *pkc, u32 *keyid ); int get_pubkey_by_name( PKT_pubkey_cert *pkc, const char *name ); -int get_seckey( RSA_secret_key *skey, u32 *keyid ); +int get_seckey( PKT_seckey_cert *skc, u32 *keyid ); int get_seckey_by_name( PKT_seckey_cert *skc, const char *name ); char*get_user_id_string( u32 *keyid ); - +/*-- keyid.c --*/ +u32 keyid_from_skc( PKT_seckey_cert *skc, u32 *keyid ); +u32 keyid_from_pkc( PKT_pubkey_cert *pkc, u32 *keyid ); |