summaryrefslogtreecommitdiff
path: root/ssh-sk.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-sk.h')
-rw-r--r--ssh-sk.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/ssh-sk.h b/ssh-sk.h
index 4d667884e..1afe839db 100644
--- a/ssh-sk.h
+++ b/ssh-sk.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-sk.h,v 1.6 2019/12/13 19:09:10 djm Exp $ */ 1/* $OpenBSD: ssh-sk.h,v 1.7 2019/12/30 09:21:16 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Google LLC 3 * Copyright (c) 2019 Google LLC
4 * 4 *
@@ -45,5 +45,14 @@ int sshsk_sign(const char *provider_path, struct sshkey *key,
45 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, 45 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,
46 u_int compat); 46 u_int compat);
47 47
48/*
49 * Enumerates and loads all SSH-compatible resident keys from a security
50 * key.
51 *
52 * Returns 0 on success or a ssherr.h error code on failure.
53 */
54int sshsk_load_resident(const char *provider_path, const char *pin,
55 struct sshkey ***keysp, size_t *nkeysp);
56
48#endif /* _SSH_SK_H */ 57#endif /* _SSH_SK_H */
49 58