summaryrefslogtreecommitdiff
path: root/ssh-sk.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2019-11-12 19:31:45 +0000
committerDamien Miller <djm@mindrot.org>2019-11-13 08:49:52 +1100
commit7c32b51edbed5bd57870249c0a45dffd06be0002 (patch)
tree36f0aaec6be57d03eb667885da79c5d7ab428b8f /ssh-sk.h
parentfe05a36dc0ea884c8c2395d53d804fe4f4202b26 (diff)
downloadopenssh-git-7c32b51edbed5bd57870249c0a45dffd06be0002.tar.gz
upstream: implement sshsk_ed25519_assemble(); ok djm
OpenBSD-Commit-ID: af9ec838b9bc643786310b5caefc4ca4754e68c6
Diffstat (limited to 'ssh-sk.h')
-rw-r--r--ssh-sk.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssh-sk.h b/ssh-sk.h
index 7e785b33..bb593160 100644
--- a/ssh-sk.h
+++ b/ssh-sk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-sk.h,v 1.4 2019/11/12 19:31:18 markus Exp $ */
+/* $OpenBSD: ssh-sk.h,v 1.5 2019/11/12 19:31:45 markus Exp $ */
/*
* Copyright (c) 2019 Google LLC
*
@@ -25,8 +25,8 @@ struct sshkey;
#define SSH_SK_HELPER_VERSION 1
/*
- * Enroll (generate) a new security-key hosted private key via the specified
- * provider middleware.
+ * Enroll (generate) a new security-key hosted private key of given type
+ * via the specified provider middleware.
* 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.
@@ -34,7 +34,7 @@ struct sshkey;
* If successful and the attest_data buffer is not NULL then attestation
* 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,
struct sshbuf *attest);