Home
last modified time | relevance | path

Searched refs:ecdsa_nid (Results 1 – 7 of 7) sorted by relevance

/external/openssh/
Dkey.c82 k->ecdsa_nid = -1; in key_new()
754 curve_nid != k->ecdsa_nid) { in key_read()
795 ret->ecdsa_nid = k->ecdsa_nid; in key_read()
797 k->ecdsa_nid = -1; in key_read()
981 return key_ssh_name_from_type_nid(k->type, k->ecdsa_nid); in key_ssh_name()
988 k->ecdsa_nid); in key_ssh_name_plain()
1007 return key_curve_nid_to_bits(k->ecdsa_nid); in key_size()
1136 k->ecdsa = ecdsa_generate_private_key(bits, &k->ecdsa_nid); in key_generate()
1219 n->ecdsa_nid = k->ecdsa_nid; in key_from_private()
1220 if ((n->ecdsa = EC_KEY_new_by_curve_name(k->ecdsa_nid)) == NULL) in key_from_private()
[all …]
Dssh-ecdsa.c62 evp_md = key_ec_nid_to_evpmd(key->ecdsa_nid); in ssh_ecdsa_sign()
113 evp_md = key_ec_nid_to_evpmd(key->ecdsa_nid); in ssh_ecdsa_verify()
Dkey.h81 int ecdsa_nid; /* NID of curve */ member
Dauthfile.c567 if ((prv->ecdsa_nid = key_ecdsa_key_to_nid(prv->ecdsa)) == -1 || in key_parse_private_pem()
568 key_curve_nid_to_name(prv->ecdsa_nid) == NULL || in key_parse_private_pem()
Dssh-agent.c519 k->ecdsa_nid = key_ecdsa_nid_from_name(type_name); in process_add_identity()
521 if (k->ecdsa_nid != key_curve_name_to_nid(curve)) in process_add_identity()
524 k->ecdsa = EC_KEY_new_by_curve_name(k->ecdsa_nid); in process_add_identity()
Dauthfd.c515 buffer_put_cstring(b, key_curve_nid_to_name(key->ecdsa_nid)); in ssh_encode_identity_ssh2()
Dssh-keygen.c590 (*k)->ecdsa_nid = key_ecdsa_key_to_nid((*k)->ecdsa); in do_convert_from_pkcs8()