Home
last modified time | relevance | path

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

/external/openssh/
Dsshkey.c199 return sshkey_ssh_name_from_type_nid(k->type, k->ecdsa_nid); in sshkey_ssh_name()
206 k->ecdsa_nid); in sshkey_ssh_name_plain()
340 return sshkey_curve_nid_to_bits(k->ecdsa_nid); in sshkey_size()
554 k->ecdsa_nid = -1; in sshkey_new()
816 typename = sshkey_ssh_name_from_type_nid(type, key->ecdsa_nid); in to_blob_buf()
855 sshkey_curve_nid_to_name(key->ecdsa_nid))) != 0 || in to_blob_buf()
1387 if (key_type_is_ecdsa_variant(type) && curve_nid != k->ecdsa_nid) { in sshkey_read()
1426 ret->ecdsa_nid = k->ecdsa_nid; in sshkey_read()
1428 k->ecdsa_nid = -1; in sshkey_read()
1436 ret->ecdsa_nid = k->ecdsa_nid; in sshkey_read()
[all …]
Dssh-ecdsa.c70 if ((hash_alg = sshkey_ec_nid_to_hash_alg(key->ecdsa_nid)) == -1 || in ssh_ecdsa_sign()
132 if ((hash_alg = sshkey_ec_nid_to_hash_alg(key->ecdsa_nid)) == -1 || in ssh_ecdsa_verify()
Dssh-ecdsa-sk.c80 if (key->ecdsa_nid != NID_X9_62_prime256v1) in ssh_ecdsa_sk_verify()
Dssh_api.c478 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_public_key()
493 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_private_key()
Dsshkey.h131 int ecdsa_nid; /* NID of curve */ member
Dssh-sk.c206 key->ecdsa_nid = NID_X9_62_prime256v1; in sshsk_ecdsa_assemble()
207 if ((key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid)) == NULL || in sshsk_ecdsa_assemble()
Dssh-pkcs11-client.c191 key->ecdsa_nid = nid; in ecdsa_do_sign()
Dssh-pkcs11.c803 key->ecdsa_nid = nid; in pkcs11_fetch_ecdsa_pubkey()
1044 key->ecdsa_nid = nid; in pkcs11_fetch_x509_pubkey()
Dkex.c1126 server_host_key->ecdsa_nid != kex->hostkey_nid)) in kex_verify_host_key()
Dsshd.c707 if (key->ecdsa_nid != nid)
Dssh-keygen.c713 (*k)->ecdsa_nid = sshkey_ecdsa_key_to_nid((*k)->ecdsa); in do_convert_from_pkcs8()
/external/openssh/regress/unittests/sshkey/
Dtest_sshkey.c340 ASSERT_INT_EQ(k1->ecdsa_nid, ke->ecdsa_nid); in sshkey_tests()
Dtest_file.c268 OBJ_nid2sn(k1->ecdsa_nid)); in sshkey_file_tests()