summaryrefslogtreecommitdiff
path: root/ssh-sk.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2019-11-12 19:30:50 +0000
committerDamien Miller <djm@mindrot.org>2019-11-13 08:49:52 +1100
commite03a29e6554cd0c9cdbac0dae53dd79e6eb4ea47 (patch)
treefdb999dad6c6084e04f8a1bbc29f6460aaad63e3 /ssh-sk.h
parentbc7b5d6187de625c086b5f639b25bbad17bbabfc (diff)
upstream: rename sshsk_ecdsa_sign() to sshsk_sign(); ok djm
OpenBSD-Commit-ID: 1524042e09d81e54c4470d7bfcc0194c5b46fe19
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 5033e6f68..7800609c4 100644
--- a/ssh-sk.h
+++ b/ssh-sk.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-sk.h,v 1.2 2019/10/31 21:22:01 djm Exp $ */ 1/* $OpenBSD: ssh-sk.h,v 1.3 2019/11/12 19:30:50 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Google LLC 3 * Copyright (c) 2019 Google LLC
4 * 4 *
@@ -39,12 +39,12 @@ int sshsk_enroll(const char *provider_path, const char *application,
39 struct sshbuf *attest); 39 struct sshbuf *attest);
40 40
41/* 41/*
42 * Calculate an ECDSA_SK signature using the specified key and provider 42 * Calculate an ECDSA_SK signature using the specified key
43 * middleware. 43 * and provider middleware.
44 * 44 *
45 * Returns 0 on success or a ssherr.h error code on failure. 45 * Returns 0 on success or a ssherr.h error code on failure.
46 */ 46 */
47int sshsk_ecdsa_sign(const char *provider_path, const struct sshkey *key, 47int sshsk_sign(const char *provider_path, const struct sshkey *key,
48 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, 48 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,
49 u_int compat); 49 u_int compat);
50 50