Home
last modified time | relevance | path

Searched refs:sshkey_is_cert (Results 1 – 25 of 27) 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 Dssh-mldsa-eddsa.c280 if (!sshkey_is_cert(key)) { in ssh_mldsa44_ed25519_serialize_private()
318 if (!sshkey_is_cert(key)) { in ssh_mldsa44_ed25519_deserialize_private()
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 Dsshconnect.c844 if (key == NULL || sshkey_is_cert(key)) in hostkeys_find_by_key()
1011 int r, want_cert = sshkey_is_cert(host_key), host_ip_differ = 0; in check_host_key()
1089 want_cert = sshkey_is_cert(host_key); in check_host_key()
1525 if (sshkey_is_cert(host_key)) { in verify_host_key()
1585 if (sshkey_is_cert(plain)) in verify_host_key()
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.c416 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert() function
719 if (sshkey_is_cert(k)) { in sshkey_new()
792 if (sshkey_is_cert(k)) in sshkey_free_contents()
853 if (sshkey_is_cert(a)) { in sshkey_equal()
1627 if (sshkey_is_cert(k) && (r = sshkey_cert_copy(k, n)) != 0) in sshkey_from_private()
2050 if (sshkey_is_cert(key) && (ret = cert_parse(b, key, copy)) != 0) in sshkey_from_blob_internal()
2297 if (!sshkey_is_cert(k)) in sshkey_certify_custom()
2421 if (!sshkey_is_cert(k)) { in sshkey_cert_check_authority()
2564 if (sshkey_is_cert(key)) { in sshkey_private_serialize_opt()
H A Dsshkey.h215 int sshkey_is_cert(const struct sshkey *);
H A Dauthfile.c416 (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.c504 if (sshkey_is_cert(key)) { in get_hostkey_index()
543 sshkey_is_cert(key)) in notify_hostkeys()
H A Dsshd-auth.c352 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.c1809 if (sshkey_is_cert(public)) in do_ca_sign()
2167 if (!sshkey_is_cert(key)) { in do_show_cert()
2515 if (sshkey_is_cert(pubkey) && !sshkey_is_cert(privkey)) { in load_sign_key()
H A Dssh.c2432 if (!sshkey_is_cert(public)) { in load_public_identity_files()
2464 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 Dsshconnect2.c1351 if (id->agent_fd == -1 && sshkey_is_cert(id->key)) { in sign_and_send_pubkey()
1721 if (!sshkey_is_cert(key) || key->cert == NULL || in pubkey_prepare()
H A Dssh-agent.c402 if (!sshkey_is_cert(key)) { in match_key_hop()
1625 if (!sshkey_is_cert(certs[j])) in process_add_smartcard_key()
H A Dssh_namespace.h935 #define sshkey_is_cert Fssh_sshkey_is_cert macro

12