Home
last modified time | relevance | path

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

/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c109 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/
Dauthfile.c147 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()
Dhostfile.c692 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()
Dssh-keysign.c118 if (pktype == KEY_UNSPEC) in valid_request()
227 r = sshkey_load_private_type_fd(key_fd[i], KEY_UNSPEC, in main()
Dssh-pkcs11-client.c128 key = sshkey_new(KEY_UNSPEC); in rsa_encrypt()
185 key = sshkey_new(KEY_UNSPEC); in ecdsa_do_sign()
Dsshkey.c220 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 …]
Dauth2-hostbased.c86 if (pktype == KEY_UNSPEC) { in userauth_hostbased()
Dssh-keygen.c183 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()
Dsshkey.h72 KEY_UNSPEC enumerator
Dssh-pkcs11.c796 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()
Dauth2-pubkey.c125 if (pktype == KEY_UNSPEC) { in userauth_pubkey()
576 int want_keytype = sshkey_is_cert(key) ? KEY_UNSPEC : key->type; in check_authkey_line()
Dsshconnect2.c136 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()
Dauthfd.c547 if (key->type != KEY_UNSPEC) { in ssh_remove_identity()
Dssh_api.c538 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC) in _ssh_order_hostkeyalgs()
Dssh-keyscan.c756 case KEY_UNSPEC: in main()
Dsshsig.c732 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) { in parse_principals_key_and_options()
Dkex.c848 if (k->hostkey_type == KEY_UNSPEC) { in choose_hostkeyalg()
Dsshd.c790 if (key == NULL || key->type == KEY_UNSPEC ||
Dclientloop.c2073 if (key == NULL || key->type == KEY_UNSPEC) in key_accepted_by_hostkeyalgs()
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c413 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/
Dtest_sshkey.c196 k1 = sshkey_new(KEY_UNSPEC); in sshkey_tests()