Lines Matching defs:key1
776 dst_key_compare(const dst_key_t *key1, const dst_key_t *key2) {
778 REQUIRE(VALID_KEY(key1));
781 if (key1 == key2)
783 if (key1 == NULL || key2 == NULL)
785 if (key1->key_alg == key2->key_alg &&
786 key1->key_id == key2->key_id &&
787 key1->func->compare != NULL &&
788 key1->func->compare(key1, key2) == ISC_TRUE)
795 dst_key_paramcompare(const dst_key_t *key1, const dst_key_t *key2) {
797 REQUIRE(VALID_KEY(key1));
800 if (key1 == key2)
802 if (key1 == NULL || key2 == NULL)
804 if (key1->key_alg == key2->key_alg &&
805 key1->func->paramcompare != NULL &&
806 key1->func->paramcompare(key1, key2) == ISC_TRUE)