| /freebsd/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_file.c | 81 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 90 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 100 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 108 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 134 ASSERT_INT_EQ(sshkey_equal(k1, k2), 0); in sshkey_file_tests() 191 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 200 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 210 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 218 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 226 ASSERT_INT_EQ(sshkey_equal(k1, k2), 0); in sshkey_file_tests() [all …]
|
| H A D | test_sshkey.c | 325 ASSERT_INT_EQ(sshkey_equal(kr, k1), 1); in sshkey_tests() 341 ASSERT_INT_EQ(sshkey_equal(kd, k1), 1); in sshkey_tests() 361 ASSERT_INT_EQ(sshkey_equal(ke, k1), 1); in sshkey_tests() 377 ASSERT_INT_EQ(sshkey_equal(kf, k1), 1); in sshkey_tests() 383 ASSERT_INT_EQ(sshkey_equal(kd, kr), 0); in sshkey_tests() 385 ASSERT_INT_EQ(sshkey_equal(kd, ke), 0); in sshkey_tests() 386 ASSERT_INT_EQ(sshkey_equal(kr, ke), 0); in sshkey_tests() 387 ASSERT_INT_EQ(sshkey_equal(ke, kf), 0); in sshkey_tests() 389 ASSERT_INT_EQ(sshkey_equal(kd, kf), 0); in sshkey_tests() 396 ASSERT_INT_EQ(sshkey_equal(kr, k1), 0); in sshkey_tests() [all …]
|
| /freebsd/crypto/openssh/regress/unittests/sshsig/ |
| H A D | tests.c | 70 ASSERT_INT_EQ(sshkey_equal(k, sign_key), 1); in check_sig()
|
| /freebsd/crypto/openssh/ |
| H A D | auth2-pubkeyfile.c | 309 if (!sshkey_equal(found, key->cert->signature_key) || in auth_check_authkey_line() 314 if (!sshkey_equal(found, key) || keyopts->cert_authority) in auth_check_authkey_line()
|
| H A D | sshd-auth.c | 360 sshkey_equal(key, host_certificates[i]))) in get_hostkey_index() 365 sshkey_equal(key, host_pubkeys[i]))) in get_hostkey_index()
|
| H A D | sshd-session.c | 558 sshkey_equal(key, in get_hostkey_index() 564 sshkey_equal(key, sensitive_data.host_keys[i]))) in get_hostkey_index() 568 sshkey_equal(key, sensitive_data.host_pubkeys[i]))) in get_hostkey_index()
|
| H A D | ssh-agent.c | 412 !sshkey_equal(key, dch->keys[i])) in match_key_hop() 421 if (!sshkey_equal(key->cert->signature_key, dch->keys[i])) in match_key_hop() 604 if (sshkey_equal(key, id->key)) in lookup_identity() 747 !sshkey_equal(expected_key, mkey) || in parse_userauth_request() 934 if (hostkey != NULL && !sshkey_equal(hostkey, in process_sign_request2() 1762 key_match = sshkey_equal(key, e->session_ids[i].key); in process_ext_session_bind()
|
| H A D | sshkey.h | 209 int sshkey_equal(const struct sshkey *, const struct sshkey *);
|
| H A D | hostfile.c | 387 if (sshkey_equal(k, hostkeys->entries[i].key)) { in check_hostkeys_by_key_or_type() 565 if (!sshkey_equal(ctx->keys[i], l->key)) in host_delete()
|
| H A D | sshconnect.c | 766 if (l->key == NULL || !sshkey_equal(ctx->key, l->key)) in hostkeys_find_by_key_cb() 1089 !sshkey_equal(ip_found->key, host_found->key)))) in check_host_key() 1519 if (sshkey_equal(previous_host_key, host_key)) { in verify_host_key()
|
| H A D | authfile.c | 386 strict_type ? sshkey_equal : sshkey_equal_public; in sshkey_in_file()
|
| H A D | ssh-pkcs11-helper.c | 106 if (sshkey_equal(k, ki->key)) in lookup_key()
|
| H A D | clientloop.c | 2100 if (sshkey_equal(l->key, ctx->keys[i])) { in hostkeys_find() 2149 if (!sshkey_equal(l->key, ctx->keys[i])) in hostkeys_find() 2183 if (!sshkey_equal(l->key, ctx->old_keys[i])) in hostkeys_check_old() 2485 if (sshkey_equal(key, ctx->keys[i])) { in client_input_hostkeys()
|
| H A D | sshconnect2.c | 723 if (sshkey_equal(key, id->key)) { in input_userauth_pk_ok() 1745 if (sshkey_equal(idlist->keys[j], id->key)) { in pubkey_prepare() 1778 if (sshkey_equal(id->key, id2->key)) { in pubkey_prepare()
|
| H A D | auth2-pubkey.c | 122 if (!sshkey_equal(hostkey, ssh->kex->initial_hostkey)) in userauth_pubkey()
|
| H A D | sshsig.c | 916 if (!sigopts->ca && sshkey_equal(found_key, sign_key)) { in check_allowed_keys_line()
|
| H A D | ssh_namespace.h | 863 #define sshkey_equal Fssh_sshkey_equal macro
|
| H A D | krl.c | 225 sshkey_equal(rc->ca_key, ca_key)) { in revoked_certs_for_ca_key()
|
| H A D | sshd.c | 1685 if (!sshkey_equal(pubkey, key)) { in main()
|
| H A D | sshkey.c | 853 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal() function 3223 if (!sshkey_equal(pubkey, k)) { in sshkey_parse_private2()
|
| H A D | ssh-pkcs11.c | 700 if (sshkey_equal(key, (*keysp)[i])) in pkcs11_key_included()
|
| H A D | ssh-keygen.c | 1830 if (sshkey_equal(ca, agent_ids->keys[j])) { in do_ca_sign()
|
| /freebsd/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 142 ASSERT_INT_EQ(sshkey_equal(l->key, expected->l.key), 1); in check()
|