[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 6/6] 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@xxxxxxxxxxx>
---
 src/pki.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/pki.c b/src/pki.c
index 0ed3fa7..39a7515 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.
-- 
2.1.4


References:
[PATCH 1/6] torture: Fix guardJustus Winter <justus@xxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org