From 926b9e937bb99c43704bdeec510e766b4d5af98b Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 14 Mar 2016 16:32:02 +0100 Subject: [PATCH] pki: Mention relevant RFC for EC key encoding * src/pki.c (ssh_pki_export_pubkey_blob): Mention relevant RFC for EC key encoding. Signed-off-by: Justus Winter Reviewed-by: Andreas Schneider --- src/pki.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pki.c b/src/pki.c index 0ed3fa71..39a75153 100644 --- a/src/pki.c +++ b/src/pki.c @@ -1251,6 +1251,8 @@ int ssh_pki_export_privkey_to_pubkey(const ssh_key privkey, * * The "key_blob" is encoded as per RFC 4253 section 6.6 "Public Key * Algorithms" for any of the supported protocol 2 key types. + * Encoding of EC keys is described in RFC 5656 section 3.1 "Key + * Format". * * @param[in] key A public or private key to create the public ssh_string * from.