Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssh/
H A Dauth2-pubkeyfile.c272 int want_keytype = sshkey_is_cert(key) ? KEY_UNSPEC : key->type; in auth_check_authkey_line()
311 if (sshkey_is_cert(key)) { in auth_check_authkey_line()
328 sshkey_is_cert(key) ? "CA" : "key", sshkey_type(found), fp); in auth_check_authkey_line()
331 sshkey_is_cert(key), remote_ip, remote_host, loc) != 0) { in auth_check_authkey_line()
336 if (!sshkey_is_cert(key)) { in auth_check_authkey_line()
H A Dauth2-hostbased.c215 if (sshkey_is_cert(key) && sshkey_cert_check_host(key, lookup, in hostbased_key_allowed()
244 if (sshkey_is_cert(key)) { in hostbased_key_allowed()
H A Dssh-add.c153 (key_only && !sshkey_is_cert(key)) || in delete_stdin()
154 (cert_only && sshkey_is_cert(key))) { in delete_stdin()
181 (key_only && !sshkey_is_cert(public)) || in delete_file()
182 (cert_only && sshkey_is_cert(public))) { in delete_file()
261 if (cert == NULL || cert->cert == NULL || !sshkey_is_cert(cert) || in check_cert_lifetime()
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 Dsshconnect.c801 if (key == NULL || sshkey_is_cert(key)) in hostkeys_find_by_key()
968 int r, want_cert = sshkey_is_cert(host_key), host_ip_differ = 0; in check_host_key()
1046 want_cert = sshkey_is_cert(host_key); in check_host_key()
1482 if (sshkey_is_cert(host_key)) { in verify_host_key()
1542 if (sshkey_is_cert(plain)) in verify_host_key()
H A Dssh-ecdsa.c155 if (!sshkey_is_cert(key)) { in ssh_ecdsa_serialize_private()
289 if (!sshkey_is_cert(key)) { in ssh_ecdsa_deserialize_private()
H A Dssh-pkcs11-client.c303 if (!sshkey_is_cert(certpub) || sshkey_is_cert(priv) || in pkcs11_make_cert()
H A Dauth2-pubkey.c179 if (sshkey_is_cert(key)) in userauth_pubkey()
525 if (!sshkey_is_cert(key) || options.trusted_user_ca_keys == NULL) in user_cert_trusted_ca()
803 if (sshkey_is_cert(key) && in user_key_allowed()
H A Dssh-rsa.c103 if (!sshkey_is_cert(key)) { in ssh_rsa_serialize_private()
241 if (sshkey_is_cert(key)) { in ssh_rsa_deserialize_private()
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 Dsshkey.c408 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert() function
707 if (sshkey_is_cert(k)) { in sshkey_new()
780 if (sshkey_is_cert(k)) in sshkey_free_contents()
841 if (sshkey_is_cert(a)) { in sshkey_equal()
1615 if (sshkey_is_cert(k) && (r = sshkey_cert_copy(k, n)) != 0) in sshkey_from_private()
2038 if (sshkey_is_cert(key) && (ret = cert_parse(b, key, copy)) != 0) in sshkey_from_blob_internal()
2285 if (!sshkey_is_cert(k)) in sshkey_certify_custom()
2409 if (!sshkey_is_cert(k)) { in sshkey_cert_check_authority()
2552 if (sshkey_is_cert(key)) { in sshkey_private_serialize_opt()
H A Dsshkey.h210 int sshkey_is_cert(const struct sshkey *);
H A Dauthfile.c409 (check_ca && sshkey_is_cert(key) && in sshkey_in_file()
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 Dsshd-session.c503 if (sshkey_is_cert(key)) { in get_hostkey_index()
542 sshkey_is_cert(key)) in notify_hostkeys()
H A Dsshd-auth.c349 if (sshkey_is_cert(key)) { in get_hostkey_index()
H A Dssh_api.c557 (!sshkey_is_cert(k->key) || in _ssh_order_hostkeyalgs()
H A Dauth.c237 if (sshkey_is_cert(key)) { in format_method_key()
H A Dssh-keygen.c1801 if (sshkey_is_cert(public)) in do_ca_sign()
2159 if (!sshkey_is_cert(key)) { in do_show_cert()
2507 if (sshkey_is_cert(pubkey) && !sshkey_is_cert(privkey)) { in load_sign_key()
H A Dssh.c2448 if (!sshkey_is_cert(public)) { in load_public_identity_files()
2480 if (!sshkey_is_cert(public)) { in load_public_identity_files()
H A Dsshsig.c919 } else if (sigopts->ca && sshkey_is_cert(sign_key) && in check_allowed_keys_line()
H A Dssh-agent.c399 if (!sshkey_is_cert(key)) { in match_key_hop()
1618 if (!sshkey_is_cert(certs[j])) in process_add_smartcard_key()
H A Dsshconnect2.c1349 if (id->agent_fd == -1 && sshkey_is_cert(id->key)) { in sign_and_send_pubkey()
1718 if (!sshkey_is_cert(key) || key->cert == NULL || in pubkey_prepare()
H A Dssh_namespace.h893 #define sshkey_is_cert Fssh_sshkey_is_cert macro
H A Dsshd.c1756 if (!sshkey_is_cert(key)) { in main()

12