Lines Matching refs:calculations
63 * When all allowed NSEC3 calculations at once resulted in error treat as
816 * @param calculations: current hash calculations.
823 int* calculations)
835 /* check if we are allowed more calculations */
836 if(*calculations >= MAX_NSEC3_CALCULATIONS) {
837 if(calc_errors == *calculations) {
838 *calculations = MAX_NSEC3_ERRORS;
851 (*calculations)++;
854 if(r == 1) (*calculations)++;
926 * @param calculations: current hash calculations.
933 int* calculations)
945 /* check if we are allowed more calculations */
946 if(*calculations >= MAX_NSEC3_CALCULATIONS) {
947 if(calc_errors == *calculations) {
948 *calculations = MAX_NSEC3_ERRORS;
961 (*calculations)++;
964 if(r == 1) (*calculations)++;
988 * @param calculations: current hash calculations.
994 struct ce_response* ce, int* calculations)
1009 if(*calculations >= MAX_NSEC3_CALCULATIONS ||
1010 *calculations == MAX_NSEC3_ERRORS) {
1014 &ce->ce_rrset, &ce->ce_rr, calculations)) {
1058 * @param calculations: pointer to the current NSEC3 hash calculations.
1063 * unchecked if no more hash calculations are allowed at this point.
1068 int prove_does_not_exist, struct ce_response* ce, int* calculations)
1075 if(!nsec3_find_closest_encloser(env, flt, ct, qinfo, ce, calculations)) {
1076 if(*calculations == MAX_NSEC3_ERRORS) {
1079 "encloser; all attempted hash calculations "
1082 } else if(*calculations >= MAX_NSEC3_CALCULATIONS) {
1130 &ce->nc_rrset, &ce->nc_rr, calculations)) {
1131 if(*calculations == MAX_NSEC3_ERRORS) {
1134 "all attempted hash calculations were "
1137 } else if(*calculations >= MAX_NSEC3_CALCULATIONS) {
1215 "all attempted hash calculations were "
1325 "calculations were erroneous while finding a matching "
1391 "calculations were erroneous while matching "
1485 "name; all attempted hash calculations were "
1601 "calculations were erroneous while finding a matching "