Searched refs:sshkey_equal (Results 1 – 15 of 15) sorted by relevance
/external/openssh/regress/unittests/sshkey/ |
D | test_file.c | 71 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 79 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 126 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 135 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 145 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 153 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 161 ASSERT_INT_EQ(sshkey_equal(k1, k2), 0); in sshkey_file_tests() 217 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 226 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() 236 ASSERT_INT_EQ(sshkey_equal(k1, k2), 1); in sshkey_file_tests() [all …]
|
D | test_sshkey.c | 342 ASSERT_INT_EQ(sshkey_equal(kr, k1), 1); in sshkey_tests() 357 ASSERT_INT_EQ(sshkey_equal(kd, k1), 1); in sshkey_tests() 374 ASSERT_INT_EQ(sshkey_equal(ke, k1), 1); in sshkey_tests() 389 ASSERT_INT_EQ(sshkey_equal(kf, k1), 1); in sshkey_tests() 394 ASSERT_INT_EQ(sshkey_equal(kd, kr), 0); in sshkey_tests() 396 ASSERT_INT_EQ(sshkey_equal(kd, ke), 0); in sshkey_tests() 397 ASSERT_INT_EQ(sshkey_equal(kr, ke), 0); in sshkey_tests() 398 ASSERT_INT_EQ(sshkey_equal(ke, kf), 0); in sshkey_tests() 400 ASSERT_INT_EQ(sshkey_equal(kd, kf), 0); in sshkey_tests() 405 ASSERT_INT_EQ(sshkey_equal(kr, k1), 0); in sshkey_tests() [all …]
|
/external/openssh/ |
D | key.h | 41 #define key_equal sshkey_equal
|
D | sshkey.h | 121 int sshkey_equal(const struct sshkey *, const struct sshkey *);
|
D | krl.c | 216 sshkey_equal(rc->ca_key, ca_key)) { in revoked_certs_for_ca_key() 1021 if (sshkey_equal(ca_used[i], key)) { in ssh_krl_from_blob() 1132 if (sshkey_equal(ca_used[j], sign_ca_keys[i])) { in ssh_krl_from_blob()
|
D | hostfile.c | 380 if (sshkey_equal(k, hostkeys->entries[i].key)) { in check_hostkeys_by_key_or_type() 506 if (sshkey_equal(ctx->keys[i], l->key)) { in host_delete()
|
D | sshd.c | 827 sshkey_equal(key, 833 sshkey_equal(key, sensitive_data.host_keys[i]))) 837 sshkey_equal(key, sensitive_data.host_pubkeys[i])))
|
D | authfile.c | 519 strict_type ? sshkey_equal : sshkey_equal_public; in sshkey_in_file()
|
D | ssh-pkcs11.c | 442 if (sshkey_equal(key, (*keysp)[i])) in pkcs11_key_included()
|
D | sshconnect2.c | 1363 if (sshkey_equal(idlist->keys[j], id->key)) { in pubkey_prepare() 1399 if (sshkey_equal(id->key, id2->key)) { in pubkey_prepare()
|
D | clientloop.c | 2235 if (sshkey_equal(l->key, ctx->keys[i])) { in hostkeys_find() 2472 if (sshkey_equal(key, ctx->keys[i])) { in client_input_hostkeys()
|
D | sshconnect.c | 1279 if (sshkey_equal(previous_host_key, host_key)) { in verify_host_key()
|
D | ssh-agent.c | 208 if (sshkey_equal(key, id->key)) in lookup_identity()
|
D | sshkey.c | 715 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal() function
|
/external/openssh/regress/unittests/hostkeys/ |
D | test_iterate.c | 136 ASSERT_INT_EQ(sshkey_equal(l->key, expected->l.key), 1); in check()
|