#include <pgp.h>
Data Fields | |
uint8 | ver |
uint8 | time [4] |
uint8 | algo |
union { | |
struct { | |
PGP_MPI * p | |
PGP_MPI * g | |
PGP_MPI * y | |
} elg | |
struct { | |
PGP_MPI * n | |
PGP_MPI * e | |
} rsa | |
struct { | |
PGP_MPI * p | |
PGP_MPI * q | |
PGP_MPI * g | |
PGP_MPI * y | |
} dsa | |
} | pub |
union { | |
struct { | |
PGP_MPI * x | |
} elg | |
struct { | |
PGP_MPI * d | |
PGP_MPI * p | |
PGP_MPI * q | |
PGP_MPI * u | |
} rsa | |
struct { | |
PGP_MPI * x | |
} dsa | |
} | sec |
uint8 | key_id [8] |
int | can_encrypt |
Definition at line 174 of file pgp.h.
Definition at line 178 of file pgp.h.
Referenced by _pgp_read_public_key(), calc_key_id(), check_key_cksum(), check_key_sha1(), decrypt_elgamal(), decrypt_rsa(), pgp_key_free(), pgp_write_pubenc_sesskey(), process_secret_key(), and read_pubkey_keyid().
Definition at line 224 of file pgp.h.
Referenced by _pgp_read_public_key(), and internal_read_key().
struct { ... } PGP_PubKey::dsa |
struct { ... } PGP_PubKey::dsa |
Referenced by _pgp_read_public_key(), calc_key_id(), check_key_cksum(), check_key_sha1(), pgp_key_free(), and process_secret_key().
struct { ... } PGP_PubKey::elg |
struct { ... } PGP_PubKey::elg |
Definition at line 223 of file pgp.h.
Referenced by calc_key_id(), pgp_parse_pubenc_sesskey(), pgp_write_pubenc_sesskey(), and read_pubkey_keyid().
union { ... } PGP_PubKey::pub |
struct { ... } PGP_PubKey::rsa |
struct { ... } PGP_PubKey::rsa |
union { ... } PGP_PubKey::sec |
Referenced by check_key_cksum(), check_key_sha1(), pgp_elgamal_decrypt(), pgp_key_free(), pgp_rsa_decrypt(), and process_secret_key().
Definition at line 177 of file pgp.h.
Referenced by _pgp_read_public_key(), and calc_key_id().
Definition at line 176 of file pgp.h.
Referenced by _pgp_read_public_key(), and calc_key_id().