Lines Matching defs:Xp1
48 * This is the main X9.31 prime derivation function. From parameters Xp1, Xp2
54 const BIGNUM *Xp, const BIGNUM *Xp1,
82 if (!bn_x931_derive_pi(p1, Xp1, ctx, cb))
212 * Generate primes using X9.31 algorithm. Of the values p, p1, p2, Xp1 and
220 BIGNUM *Xp1, BIGNUM *Xp2,
227 if (Xp1 == NULL)
228 Xp1 = BN_CTX_get(ctx);
231 if (Xp1 == NULL || Xp2 == NULL)
234 if (!BN_priv_rand_ex(Xp1, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, 0, ctx))
238 if (!BN_X931_derive_prime_ex(p, p1, p2, Xp, Xp1, Xp2, e, ctx, cb))