Searched refs:cryptinfo (Results 1 – 4 of 4) sorted by relevance
307 return cbinfo->cryptinfo.getpassphrase(pkt, cbinfo); in write_parsed_cb()512 parse->cbinfo.cryptinfo.secring = secring; in pgp_decrypt_file()514 parse->cbinfo.cryptinfo.getpassphrase = getpassfunc; in pgp_decrypt_file()515 parse->cbinfo.cryptinfo.pubring = pubring; in pgp_decrypt_file()584 parse->cbinfo.cryptinfo.secring = secring; in pgp_decrypt_buf()585 parse->cbinfo.cryptinfo.pubring = pubring; in pgp_decrypt_buf()587 parse->cbinfo.cryptinfo.getpassphrase = getpassfunc; in pgp_decrypt_buf()
2177 if (!cbinfo->cryptinfo.secring) { in pgp_pk_sesskey_cb()2183 cbinfo->cryptinfo.keydata = in pgp_pk_sesskey_cb()2184 pgp_getkeybyid(io, cbinfo->cryptinfo.secring, in pgp_pk_sesskey_cb()2186 if (!cbinfo->cryptinfo.keydata) { in pgp_pk_sesskey_cb()2231 pubkey = pgp_getkeybyid(io, cbinfo->cryptinfo.pubring, in pgp_get_seckey_cb()2236 cbinfo->cryptinfo.keydata = in pgp_get_seckey_cb()2237 pgp_getkeybyid(io, cbinfo->cryptinfo.secring, in pgp_get_seckey_cb()2240 if (!cbinfo->cryptinfo.keydata || in pgp_get_seckey_cb()2241 !pgp_is_key_secret(cbinfo->cryptinfo.keydata)) { in pgp_get_seckey_cb()2244 keypair = cbinfo->cryptinfo.keydata; in pgp_get_seckey_cb()[all …]
264 pgp_cryptinfo_t cryptinfo; /* used when decrypting */ member311 pgp_cryptinfo_t cryptinfo; member
1463 stream->cryptinfo.secring = secring; in pgp_list_packets()1464 stream->cryptinfo.pubring = pubring; in pgp_list_packets()1466 stream->cryptinfo.getpassphrase = cb_get_passphrase; in pgp_list_packets()