sshbuf_put_eckey
(r = sshbuf_put_eckey(b, key->ecdsa)) != 0)
int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);