| /freebsd-13.1/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_file.c | 82 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 91 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 101 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 109 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 135 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 | 316 ASSERT_INT_EQ(sshkey_equal(kr, k1), 1); in sshkey_tests() 331 ASSERT_INT_EQ(sshkey_equal(kd, k1), 1); in sshkey_tests() 348 ASSERT_INT_EQ(sshkey_equal(ke, k1), 1); in sshkey_tests() 364 ASSERT_INT_EQ(sshkey_equal(kf, k1), 1); in sshkey_tests() 370 ASSERT_INT_EQ(sshkey_equal(kd, kr), 0); in sshkey_tests() 372 ASSERT_INT_EQ(sshkey_equal(kd, ke), 0); in sshkey_tests() 373 ASSERT_INT_EQ(sshkey_equal(kr, ke), 0); in sshkey_tests() 374 ASSERT_INT_EQ(sshkey_equal(ke, kf), 0); in sshkey_tests() 376 ASSERT_INT_EQ(sshkey_equal(kd, kf), 0); in sshkey_tests() 383 ASSERT_INT_EQ(sshkey_equal(kr, k1), 0); in sshkey_tests() [all …]
|
| /freebsd-13.1/crypto/openssh/regress/unittests/sshsig/ |
| H A D | tests.c | 69 ASSERT_INT_EQ(sshkey_equal(k, sign_key), 1); in check_sig()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | sshkey.h | 171 int sshkey_equal(const struct sshkey *, const struct sshkey *);
|
| H A D | sshd.c | 769 sshkey_equal(key, 775 sshkey_equal(key, sensitive_data.host_keys[i]))) 779 sshkey_equal(key, sensitive_data.host_pubkeys[i]))) 1878 if (!sshkey_equal(pubkey, key)) {
|
| H A D | hostfile.c | 388 if (sshkey_equal(k, hostkeys->entries[i].key)) { in check_hostkeys_by_key_or_type() 556 if (!sshkey_equal(ctx->keys[i], l->key)) in host_delete()
|
| H A D | authfile.c | 386 strict_type ? sshkey_equal : sshkey_equal_public; in sshkey_in_file()
|
| H A D | ssh-pkcs11-helper.c | 103 if (sshkey_equal(k, ki->key)) in lookup_key()
|
| H A D | krl.c | 225 sshkey_equal(rc->ca_key, ca_key)) { in revoked_certs_for_ca_key() 1082 if (sshkey_equal(ca_used[i], key)) { in ssh_krl_from_blob() 1188 if (sshkey_equal(ca_used[j], sign_ca_keys[i])) { in ssh_krl_from_blob()
|
| H A D | sshconnect.c | 727 if (l->key == NULL || !sshkey_equal(ctx->key, l->key)) in hostkeys_find_by_key_cb() 1033 !sshkey_equal(ip_found->key, host_found->key)))) in check_host_key() 1460 if (sshkey_equal(previous_host_key, host_key)) { in verify_host_key()
|
| H A D | auth2-pubkey.c | 620 if (!sshkey_equal(found, key->cert->signature_key) || in check_authkey_line() 625 if (!sshkey_equal(found, key) || keyopts->cert_authority) in check_authkey_line()
|
| H A D | clientloop.c | 1865 if (sshkey_equal(l->key, ctx->keys[i])) { in hostkeys_find() 1914 if (!sshkey_equal(l->key, ctx->keys[i])) in hostkeys_find() 1948 if (!sshkey_equal(l->key, ctx->old_keys[i])) in hostkeys_check_old() 2252 if (sshkey_equal(key, ctx->keys[i])) { in client_input_hostkeys()
|
| H A D | sshsig.c | 833 if (!sigopts->ca && sshkey_equal(found_key, sign_key)) { in check_allowed_keys_line() 1001 if (!sigopts->ca && sshkey_equal(found_key, sign_key)) { in get_matching_principals_from_line()
|
| H A D | ssh-agent.c | 231 if (sshkey_equal(key, id->key)) in lookup_identity() 354 !sshkey_equal(expected_key, mkey) || in parse_userauth_request()
|
| H A D | sshconnect2.c | 741 if (sshkey_equal(key, id->key)) { in input_userauth_pk_ok() 1721 if (sshkey_equal(idlist->keys[j], id->key)) { in pubkey_prepare() 1754 if (sshkey_equal(id->key, id2->key)) { in pubkey_prepare()
|
| H A D | ssh_namespace.h | 780 #define sshkey_equal Fssh_sshkey_equal macro
|
| H A D | ssh-pkcs11.c | 692 if (sshkey_equal(key, (*keysp)[i])) in pkcs11_key_included()
|
| H A D | sshkey.c | 787 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal() function 4292 if (!sshkey_equal(pubkey, k)) { in sshkey_parse_private2()
|
| H A D | ssh-keygen.c | 1771 if (sshkey_equal(ca, agent_ids->keys[j])) { in do_ca_sign()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 138 ASSERT_INT_EQ(sshkey_equal(l->key, expected->l.key), 1); in check()
|