Searched refs:KEY_UNSPEC (Results 1 – 21 of 21) sorted by relevance
/external/openssh/regress/unittests/hostkeys/ |
D | test_iterate.c | 109 expected_keytype = KEY_UNSPEC; in check() 194 KEY_UNSPEC, /* key type */ 259 KEY_UNSPEC, 272 KEY_UNSPEC, 337 KEY_UNSPEC, 350 KEY_UNSPEC, 415 KEY_UNSPEC, 428 KEY_UNSPEC, 493 KEY_UNSPEC, 667 KEY_UNSPEC, [all …]
|
/external/openssh/ |
D | authfile.c | 147 return sshkey_load_private_type(KEY_UNSPEC, filename, passphrase, in sshkey_load_private() 187 KEY_UNSPEC, &pubkey)) != 0) in sshkey_load_pubkey_from_private() 219 if ((k = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_try_load_public() 330 case KEY_UNSPEC: in sshkey_load_private_cert() 402 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_in_file()
|
D | hostfile.c | 692 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach() 773 if ((lineinfo.key = sshkey_new(KEY_UNSPEC)) == NULL) { in hostkeys_foreach() 797 if (lineinfo.keytype == KEY_UNSPEC && l < 8 && in hostkeys_foreach() 812 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach() 814 if (lineinfo.keytype == KEY_UNSPEC) { in hostkeys_foreach()
|
D | ssh-keysign.c | 118 if (pktype == KEY_UNSPEC) in valid_request() 227 r = sshkey_load_private_type_fd(key_fd[i], KEY_UNSPEC, in main()
|
D | ssh-pkcs11-client.c | 128 key = sshkey_new(KEY_UNSPEC); in rsa_encrypt() 185 key = sshkey_new(KEY_UNSPEC); in ecdsa_do_sign()
|
D | sshkey.c | 220 return KEY_UNSPEC; in sshkey_type_from_name() 292 if (type == KEY_UNSPEC) { in sshkey_names_valid2() 595 case KEY_UNSPEC: in sshkey_new() 670 case KEY_UNSPEC: in sshkey_free() 1303 return KEY_UNSPEC; in peek_type_nid() 1320 case KEY_UNSPEC: in sshkey_read() 1347 if ((type = peek_type_nid(cp, space, &curve_nid)) == KEY_UNSPEC) in sshkey_read() 1355 if (ret->type != KEY_UNSPEC && ret->type != type) in sshkey_read() 1720 if ((k = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_generate() 2562 case KEY_UNSPEC: in sshkey_from_blob_internal() [all …]
|
D | auth2-hostbased.c | 86 if (pktype == KEY_UNSPEC) { in userauth_hostbased()
|
D | ssh-keygen.c | 183 if (type == KEY_UNSPEC) in type_bits_valid() 696 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8() 702 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8() 709 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8() 733 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pem() 879 if ((ret = sshkey_new(KEY_UNSPEC)) == NULL) in try_read_key() 2129 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in do_show_cert() 2319 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in update_krl_from_file()
|
D | sshkey.h | 72 KEY_UNSPEC enumerator
|
D | ssh-pkcs11.c | 796 key = sshkey_new(KEY_UNSPEC); in pkcs11_fetch_ecdsa_pubkey() 892 key = sshkey_new(KEY_UNSPEC); in pkcs11_fetch_rsa_pubkey() 1007 key = sshkey_new(KEY_UNSPEC); in pkcs11_fetch_x509_pubkey() 1037 key = sshkey_new(KEY_UNSPEC); in pkcs11_fetch_x509_pubkey()
|
D | auth2-pubkey.c | 125 if (pktype == KEY_UNSPEC) { in userauth_pubkey() 576 int want_keytype = sshkey_is_cert(key) ? KEY_UNSPEC : key->type; in check_authkey_line()
|
D | sshconnect2.c | 136 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC) in order_hostkeyalgs() 660 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 1474 switch ((r = sshkey_load_private_type(KEY_UNSPEC, id->filename, in load_identity_file() 2054 authctxt->sensitive->keys[i]->type == KEY_UNSPEC) in userauth_hostbased()
|
D | authfd.c | 547 if (key->type != KEY_UNSPEC) { in ssh_remove_identity()
|
D | ssh_api.c | 538 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC) in _ssh_order_hostkeyalgs()
|
D | ssh-keyscan.c | 756 case KEY_UNSPEC: in main()
|
D | sshsig.c | 732 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) { in parse_principals_key_and_options()
|
D | kex.c | 848 if (k->hostkey_type == KEY_UNSPEC) { in choose_hostkeyalg()
|
D | sshd.c | 790 if (key == NULL || key->type == KEY_UNSPEC ||
|
D | clientloop.c | 2073 if (key == NULL || key->type == KEY_UNSPEC) in key_accepted_by_hostkeyalgs()
|
/external/openssh/regress/misc/kexfuzz/ |
D | kexfuzz.c | 413 if ((r = sshkey_load_private_type_fd(fd, KEY_UNSPEC, NULL, in main() 419 if (key == NULL || key->type == KEY_UNSPEC) in main()
|
/external/openssh/regress/unittests/sshkey/ |
D | test_sshkey.c | 196 k1 = sshkey_new(KEY_UNSPEC); in sshkey_tests()
|