/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | keyring.h | 66 typedef struct pgp_key_t pgp_key_t; typedef 72 DYNARRAY(pgp_key_t, key); 76 const pgp_key_t *pgp_getkeybyid(pgp_io_t *, 81 const pgp_key_t *pgp_getkeybyname(pgp_io_t *, 84 const pgp_key_t *pgp_getnextkeybyname(pgp_io_t *, 88 void pgp_keydata_free(pgp_key_t *); 91 const pgp_pubkey_t *pgp_get_pubkey(const pgp_key_t *); 92 unsigned pgp_is_key_secret(const pgp_key_t *); 93 const pgp_seckey_t *pgp_get_seckey(const pgp_key_t *); 94 pgp_seckey_t *pgp_get_writable_seckey(pgp_key_t *); [all …]
|
H A D | keyring.c | 104 pgp_key_t * 107 return calloc(1, sizeof(pgp_key_t)); in pgp_keydata_new() 121 pgp_keydata_free(pgp_key_t *keydata) in pgp_keydata_free() 160 pgp_get_pubkey(const pgp_key_t *keydata) in pgp_get_pubkey() 174 pgp_is_key_secret(const pgp_key_t *data) in pgp_is_key_secret() 191 pgp_get_seckey(const pgp_key_t *data) in pgp_get_seckey() 209 pgp_get_writable_seckey(pgp_key_t *data) in pgp_get_writable_seckey() 224 const pgp_key_t *key; 319 pgp_decrypt_seckey(const pgp_key_t *key, FILE *passfp) in pgp_decrypt_seckey() 353 pgp_set_seckey(pgp_contents_t *cont, const pgp_key_t *key) in pgp_set_seckey() [all …]
|
H A D | crypto.h | 183 const pgp_key_t *, 199 const pgp_key_t *, 214 pgp_key_t *pgp_rsa_new_selfsign_key(const int, 227 int openssl_read_pem_seckey(const char *, pgp_key_t *, const char *, int); 250 const pgp_key_t *keydata;
|
H A D | create.h | 94 pgp_pk_sesskey_t *pgp_create_pk_sesskey(const pgp_key_t *, const char *); 97 const pgp_key_t *, const unsigned); 99 const pgp_key_t *,
|
H A D | ssh2pgp.h | 35 int pgp_ssh2pubkey(pgp_io_t *, const char *, pgp_key_t *, pgp_hash_alg_t); 36 int pgp_ssh2seckey(pgp_io_t *, const char *, pgp_key_t *, pgp_pubkey_t *, pgp_hash_alg_t);
|
H A D | netpgp.c | 144 const pgp_key_t *key; in resultp() 227 appendkey(pgp_io_t *io, pgp_key_t *key, char *ringfile) in appendkey() 332 appendtokeyring(netpgp_t *netpgp, const char *name, pgp_key_t *key) in appendtokeyring() 516 static const pgp_key_t * 519 const pgp_key_t *key; in resolve_userid() 1007 const pgp_key_t *key; in netpgp_match_keys() 1057 const pgp_key_t *key; in netpgp_match_keys_json() 1102 const pgp_key_t *key; in netpgp_match_pubkeys() 1139 const pgp_key_t *key; in netpgp_get_key() 1161 const pgp_key_t *key; in netpgp_export_key() [all …]
|
H A D | validate.h | 53 const pgp_key_t *key; 95 void pgp_keydata_reader_set(pgp_stream_t *, const pgp_key_t *);
|
H A D | ssh2pgp.c | 205 pgp_ssh2pubkey(pgp_io_t *io, const char *f, pgp_key_t *key, pgp_hash_alg_t hashtype) in pgp_ssh2pubkey() 345 pgp_ssh2seckey(pgp_io_t *io, const char *f, pgp_key_t *key, pgp_pubkey_t *pubkey, pgp_hash_alg_t ha… in pgp_ssh2seckey() 437 pgp_key_t *pubkey; in pgp_ssh2_readkeys() 438 pgp_key_t *seckey; in pgp_ssh2_readkeys() 439 pgp_key_t key; in pgp_ssh2_readkeys()
|
H A D | packet-print.c | 367 psubkeybinding(char *buf, size_t size, const pgp_key_t *key, const char *expired) in psubkeybinding() 381 isrevoked(const pgp_key_t *key, unsigned uid) in isrevoked() 400 const pgp_key_t *key, char **buf, const char *header, in pgp_sprint_keydata() 403 const pgp_key_t *trustkey; in pgp_sprint_keydata() 481 const pgp_key_t *key, mj_t *keyjson, const char *header, in pgp_sprint_mj() 484 const pgp_key_t *trustkey; in pgp_sprint_mj() 567 const pgp_key_t *key, char **buf, in pgp_hkp_sprint_keydata() 570 const pgp_key_t *trustkey; in pgp_hkp_sprint_keydata() 631 const pgp_key_t *key, const char *header, in pgp_print_keydata() 690 pgp_sprint_pubkey(const pgp_key_t *key, char *out, size_t outsize) in pgp_sprint_pubkey()
|
H A D | writer.h | 117 void pgp_push_stream_enc_se_ip(pgp_output_t *, const pgp_key_t *, const char *);
|
H A D | netpgpsdk.h | 56 const pgp_key_t *,
|
H A D | readerwriter.h | 78 int pgp_push_enc_se_ip(pgp_output_t *, const pgp_key_t *, const char *);
|
H A D | validate.c | 239 const pgp_key_t *signer; in pgp_validate_key_cb() 429 const pgp_key_t *signer; in validate_data_cb() 581 pgp_keydata_reader_set(pgp_stream_t *stream, const pgp_key_t *key) in pgp_keydata_reader_set() 685 const pgp_key_t *key, in pgp_validate_key_sigs()
|
H A D | crypto.c | 352 const pgp_key_t *key, in pgp_encrypt_file() 398 const pgp_key_t *pubkey, in pgp_encrypt_buf()
|
H A D | openssl_crypto.c | 897 rsa_generate_keypair(pgp_key_t *keydata, in rsa_generate_keypair() 1013 pgp_key_t * 1020 pgp_key_t *keydata; in pgp_rsa_new_selfsign_key() 1069 openssl_read_pem_seckey(const char *f, pgp_key_t *key, const char *type, int verbose) in openssl_read_pem_seckey()
|
H A D | create.c | 509 const pgp_key_t *key, in pgp_write_xfer_pubkey() 565 const pgp_key_t *key, in pgp_write_xfer_seckey() 940 pgp_create_pk_sesskey(const pgp_key_t *key, const char *ciphername) in pgp_create_pk_sesskey()
|
H A D | packet.h | 983 struct pgp_key_t { struct
|
H A D | writer.c | 1029 pgp_push_enc_se_ip(pgp_output_t *output, const pgp_key_t *pubkey, const char *cipher) in pgp_push_enc_se_ip() 1415 pgp_push_stream_enc_se_ip(pgp_output_t *output, const pgp_key_t *pubkey, const char *cipher) in pgp_push_stream_enc_se_ip()
|
H A D | reader.c | 2217 const pgp_key_t *pubkey; in pgp_get_seckey_cb() 2218 const pgp_key_t *keypair; in pgp_get_seckey_cb()
|
H A D | misc.c | 125 pgp_key_t *key; in accumulate_cb()
|