aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r--g10/call-agent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index bf32d3f28..c8e920855 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -158,6 +158,10 @@ gpg_error_t agent_pksign (ctrl_t ctrl, const char *hexkeygrip, const char *desc,
int digestalgo,
gcry_sexp_t *r_sigval);
+/* Decrypt a ciphertext. */
+gpg_error_t agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
+ gcry_sexp_t s_ciphertext,
+ unsigned char **r_buf, size_t *r_buflen);
#endif /*GNUPG_G10_CALL_AGENT_H*/