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

Diff for /src/usr.bin/ssh/ssh-sk.h between version 1.8 and 1.9

version 1.8, 2019/12/30 09:23:28 version 1.9, 2020/01/06 02:00:47
Line 20 
Line 20 
   
 struct sshbuf;  struct sshbuf;
 struct sshkey;  struct sshkey;
   struct sk_option;
   
 /* Version of protocol expected from ssh-sk-helper */  /* Version of protocol expected from ssh-sk-helper */
 #define SSH_SK_HELPER_VERSION           3  #define SSH_SK_HELPER_VERSION           4
   
 /* ssh-sk-helper messages */  /* ssh-sk-helper messages */
 #define SSH_SK_HELPER_ERROR             0       /* Only valid H->C */  #define SSH_SK_HELPER_ERROR             0       /* Only valid H->C */
Line 40 
Line 41 
  * If successful and the attest_data buffer is not NULL then attestation   * If successful and the attest_data buffer is not NULL then attestation
  * information is placed there.   * information is placed there.
  */   */
 int sshsk_enroll(int type, const char *provider_path, const char *application,  int sshsk_enroll(int type, const char *provider_path, const char *device,
     uint8_t flags, const char *pin, struct sshbuf *challenge_buf,      const char *application, const char *userid, uint8_t flags,
       const char *pin, struct sshbuf *challenge_buf,
     struct sshkey **keyp, struct sshbuf *attest);      struct sshkey **keyp, struct sshbuf *attest);
   
 /*  /*
Line 60 
Line 62 
  *   *
  * Returns 0 on success or a ssherr.h error code on failure.   * Returns 0 on success or a ssherr.h error code on failure.
  */   */
 int sshsk_load_resident(const char *provider_path, const char *pin,  int sshsk_load_resident(const char *provider_path, const char *device,
     struct sshkey ***keysp, size_t *nkeysp);      const char *pin, struct sshkey ***keysp, size_t *nkeysp);
   
 #endif /* _SSH_SK_H */  #endif /* _SSH_SK_H */
   

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