Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c241 KEY_UNSPEC,
254 KEY_UNSPEC,
319 KEY_UNSPEC,
332 KEY_UNSPEC,
397 KEY_UNSPEC,
410 KEY_UNSPEC,
475 KEY_UNSPEC,
649 KEY_UNSPEC,
662 KEY_UNSPEC,
675 KEY_UNSPEC,
[all …]
/freebsd-12.1/crypto/openssh/
H A Dauthfile.c324 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_load_public()
339 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_load_public()
370 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_load_cert()
406 case KEY_UNSPEC: in sshkey_load_private_cert()
476 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_in_file()
H A Dhostfile.c694 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach()
775 if ((lineinfo.key = sshkey_new(KEY_UNSPEC)) == NULL) { in hostkeys_foreach()
799 if (lineinfo.keytype == KEY_UNSPEC && l < 8 && in hostkeys_foreach()
814 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach()
816 if (lineinfo.keytype == KEY_UNSPEC) { in hostkeys_foreach()
H A Dssh-keysign.c119 if (pktype == KEY_UNSPEC) in valid_request()
237 r = sshkey_load_private_type_fd(key_fd[i], KEY_UNSPEC, in main()
H A Dsshkey.c208 return KEY_UNSPEC; in sshkey_type_from_name()
267 if (type == KEY_UNSPEC) { in sshkey_names_valid2()
540 case KEY_UNSPEC: in sshkey_new()
614 case KEY_UNSPEC: in sshkey_free()
1231 return KEY_UNSPEC; in peek_type_nid()
1248 case KEY_UNSPEC: in sshkey_read()
1630 if ((k = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_generate()
2223 case KEY_UNSPEC: in sshkey_from_blob_internal()
3892 (type == KEY_UNSPEC || type == KEY_RSA)) { in sshkey_parse_private_pem_fileblob()
3893 if ((prv = sshkey_new(KEY_UNSPEC)) == NULL) { in sshkey_parse_private_pem_fileblob()
[all …]
H A Dssh-keygen.c212 if (type == KEY_UNSPEC) in type_bits_valid()
670 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
676 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
683 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pkcs8()
707 if ((*k = sshkey_new(KEY_UNSPEC)) == NULL) in do_convert_from_pem()
846 if ((ret = sshkey_new(KEY_UNSPEC)) == NULL) in try_read_key()
2069 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in do_show_cert()
2217 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in update_krl_from_file()
H A Dauth2-hostbased.c85 if (pktype == KEY_UNSPEC) { in userauth_hostbased()
H A Dsshkey.h67 KEY_UNSPEC enumerator
H A Dauth2-pubkey.c106 if (pktype == KEY_UNSPEC) { in userauth_pubkey()
560 int want_keytype = sshkey_is_cert(key) ? KEY_UNSPEC : key->type; in check_authkey_line()
H A Dsshconnect2.c134 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC) in order_hostkeyalgs()
607 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok()
1376 switch ((r = sshkey_load_private_type(KEY_UNSPEC, id->filename, in load_identity_file()
1924 authctxt->sensitive->keys[i]->type == KEY_UNSPEC) in userauth_hostbased()
H A Dauthfd.c488 if (key->type != KEY_UNSPEC) { in ssh_remove_identity()
H A Dssh_api.c506 if ((ktype = sshkey_type_from_name(alg)) == KEY_UNSPEC) in _ssh_order_hostkeyalgs()
H A Dssh-pkcs11.c565 if ((key = sshkey_new(KEY_UNSPEC)) == NULL) in pkcs11_fetch_keys_filter()
H A Dssh-keyscan.c729 case KEY_UNSPEC: in main()
H A Dkex.c785 if (k->hostkey_type == KEY_UNSPEC) in choose_hostkeyalg()
H A Dsshd.c881 if (key == NULL || key->type == KEY_UNSPEC ||
H A Dclientloop.c1993 if (key == NULL || key->type == KEY_UNSPEC) in key_accepted_by_hostkeyalgs()
/freebsd-12.1/crypto/openssh/regress/misc/kexfuzz/
H A Dkexfuzz.c415 if ((r = sshkey_load_private_type_fd(fd, KEY_UNSPEC, NULL, in main()
421 if (key == NULL || key->type == KEY_UNSPEC) in main()
/freebsd-12.1/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c191 k1 = sshkey_new(KEY_UNSPEC); in sshkey_tests()