diff options
Diffstat (limited to 'ssh-sk.h')
-rw-r--r-- | ssh-sk.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-sk.h,v 1.4 2019/11/12 19:31:18 markus Exp $ */ | 1 | /* $OpenBSD: ssh-sk.h,v 1.5 2019/11/12 19:31:45 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019 Google LLC | 3 | * Copyright (c) 2019 Google LLC |
4 | * | 4 | * |
@@ -25,8 +25,8 @@ struct sshkey; | |||
25 | #define SSH_SK_HELPER_VERSION 1 | 25 | #define SSH_SK_HELPER_VERSION 1 |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * Enroll (generate) a new security-key hosted private key via the specified | 28 | * Enroll (generate) a new security-key hosted private key of given type |
29 | * provider middleware. | 29 | * via the specified provider middleware. |
30 | * If challenge_buf is NULL then a random 256 bit challenge will be used. | 30 | * If challenge_buf is NULL then a random 256 bit challenge will be used. |
31 | * | 31 | * |
32 | * Returns 0 on success or a ssherr.h error code on failure. | 32 | * Returns 0 on success or a ssherr.h error code on failure. |
@@ -34,7 +34,7 @@ struct sshkey; | |||
34 | * If successful and the attest_data buffer is not NULL then attestation | 34 | * If successful and the attest_data buffer is not NULL then attestation |
35 | * information is placed there. | 35 | * information is placed there. |
36 | */ | 36 | */ |
37 | int sshsk_enroll(const char *provider_path, const char *application, | 37 | int sshsk_enroll(int type, const char *provider_path, const char *application, |
38 | uint8_t flags, struct sshbuf *challenge_buf, struct sshkey **keyp, | 38 | uint8_t flags, struct sshbuf *challenge_buf, struct sshkey **keyp, |
39 | struct sshbuf *attest); | 39 | struct sshbuf *attest); |
40 | 40 | ||