Home
last modified time | relevance | path

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

/freebsd-13.1/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c264 KEY_UNSPEC,
278 KEY_UNSPEC,
348 KEY_UNSPEC,
362 KEY_UNSPEC,
432 KEY_UNSPEC,
446 KEY_UNSPEC,
516 KEY_UNSPEC,
703 KEY_UNSPEC,
717 KEY_UNSPEC,
731 KEY_UNSPEC,
[all …]
/freebsd-13.1/crypto/openssh/
H A 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()
336 case KEY_UNSPEC: in sshkey_load_private_cert()
408 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_in_file()
H A Dhostfile.c777 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach_file()
858 if ((lineinfo.key = sshkey_new(KEY_UNSPEC)) == NULL) { in hostkeys_foreach_file()
882 if (lineinfo.keytype == KEY_UNSPEC && l < 8 && in hostkeys_foreach_file()
897 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach_file()
899 if (lineinfo.keytype == KEY_UNSPEC) { in hostkeys_foreach_file()
H A Dssh-keysign.c118 if (pktype == KEY_UNSPEC) in valid_request()
227 r = sshkey_load_private_type_fd(key_fd[i], KEY_UNSPEC, in main()
H A Dssh-pkcs11-client.c128 key = sshkey_new(KEY_UNSPEC); in rsa_encrypt()
185 key = sshkey_new(KEY_UNSPEC); in ecdsa_do_sign()
H A Dsshkey.c222 return KEY_UNSPEC; in sshkey_type_from_name()
294 if (type == KEY_UNSPEC) { in sshkey_names_valid2()
597 case KEY_UNSPEC: in sshkey_new()
672 case KEY_UNSPEC: in sshkey_free()
1305 return KEY_UNSPEC; in peek_type_nid()
1322 case KEY_UNSPEC: in sshkey_read()
1722 if ((k = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_generate()
2564 case KEY_UNSPEC: in sshkey_from_blob_internal()
4276 if (type != KEY_UNSPEC && in sshkey_parse_private2()
4348 if (type != KEY_UNSPEC && in sshkey_parse_private2_pubkey()
[all …]
H A Dauth2-hostbased.c85 if (pktype == KEY_UNSPEC) { in userauth_hostbased()
H A Dssh-keygen.c184 if (type == KEY_UNSPEC) in type_bits_valid()
698 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
704 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
711 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
735 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pem()
884 if ((ret = sshkey_new(KEY_UNSPEC)) == NULL) in try_read_key()
2149 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in do_show_cert()
2336 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in update_krl_from_file()
H A Dsshkey.h74 KEY_UNSPEC enumerator
H A 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()
H A Dauth2-pubkey.c124 if (pktype == KEY_UNSPEC) { in userauth_pubkey()
579 int want_keytype = sshkey_is_cert(key) ? KEY_UNSPEC : key->type; in check_authkey_line()
H A Dsshconnect2.c176 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC) in order_hostkeyalgs()
720 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok()
1560 switch ((r = sshkey_load_private_type(KEY_UNSPEC, id->filename, in load_identity_file()
2132 authctxt->sensitive->keys[i]->type == KEY_UNSPEC) in userauth_hostbased()
H A Dauthfd.c565 if (key->type != KEY_UNSPEC) { in ssh_remove_identity()
H A Dssh_api.c535 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC) in _ssh_order_hostkeyalgs()
H A Dssh-add.c148 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in delete_stdin()
H A Dssh-keyscan.c748 case KEY_UNSPEC: in main()
H A Dsshsig.c767 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) { in parse_principals_key_and_options()
H A Dkex.c851 if (k->hostkey_type == KEY_UNSPEC) { in choose_hostkeyalg()
H A Dsshd.c804 if (key == NULL || key->type == KEY_UNSPEC ||
H A Dclientloop.c2184 if (key == NULL || key->type == KEY_UNSPEC) in key_accepted_by_hostkeyalgs()
/freebsd-13.1/crypto/openssh/regress/misc/fuzz-harness/
H A Dagent_fuzz_helper.c29 if ((pubkey = sshkey_new(KEY_UNSPEC)) == NULL) in pubkey_or_die()
H A Dkex_fuzz.cc291 if ((pubkey = sshkey_new(KEY_UNSPEC)) == NULL) in prepare_key()
/freebsd-13.1/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c198 k1 = sshkey_new(KEY_UNSPEC); in sshkey_tests()