summaryrefslogtreecommitdiff
path: root/sshsig.h
diff options
context:
space:
mode:
Diffstat (limited to 'sshsig.h')
-rw-r--r--sshsig.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sshsig.h b/sshsig.h
index 63cc1ad1a..44157bc2a 100644
--- a/sshsig.h
+++ b/sshsig.h
@@ -23,7 +23,8 @@ struct sshsigopt;
23struct sshkey_sig_details; 23struct sshkey_sig_details;
24 24
25typedef int sshsig_signer(struct sshkey *, u_char **, size_t *, 25typedef int sshsig_signer(struct sshkey *, u_char **, size_t *,
26 const u_char *, size_t, const char *, const char *, u_int, void *); 26 const u_char *, size_t, const char *, const char *, const char *,
27 u_int, void *);
27 28
28/* Buffer-oriented API */ 29/* Buffer-oriented API */
29 30
@@ -33,7 +34,7 @@ typedef int sshsig_signer(struct sshkey *, u_char **, size_t *,
33 * out is populated with the detached signature, or NULL on failure. 34 * out is populated with the detached signature, or NULL on failure.
34 */ 35 */
35int sshsig_signb(struct sshkey *key, const char *hashalg, 36int sshsig_signb(struct sshkey *key, const char *hashalg,
36 const char *sk_provider, const struct sshbuf *message, 37 const char *sk_provider, const char *sk_pin, const struct sshbuf *message,
37 const char *sig_namespace, struct sshbuf **out, 38 const char *sig_namespace, struct sshbuf **out,
38 sshsig_signer *signer, void *signer_ctx); 39 sshsig_signer *signer, void *signer_ctx);
39 40
@@ -54,7 +55,8 @@ int sshsig_verifyb(struct sshbuf *signature,
54 * out is populated with the detached signature, or NULL on failure. 55 * out is populated with the detached signature, or NULL on failure.
55 */ 56 */
56int sshsig_sign_fd(struct sshkey *key, const char *hashalg, 57int sshsig_sign_fd(struct sshkey *key, const char *hashalg,
57 const char *sk_provider, int fd, const char *sig_namespace, 58 const char *sk_provider, const char *sk_pin,
59 int fd, const char *sig_namespace,
58 struct sshbuf **out, sshsig_signer *signer, void *signer_ctx); 60 struct sshbuf **out, sshsig_signer *signer, void *signer_ctx);
59 61
60/* 62/*