Lines Matching refs:rho
118 bi_ptr rho = NULL;
240 rho = bi_new_ptr();
244 bi_generate_prime(rho, DAA_PARAM_SIZE_RHO);
245 if (bi_length(rho) != DAA_PARAM_SIZE_RHO) {
246 LogError("rho bit length=%ld", bi_length(rho));
255 } while(bi_length(r) != length || bi_equals_si(bi_mod(bi_tmp, r, rho), 0));
257 // rho is not a dividor of r
258 bi_mul( capital_gamma, rho, r);
273 bi_mod(bi_tmp1, bi_mul(bi_tmp2, rho, r), n)) == 0) {
274 LogWarn("capital_gamma-1 != (rho * r) mod n tmp=%s tmp1=%s",
278 if (bi_equals(bi_div(bi_tmp, bi_sub_si(bi_tmp1, capital_gamma, 1), rho), r ) == 0) {
279 LogWarn("( capital_gamma - 1)/rho != r");
298 capital_gamma, rho, capitalRReceiver, capitalRIssuer,
348 FREE_BI( rho); // kept if no error
369 rho