Lines Matching refs:add
25 const BIGNUM *add, const BIGNUM *rem,
124 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, in BN_generate_prime_ex2() argument
137 } else if (add == NULL && safe && bits < 6 && bits != 3) { in BN_generate_prime_ex2()
157 if (add == NULL) { in BN_generate_prime_ex2()
161 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx)) in BN_generate_prime_ex2()
212 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) in BN_generate_prime_ex() argument
220 retval = BN_generate_prime_ex2(ret, bits, safe, add, rem, cb, ctx); in BN_generate_prime_ex()
546 const BIGNUM *add, const BIGNUM *rem, in probable_prime_dh() argument
559 if (maxdelta > BN_MASK2 - BN_get_word(add)) in probable_prime_dh()
560 maxdelta = BN_MASK2 - BN_get_word(add); in probable_prime_dh()
568 if (!BN_mod(t1, rnd, add, ctx)) in probable_prime_dh()
582 if (!BN_add(rnd, rnd, add)) in probable_prime_dh()
603 delta += BN_get_word(add); in probable_prime_dh()