[BACK]Return to sshsig.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshsig.h between version 1.7 and 1.8

version 1.7, 2020/01/23 23:31:52 version 1.8, 2020/08/27 01:06:19
Line 23 
Line 23 
 struct sshkey_sig_details;  struct sshkey_sig_details;
   
 typedef int sshsig_signer(struct sshkey *, u_char **, size_t *,  typedef int sshsig_signer(struct sshkey *, u_char **, size_t *,
     const u_char *, size_t, const char *, const char *, u_int, void *);      const u_char *, size_t, const char *, const char *, const char *,
       u_int, void *);
   
 /* Buffer-oriented API */  /* Buffer-oriented API */
   
Line 33 
Line 34 
  * out is populated with the detached signature, or NULL on failure.   * out is populated with the detached signature, or NULL on failure.
  */   */
 int sshsig_signb(struct sshkey *key, const char *hashalg,  int sshsig_signb(struct sshkey *key, const char *hashalg,
     const char *sk_provider, const struct sshbuf *message,      const char *sk_provider, const char *sk_pin, const struct sshbuf *message,
     const char *sig_namespace, struct sshbuf **out,      const char *sig_namespace, struct sshbuf **out,
     sshsig_signer *signer, void *signer_ctx);      sshsig_signer *signer, void *signer_ctx);
   
Line 54 
Line 55 
  * out is populated with the detached signature, or NULL on failure.   * out is populated with the detached signature, or NULL on failure.
  */   */
 int sshsig_sign_fd(struct sshkey *key, const char *hashalg,  int sshsig_sign_fd(struct sshkey *key, const char *hashalg,
     const char *sk_provider, int fd, const char *sig_namespace,      const char *sk_provider, const char *sk_pin,
       int fd, const char *sig_namespace,
     struct sshbuf **out, sshsig_signer *signer, void *signer_ctx);      struct sshbuf **out, sshsig_signer *signer, void *signer_ctx);
   
 /*  /*

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8