Searched refs:KEY_ECDSA (Results 1 – 21 of 21) sorted by relevance
/openbsd/regress/usr.bin/ssh/unittests/hostkeys/ |
H A D | test_iterate.c | 201 KEY_ECDSA, 285 KEY_ECDSA, 369 KEY_ECDSA, 453 KEY_ECDSA, 556 KEY_ECDSA, 570 KEY_ECDSA, 584 KEY_ECDSA, 738 KEY_ECDSA,
|
/openbsd/usr.bin/ssh/ |
H A D | ssh-ecdsa.c | 330 sshkey_type_plain(key->type) != KEY_ECDSA) in ssh_ecdsa_sign() 390 sshkey_type_plain(key->type) != KEY_ECDSA || in ssh_ecdsa_verify() 484 /* .type = */ KEY_ECDSA, 508 /* .type = */ KEY_ECDSA, 532 /* .type = */ KEY_ECDSA,
|
H A D | ssh_api.c | 486 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_public_key() 501 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_private_key() 554 if (sshkey_type_plain(k->key->type) == KEY_ECDSA && in _ssh_order_hostkeyalgs()
|
H A D | ssh-pkcs11-client.c | 342 key->type = KEY_ECDSA; in ecdsa_do_sign() 410 } else if (k->type == KEY_ECDSA) { in wrap_key() 469 } else if (priv->type == KEY_ECDSA) { in pkcs11_make_cert()
|
H A D | dns.c | 92 case KEY_ECDSA: in dns_read_key()
|
H A D | sshd-auth.c | 237 case KEY_ECDSA: in list_hostkey_types() 298 case KEY_ECDSA: in get_hostkey_public_by_type()
|
H A D | sshkey.h | 58 KEY_ECDSA, enumerator
|
H A D | sshkey.c | 262 case KEY_ECDSA: in key_type_is_ecdsa_variant() 436 return KEY_ECDSA; in sshkey_type_plain() 459 case KEY_ECDSA: in sshkey_type_certified() 2603 if (k->type == KEY_ECDSA && in sshkey_private_deserialize() 3312 case KEY_ECDSA: in sshkey_private_to_blob_pem_pkcs8() 3378 case KEY_ECDSA: in sshkey_private_to_fileblob() 3546 (type == KEY_UNSPEC || type == KEY_ECDSA)) { in sshkey_parse_private_pem_fileblob() 3556 prv->type = KEY_ECDSA; in sshkey_parse_private_pem_fileblob()
|
H A D | ssh-pkcs11-helper.c | 215 case KEY_ECDSA: in process_sign()
|
H A D | authfile.c | 327 case KEY_ECDSA: in sshkey_load_private_cert()
|
H A D | ssh-keygen.c | 185 case KEY_ECDSA: in type_bits_valid() 212 case KEY_ECDSA: in type_bits_valid() 261 case KEY_ECDSA: in ask_filename() 378 case KEY_ECDSA: in do_convert_to_pkcs8() 404 case KEY_ECDSA: in do_convert_to_pem() 733 (*k)->type = KEY_ECDSA; in do_convert_from_pkcs8() 807 case KEY_ECDSA: in do_convert_from()
|
H A D | ssh-pkcs11.c | 804 key->type = KEY_ECDSA; in pkcs11_fetch_ecdsa_pubkey() 1048 key->type = KEY_ECDSA; in pkcs11_fetch_x509_pubkey() 1740 case KEY_ECDSA: in pkcs11_gakp()
|
H A D | authfd.c | 605 case KEY_ECDSA: in ssh_add_identity_constrained()
|
H A D | ssh-keyscan.c | 723 case KEY_ECDSA: in main()
|
H A D | hostfile.c | 366 sshkey_type_plain(keytype) == KEY_ECDSA && in check_hostkeys_by_key_or_type()
|
H A D | sshd-session.c | 443 case KEY_ECDSA: in get_hostkey_by_type()
|
H A D | sshd.c | 1475 case KEY_ECDSA: in main()
|
H A D | sshconnect.c | 1593 KEY_ECDSA, in show_other_keys()
|
H A D | kex.c | 1186 (kex->hostkey_type == KEY_ECDSA && in kex_verify_host_key()
|
/openbsd/regress/usr.bin/ssh/unittests/sshkey/ |
H A D | test_sshkey.c | 205 k1 = sshkey_new(KEY_ECDSA); in sshkey_tests() 242 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 42, &k1), in sshkey_tests() 271 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 256, &ke), 0); in sshkey_tests() 325 ASSERT_INT_EQ(k1->type, KEY_ECDSA); in sshkey_tests() 365 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 256, &k1), 0); in sshkey_tests()
|
/openbsd/regress/usr.bin/ssh/unittests/kex/ |
H A D | test_kex.c | 178 do_kex_with_key(kex, KEY_ECDSA, 256); in do_kex()
|