Lines Matching refs:result

987                 DnssecResult *result) {  in dnssec_verify_rrset()  argument
1000 assert(result); in dnssec_verify_rrset()
1010 *result = DNSSEC_INVALID; in dnssec_verify_rrset()
1020 *result = DNSSEC_SIGNATURE_EXPIRED; in dnssec_verify_rrset()
1032 *result = DNSSEC_INVALID; in dnssec_verify_rrset()
1043 *result = DNSSEC_INVALID; in dnssec_verify_rrset()
1054 *result = DNSSEC_INVALID; in dnssec_verify_rrset()
1104 *result = DNSSEC_UNSUPPORTED_ALGORITHM; in dnssec_verify_rrset()
1115 *result = DNSSEC_INVALID; in dnssec_verify_rrset()
1117 *result = DNSSEC_VALIDATED_WILDCARD; in dnssec_verify_rrset()
1119 *result = DNSSEC_VALIDATED; in dnssec_verify_rrset()
1175 DnssecResult *result, in dnssec_verify_rrset_search() argument
1183 assert(result); in dnssec_verify_rrset_search()
1242 *result = one_result; in dnssec_verify_rrset_search()
1277 *result = DNSSEC_SIGNATURE_EXPIRED; in dnssec_verify_rrset_search()
1279 *result = DNSSEC_UNSUPPORTED_ALGORITHM; in dnssec_verify_rrset_search()
1281 *result = DNSSEC_INVALID; in dnssec_verify_rrset_search()
1283 *result = DNSSEC_MISSING_KEY; in dnssec_verify_rrset_search()
1285 *result = DNSSEC_NO_SIGNATURE; in dnssec_verify_rrset_search()
1366 uint8_t result[EVP_MAX_MD_SIZE]; in dnssec_verify_dnskey_by_ds() local
1398 if (EVP_DigestFinal_ex(ctx, result, NULL) <= 0) in dnssec_verify_dnskey_by_ds()
1428 void *result = gcry_md_read(md, 0); in dnssec_verify_dnskey_by_ds() local
1429 if (!result) in dnssec_verify_dnskey_by_ds()
1433 return memcmp(result, ds->ds.digest, ds->ds.digest_size) == 0; in dnssec_verify_dnskey_by_ds()
1531 uint8_t result[EVP_MAX_MD_SIZE]; in dnssec_nsec3_hash() local
1532 if (EVP_DigestFinal_ex(ctx, result, NULL) <= 0) in dnssec_nsec3_hash()
1538 if (EVP_DigestUpdate(ctx, result, hash_size) <= 0) in dnssec_nsec3_hash()
1543 if (EVP_DigestFinal_ex(ctx, result, NULL) <= 0) in dnssec_nsec3_hash()
1570 void *result = gcry_md_read(md, 0); in dnssec_nsec3_hash() local
1571 if (!result) in dnssec_nsec3_hash()
1576 memcpy(tmp, result, hash_size); in dnssec_nsec3_hash()
1582 result = gcry_md_read(md, 0); in dnssec_nsec3_hash()
1583 if (!result) in dnssec_nsec3_hash()
1588 memcpy(ret, result, hash_size); in dnssec_nsec3_hash()
1706 static int dnssec_test_nsec3(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool… in dnssec_test_nsec3() argument
1715 assert(result); in dnssec_test_nsec3()
1746 *result = DNSSEC_NSEC_NO_RR; in dnssec_test_nsec3()
1757 *result = DNSSEC_NSEC_UNSUPPORTED_ALGORITHM; in dnssec_test_nsec3()
1797 *result = DNSSEC_NSEC_NO_RR; in dnssec_test_nsec3()
1819 *result = DNSSEC_NSEC_FOUND; in dnssec_test_nsec3()
1821 *result = DNSSEC_NSEC_CNAME; in dnssec_test_nsec3()
1823 *result = DNSSEC_NSEC_NODATA; in dnssec_test_nsec3()
1915 *result = DNSSEC_NSEC_NO_RR; in dnssec_test_nsec3()
1926 *result = DNSSEC_NSEC_OPTOUT; in dnssec_test_nsec3()
1928 *result = DNSSEC_NSEC_FOUND; in dnssec_test_nsec3()
1930 *result = DNSSEC_NSEC_CNAME; in dnssec_test_nsec3()
1932 *result = DNSSEC_NSEC_NODATA; in dnssec_test_nsec3()
1941 *result = DNSSEC_NSEC_OPTOUT; in dnssec_test_nsec3()
1943 *result = DNSSEC_NSEC_NXDOMAIN; in dnssec_test_nsec3()
1945 *result = DNSSEC_NSEC_NO_RR; in dnssec_test_nsec3()
2110 int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authen… in dnssec_nsec_test() argument
2118 assert(result); in dnssec_nsec_test()
2168 *result = DNSSEC_NSEC_FOUND; in dnssec_nsec_test()
2170 *result = DNSSEC_NSEC_CNAME; in dnssec_nsec_test()
2172 *result = DNSSEC_NSEC_NODATA; in dnssec_nsec_test()
2188 *result = DNSSEC_NSEC_NODATA; in dnssec_nsec_test()
2243 *result = DNSSEC_NSEC_NXDOMAIN; in dnssec_nsec_test()
2255 return dnssec_test_nsec3(answer, key, result, authenticated, ttl); in dnssec_nsec_test()
2258 *result = DNSSEC_NSEC_NO_RR; in dnssec_nsec_test()
2499 DnssecResult *result) { in dnssec_verify_rrset() argument
2519 DnssecResult *result, in dnssec_verify_rrset_search() argument
2545 int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authen… in dnssec_nsec_test() argument