Lines Matching refs:Xp2
48 * This is the main X9.31 prime derivation function. From parameters Xp1, Xp2
55 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx,
85 if (!bn_x931_derive_pi(p2, Xp2, ctx, cb))
213 * Xp2 only 'p' needs to be non-NULL. If any of the others are not NULL the
220 BIGNUM *Xp1, BIGNUM *Xp2,
229 if (Xp2 == NULL)
230 Xp2 = BN_CTX_get(ctx);
231 if (Xp1 == NULL || Xp2 == NULL)
236 if (!BN_priv_rand_ex(Xp2, 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))