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

version 1.4, 2019/11/12 19:31:18 version 1.5, 2019/11/12 19:31:45
Line 25 
Line 25 
 #define SSH_SK_HELPER_VERSION   1  #define SSH_SK_HELPER_VERSION   1
   
 /*  /*
  * Enroll (generate) a new security-key hosted private key via the specified   * Enroll (generate) a new security-key hosted private key of given type
  * provider middleware.   * via the specified provider middleware.
  * If challenge_buf is NULL then a random 256 bit challenge will be used.   * If challenge_buf is NULL then a random 256 bit challenge will be used.
  *   *
  * Returns 0 on success or a ssherr.h error code on failure.   * Returns 0 on success or a ssherr.h error code on failure.
Line 34 
Line 34 
  * 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(const char *provider_path, const char *application,  int sshsk_enroll(int type, const char *provider_path, const char *application,
     uint8_t flags, struct sshbuf *challenge_buf, struct sshkey **keyp,      uint8_t flags, struct sshbuf *challenge_buf, struct sshkey **keyp,
     struct sshbuf *attest);      struct sshbuf *attest);
   

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