Lines Matching refs:ecdsa_nid
82 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()
1532 key->ecdsa_nid = nid; in key_from_blob()
1537 if (key->ecdsa_nid != key_curve_name_to_nid(curve)) { in key_from_blob()
1543 if ((key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid)) in key_from_blob()
1621 buffer_put_cstring(&b, key_curve_nid_to_name(key->ecdsa_nid)); in key_to_blob()
1716 pk->ecdsa_nid = k->ecdsa_nid; in key_demote()
1756 if ((pk->ecdsa = EC_KEY_new_by_curve_name(pk->ecdsa_nid)) == NULL) in key_demote()
1907 key_curve_nid_to_name(k->ecdsa_nid)); in key_certify()