Home
last modified time | relevance | path

Searched refs:sshkey_equal (Results 1 – 15 of 15) sorted by relevance

/external/openssh/regress/unittests/sshkey/
Dtest_file.c71 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 …]
Dtest_sshkey.c342 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/
Dkey.h41 #define key_equal sshkey_equal
Dsshkey.h121 int sshkey_equal(const struct sshkey *, const struct sshkey *);
Dkrl.c216 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()
Dhostfile.c380 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()
Dsshd.c827 sshkey_equal(key,
833 sshkey_equal(key, sensitive_data.host_keys[i])))
837 sshkey_equal(key, sensitive_data.host_pubkeys[i])))
Dauthfile.c519 strict_type ? sshkey_equal : sshkey_equal_public; in sshkey_in_file()
Dssh-pkcs11.c442 if (sshkey_equal(key, (*keysp)[i])) in pkcs11_key_included()
Dsshconnect2.c1363 if (sshkey_equal(idlist->keys[j], id->key)) { in pubkey_prepare()
1399 if (sshkey_equal(id->key, id2->key)) { in pubkey_prepare()
Dclientloop.c2235 if (sshkey_equal(l->key, ctx->keys[i])) { in hostkeys_find()
2472 if (sshkey_equal(key, ctx->keys[i])) { in client_input_hostkeys()
Dsshconnect.c1279 if (sshkey_equal(previous_host_key, host_key)) { in verify_host_key()
Dssh-agent.c208 if (sshkey_equal(key, id->key)) in lookup_identity()
Dsshkey.c715 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal() function
/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c136 ASSERT_INT_EQ(sshkey_equal(l->key, expected->l.key), 1); in check()