sshkey_ecdsa_pkey_to_nid
if ((nid = sshkey_ecdsa_pkey_to_nid(key->pkey)) < 0) {
int sshkey_ecdsa_pkey_to_nid(EVP_PKEY *);