Home
last modified time | relevance | path

Searched refs:sshkey_is_cert (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/crypto/openssh/
H A Dauth2-pubkeyfile.c268 int want_keytype = sshkey_is_cert(key) ? KEY_UNSPEC : key->type; in auth_check_authkey_line()
307 if (sshkey_is_cert(key)) { in auth_check_authkey_line()
324 sshkey_is_cert(key) ? "CA" : "key", sshkey_type(found), fp); in auth_check_authkey_line()
327 sshkey_is_cert(key), remote_ip, remote_host, loc) != 0) { in auth_check_authkey_line()
332 if (!sshkey_is_cert(key)) { in auth_check_authkey_line()
H A Dauth2-hostbased.c213 if (sshkey_is_cert(key) && in hostbased_key_allowed()
233 if (sshkey_is_cert(key)) { in hostbased_key_allowed()
H A Dssh-add.c158 (key_only && !sshkey_is_cert(key)) || in delete_stdin()
159 (cert_only && sshkey_is_cert(key))) { in delete_stdin()
186 (key_only && !sshkey_is_cert(public)) || in delete_file()
187 (cert_only && sshkey_is_cert(public))) { in delete_file()
H A Dssh-xmss.c152 if (!sshkey_is_cert(key) && in ssh_xmss_deserialize_public()
177 if (!sshkey_is_cert(key) && in ssh_xmss_deserialize_private()
H A Dssh-ecdsa.c116 if (!sshkey_is_cert(key)) { in ssh_ecdsa_serialize_private()
206 if (!sshkey_is_cert(key)) { in ssh_ecdsa_deserialize_private()
H A Dssh-ecdsa-sk.c104 if (!sshkey_is_cert(key)) { in ssh_ecdsa_sk_serialize_private()
146 if (!sshkey_is_cert(key)) { in ssh_ecdsa_sk_deserialize_private()
H A Dssh-dss.c135 if (!sshkey_is_cert(key)) { in ssh_dss_serialize_private()
244 if (!sshkey_is_cert(key)) { in ssh_dss_deserialize_private()
H A Dsshconnect.c782 if (key == NULL || sshkey_is_cert(key)) in hostkeys_find_by_key()
949 int r, want_cert = sshkey_is_cert(host_key), host_ip_differ = 0; in check_host_key()
1021 want_cert = sshkey_is_cert(host_key); in check_host_key()
1456 if (sshkey_is_cert(host_key)) { in verify_host_key()
1515 if (sshkey_is_cert(plain)) in verify_host_key()
H A Dauth2-pubkey.c178 if (sshkey_is_cert(key)) in userauth_pubkey()
493 if (!sshkey_is_cert(key) || options.trusted_user_ca_keys == NULL) in user_cert_trusted_ca()
765 if (sshkey_is_cert(key) && in user_key_allowed()
H A Dkrl.c374 if (sshkey_is_cert(kcopy)) { in plain_key_blob()
455 if (!sshkey_is_cert(key)) in ssh_krl_revoke_key()
1231 if (!sshkey_is_cert(key)) in is_key_revoked()
1262 if (sshkey_is_cert(key)) { in ssh_krl_check_key()
H A Dssh-rsa.c116 if (!sshkey_is_cert(key)) { in ssh_rsa_serialize_private()
224 if (!sshkey_is_cert(key)) { in ssh_rsa_deserialize_private()
H A Dssh-pkcs11-client.c444 if (!sshkey_is_cert(certpub) || sshkey_is_cert(priv) || in pkcs11_make_cert()
H A Dsshkey.c414 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert() function
629 if (sshkey_is_cert(k)) { in sshkey_new()
660 if (sshkey_is_cert(k)) in sshkey_free_contents()
721 if (sshkey_is_cert(a)) { in sshkey_equal()
1518 if (sshkey_is_cert(k) && (r = sshkey_cert_copy(k, n)) != 0) in sshkey_from_private()
1944 if (sshkey_is_cert(key) && (ret = cert_parse(b, key, copy)) != 0) in sshkey_from_blob_internal()
2188 if (!sshkey_is_cert(k)) in sshkey_certify_custom()
2312 if (!sshkey_is_cert(k)) { in sshkey_cert_check_authority()
2458 if (sshkey_is_cert(key)) { in sshkey_private_serialize_opt()
H A Dsshkey.h226 int sshkey_is_cert(const struct sshkey *);
H A Dhostfile.c318 int is_cert = sshkey_is_cert(k); in check_key_not_revoked()
355 int want_cert = sshkey_is_cert(k); in check_hostkeys_by_key_or_type()
H A Dauthfile.c423 (check_ca && sshkey_is_cert(key) && in sshkey_in_file()
H A Dsshd.c752 if (sshkey_is_cert(key)) {
791 sshkey_is_cert(key))
2020 if (!sshkey_is_cert(key)) {
H A Dssh_api.c549 (sshkey_is_cert(k->key) && k->key->type == in _ssh_order_hostkeyalgs()
H A Dauth.c240 if (sshkey_is_cert(key)) { in format_method_key()
H A Dssh-keygen.c1858 if (sshkey_is_cert(public)) in do_ca_sign()
2216 if (!sshkey_is_cert(key)) { in do_show_cert()
2562 if (sshkey_is_cert(pubkey) && !sshkey_is_cert(privkey)) { in load_sign_key()
H A Dssh.c2419 if (!sshkey_is_cert(public)) { in load_public_identity_files()
2452 if (!sshkey_is_cert(public)) { in load_public_identity_files()
H A Dssh-agent.c404 if (!sshkey_is_cert(key)) { in match_key_hop()
1631 if (!sshkey_is_cert(certs[j])) in process_add_smartcard_key()
H A Dsshsig.c914 } else if (sigopts->ca && sshkey_is_cert(sign_key) && in check_allowed_keys_line()
H A Dsshconnect2.c1345 if (sshkey_is_cert(id->key)) { in sign_and_send_pubkey()
1711 if (!sshkey_is_cert(key) || key->cert == NULL || in pubkey_prepare()
H A Dssh_namespace.h872 #define sshkey_is_cert Fssh_sshkey_is_cert macro

12