aboutsummaryrefslogtreecommitdiff
path: root/src/pki.c
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2016-03-14 16:32:02 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-03-21 18:39:46 +0100
commit926b9e937bb99c43704bdeec510e766b4d5af98b (patch)
tree9e4755c7cf35f44c5673df3866f8770dc782eac6 /src/pki.c
parentfc9434465c3836b6a6217e6635ab469fd478e7b0 (diff)
downloadlibssh-926b9e937bb99c43704bdeec510e766b4d5af98b.tar.gz
libssh-926b9e937bb99c43704bdeec510e766b4d5af98b.tar.xz
libssh-926b9e937bb99c43704bdeec510e766b4d5af98b.zip
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 <justus@g10code.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/pki.c')
-rw-r--r--src/pki.c2
1 files changed, 2 insertions, 0 deletions
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.