[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.3 and 1.4

version 1.3, 2019/09/05 04:55:32 version 1.4, 2019/10/31 21:23:19
Line 22 
Line 22 
 struct sshsigopt;  struct sshsigopt;
   
 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 *, u_int, void *);      const u_char *, size_t, const char *, const char *, u_int, void *);
   
 /* Buffer-oriented API */  /* Buffer-oriented API */
   
Line 32 
Line 32 
  * 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 struct sshbuf *message, const char *sig_namespace,      const char *sk_provider, const struct sshbuf *message,
     struct sshbuf **out, sshsig_signer *signer, void *signer_ctx);      const char *sig_namespace, struct sshbuf **out,
       sshsig_signer *signer, void *signer_ctx);
   
 /*  /*
  * Verifies that a detached signature is valid and optionally returns key   * Verifies that a detached signature is valid and optionally returns key
Line 52 
Line 53 
  * 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,
     int fd, const char *sig_namespace, struct sshbuf **out,      const char *sk_provider, int fd, const char *sig_namespace,
     sshsig_signer *signer, void *signer_ctx);      struct sshbuf **out, sshsig_signer *signer, void *signer_ctx);
   
 /*  /*
  * Verifies that a detached signature over a file is valid and optionally   * Verifies that a detached signature over a file is valid and optionally

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4