mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
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>
This commit is contained in:
committed by
Andreas Schneider
parent
fc9434465c
commit
926b9e937b
@@ -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
|
* The "key_blob" is encoded as per RFC 4253 section 6.6 "Public Key
|
||||||
* Algorithms" for any of the supported protocol 2 key types.
|
* 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
|
* @param[in] key A public or private key to create the public ssh_string
|
||||||
* from.
|
* from.
|
||||||
|
Reference in New Issue
Block a user