summaryrefslogtreecommitdiff
path: root/sshkey.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2019-11-12 19:31:18 +0000
committerDamien Miller <djm@mindrot.org>2019-11-13 08:49:52 +1100
commitfe05a36dc0ea884c8c2395d53d804fe4f4202b26 (patch)
treef2497141020c6991fd5d538b6e1f88f1213219d4 /sshkey.c
parente03a29e6554cd0c9cdbac0dae53dd79e6eb4ea47 (diff)
upstream: implement sshsk_ed25519_inner_sig(); ok djm
OpenBSD-Commit-ID: f422d0052c6d948fe0e4b04bc961f37fdffa0910
Diffstat (limited to 'sshkey.c')
-rw-r--r--sshkey.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sshkey.c b/sshkey.c
index ed8f4ef0..269f37b3 100644
--- a/sshkey.c
+++ b/sshkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshkey.c,v 1.88 2019/11/12 19:30:50 markus Exp $ */
+/* $OpenBSD: sshkey.c,v 1.89 2019/11/12 19:31:18 markus Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Alexander von Gernler. All rights reserved.
@@ -2701,6 +2701,11 @@ sshkey_sign(struct sshkey *key,
case KEY_ED25519_CERT:
r = ssh_ed25519_sign(key, sigp, lenp, data, datalen, compat);
break;
+ case KEY_ED25519_SK:
+ case KEY_ED25519_SK_CERT:
+ r = sshsk_sign(sk_provider, key, sigp, lenp, data, datalen,
+ compat);
+ break;
#ifdef WITH_XMSS
case KEY_XMSS:
case KEY_XMSS_CERT: