[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.4 and 1.5

version 1.4, 2019/10/31 21:23:19 version 1.5, 2019/11/25 00:51:37
Line 20 
Line 20 
 struct sshbuf;  struct sshbuf;
 struct sshkey;  struct sshkey;
 struct sshsigopt;  struct sshsigopt;
   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 *, u_int, void *);
Line 43 
Line 44 
  */   */
 int sshsig_verifyb(struct sshbuf *signature,  int sshsig_verifyb(struct sshbuf *signature,
     const struct sshbuf *message, const char *sig_namespace,      const struct sshbuf *message, const char *sig_namespace,
     struct sshkey **sign_keyp);      struct sshkey **sign_keyp, struct sshkey_sig_details **sig_details);
   
 /* File/FD-oriented API */  /* File/FD-oriented API */
   
Line 62 
Line 63 
  * Returns 0 on success or a negative SSH_ERR_* error code on failure.   * Returns 0 on success or a negative SSH_ERR_* error code on failure.
  */   */
 int sshsig_verify_fd(struct sshbuf *signature, int fd,  int sshsig_verify_fd(struct sshbuf *signature, int fd,
     const char *sig_namespace, struct sshkey **sign_keyp);      const char *sig_namespace, struct sshkey **sign_keyp,
       struct sshkey_sig_details **sig_details);
   
 /* Utility functions */  /* Utility functions */
   

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