Lines Matching full:calculations

63  * Max number of NSEC3 calculations at once, suspend query for later.
68 * When all allowed NSEC3 calculations at once resulted in error treat as
760 * @param calculations: current hash calculations.
767 int* calculations) in find_matching_nsec3() argument
779 /* check if we are allowed more calculations */ in find_matching_nsec3()
780 if(*calculations >= MAX_NSEC3_CALCULATIONS) { in find_matching_nsec3()
781 if(calc_errors == *calculations) { in find_matching_nsec3()
782 *calculations = MAX_NSEC3_ERRORS; in find_matching_nsec3()
795 (*calculations)++; in find_matching_nsec3()
798 if(r == 1) (*calculations)++; in find_matching_nsec3()
870 * @param calculations: current hash calculations.
877 int* calculations) in find_covering_nsec3() argument
889 /* check if we are allowed more calculations */ in find_covering_nsec3()
890 if(*calculations >= MAX_NSEC3_CALCULATIONS) { in find_covering_nsec3()
891 if(calc_errors == *calculations) { in find_covering_nsec3()
892 *calculations = MAX_NSEC3_ERRORS; in find_covering_nsec3()
905 (*calculations)++; in find_covering_nsec3()
908 if(r == 1) (*calculations)++; in find_covering_nsec3()
932 * @param calculations: current hash calculations.
938 struct ce_response* ce, int* calculations) in nsec3_find_closest_encloser() argument
953 if(*calculations >= MAX_NSEC3_CALCULATIONS || in nsec3_find_closest_encloser()
954 *calculations == MAX_NSEC3_ERRORS) { in nsec3_find_closest_encloser()
958 &ce->ce_rrset, &ce->ce_rr, calculations)) { in nsec3_find_closest_encloser()
1002 * @param calculations: pointer to the current NSEC3 hash calculations.
1007 * unchecked if no more hash calculations are allowed at this point.
1012 int prove_does_not_exist, struct ce_response* ce, int* calculations) in nsec3_prove_closest_encloser() argument
1019 if(!nsec3_find_closest_encloser(env, flt, ct, qinfo, ce, calculations)) { in nsec3_prove_closest_encloser()
1020 if(*calculations == MAX_NSEC3_ERRORS) { in nsec3_prove_closest_encloser()
1023 "encloser; all attempted hash calculations " in nsec3_prove_closest_encloser()
1026 } else if(*calculations >= MAX_NSEC3_CALCULATIONS) { in nsec3_prove_closest_encloser()
1074 &ce->nc_rrset, &ce->nc_rr, calculations)) { in nsec3_prove_closest_encloser()
1075 if(*calculations == MAX_NSEC3_ERRORS) { in nsec3_prove_closest_encloser()
1078 "all attempted hash calculations were " in nsec3_prove_closest_encloser()
1081 } else if(*calculations >= MAX_NSEC3_CALCULATIONS) { in nsec3_prove_closest_encloser()
1159 "all attempted hash calculations were " in nsec3_do_prove_nameerror()
1267 "calculations were erroneous while finding a matching " in nsec3_do_prove_nodata()
1333 "calculations were erroneous while matching " in nsec3_do_prove_nodata()
1423 "name; all attempted hash calculations were " in nsec3_prove_wildcard()
1537 "calculations were erroneous while finding a matching " in nsec3_prove_nods()