reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2913 if ((res = mp_int_init_size(&t, n + 1)) != MP_OK) goto CLEANUP; 2921 ZERO(t.digits, t.alloc); 2921 ZERO(t.digits, t.alloc); 2954 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); t.used = n + 1; 2954 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); t.used = n + 1; 2955 CLAMP(&t); 2959 if (s_ucmp(&t, &r) > 0) { /* would the remainder be negative? */ 2961 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); 2962 t.used = n + 1; CLAMP(&t); 2962 t.used = n + 1; CLAMP(&t); 2963 if (s_ucmp(&t, &r) > 0) { /* would the remainder be negative? */ 2966 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); 2967 t.used = n + 1; CLAMP(&t); 2967 t.used = n + 1; CLAMP(&t); 2969 assert(s_ucmp(&t, &r) <= 0 && "The mathematics failed us."); 2979 s_usub(r.digits, t.digits, r.digits, r.used, t.used); 2979 s_usub(r.digits, t.digits, r.digits, r.used, t.used); 2996 ZERO(t.digits, t.alloc); 2996 ZERO(t.digits, t.alloc); 3011 mp_int_clear(&t);