Home
last modified time | relevance | path

Searched refs:KEY_ECDSA (Results 1 – 21 of 21) sorted by relevance

/openbsd/regress/usr.bin/ssh/unittests/hostkeys/
H A Dtest_iterate.c201 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 Dssh-ecdsa.c330 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 Dssh_api.c486 (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 Dssh-pkcs11-client.c342 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 Ddns.c92 case KEY_ECDSA: in dns_read_key()
H A Dsshd-auth.c237 case KEY_ECDSA: in list_hostkey_types()
298 case KEY_ECDSA: in get_hostkey_public_by_type()
H A Dsshkey.h58 KEY_ECDSA, enumerator
H A Dsshkey.c262 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 Dssh-pkcs11-helper.c215 case KEY_ECDSA: in process_sign()
H A Dauthfile.c327 case KEY_ECDSA: in sshkey_load_private_cert()
H A Dssh-keygen.c185 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 Dssh-pkcs11.c804 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 Dauthfd.c605 case KEY_ECDSA: in ssh_add_identity_constrained()
H A Dssh-keyscan.c723 case KEY_ECDSA: in main()
H A Dhostfile.c366 sshkey_type_plain(keytype) == KEY_ECDSA && in check_hostkeys_by_key_or_type()
H A Dsshd-session.c443 case KEY_ECDSA: in get_hostkey_by_type()
H A Dsshd.c1475 case KEY_ECDSA: in main()
H A Dsshconnect.c1593 KEY_ECDSA, in show_other_keys()
H A Dkex.c1186 (kex->hostkey_type == KEY_ECDSA && in kex_verify_host_key()
/openbsd/regress/usr.bin/ssh/unittests/sshkey/
H A Dtest_sshkey.c205 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 Dtest_kex.c178 do_kex_with_key(kex, KEY_ECDSA, 256); in do_kex()