Lines Matching refs:prime
261 BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *tmp, *tmp2, *prime; in rsa_multiprime_keygen() local
370 prime = rsa->p; in rsa_multiprime_keygen()
372 prime = rsa->q; in rsa_multiprime_keygen()
375 prime = pinfo->r; in rsa_multiprime_keygen()
377 BN_set_flags(prime, BN_FLG_CONSTTIME); in rsa_multiprime_keygen()
381 if (!BN_generate_prime_ex2(prime, bitsr[i] + adj, 0, NULL, NULL, in rsa_multiprime_keygen()
402 if (!BN_cmp(prime, prev_prime)) { in rsa_multiprime_keygen()
407 if (!BN_sub(r2, prime, BN_value_one())) in rsa_multiprime_keygen()
436 if (!BN_mul(r1, rsa->n, prime, ctx)) in rsa_multiprime_keygen()
442 tmp = BN_dup(prime); in rsa_multiprime_keygen()
512 tmp = BN_dup(prime); in rsa_multiprime_keygen()