Searched refs:Xp (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/usr.sbin/sade/
H A Dlist.h48 register qelement *Xp = (qelement *) (pred); \
49 Xp->q_forw = (Xe->q_forw = (Xe->q_back = Xp)->q_forw)->q_back = Xe; \
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dlist.h53 register qelement *Xp = (qelement *) (pred); \
54 Xp->q_forw = (Xe->q_forw = (Xe->q_back = Xp)->q_forw)->q_back = Xe; \
/freebsd-9.3-release/crypto/openssl/crypto/bn/
H A Dbn_x931p.c93 * and Xp derive the prime p. If the parameters p1 or p2 are not NULL they
98 const BIGNUM *Xp, const BIGNUM *Xp1,
154 if (!BN_mod_sub(p, p, Xp, p1p2, ctx))
157 if (!BN_add(p, p, Xp))
195 * Generate pair of paramters Xp, Xq for X9.31 prime generation. Note: nbits
199 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx) argument
211 * The random value Xp must be between sqrt(2) * 2^(nbits-1) and 2^nbits
215 if (!BN_rand(Xp, nbits, 1, 0))
224 /* Check that |Xp - Xq| > 2^(nbits - 100) */
225 BN_sub(t, Xp, X
97 BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) argument
247 BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1, BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) argument
[all...]
H A Dbn.h557 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
560 const BIGNUM *Xp, const BIGNUM *Xp1,
564 BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e,
/freebsd-9.3-release/crypto/openssl/fips/rsa/
H A Dfips_rsagtest.c85 BIGNUM *Xp1, BIGNUM *Xp2, BIGNUM *Xp, BIGNUM *e);
147 BIGNUM *Xp1 = NULL, *Xp2 = NULL, *Xp = NULL; local
204 } else if (!strcmp(keyword, "Xp")) {
205 if (Xp || !do_hex2bn(&Xp, value))
240 if (e && Xp1 && Xp2 && Xp) {
244 if (!rsa_printkey1(out, rsa, Xp1, Xp2, Xp, e))
250 BN_free(Xp);
251 Xp = NULL;
283 if (Xp)
308 rsa_printkey1(FILE *out, RSA *rsa, BIGNUM *Xp1, BIGNUM *Xp2, BIGNUM *Xp, BIGNUM *e) argument
[all...]
H A Dfips_rsa_x931g.c75 const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2,
108 if (Xp && !rsa->p) {
114 Xp, Xp1, Xp2, e, ctx, cb))
203 BIGNUM *Xp = NULL, *Xq = NULL; local
226 Xp = BN_CTX_get(ctx);
228 if (!BN_X931_generate_Xpq(Xp, Xq, bits, ctx))
236 /* Generate two primes from Xp, Xq */
238 if (!BN_X931_generate_prime_ex(rsa->p, NULL, NULL, NULL, NULL, Xp,
73 RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2, const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) argument
/freebsd-9.3-release/crypto/openssl/crypto/rsa/
H A Drsa_x931g.c72 const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2,
105 if (Xp && !rsa->p) {
111 Xp, Xp1, Xp2, e, ctx, cb))
200 BIGNUM *Xp = NULL, *Xq = NULL; local
208 Xp = BN_CTX_get(ctx);
210 if (!BN_X931_generate_Xpq(Xp, Xq, bits, ctx))
218 /* Generate two primes from Xp, Xq */
220 if (!BN_X931_generate_prime_ex(rsa->p, NULL, NULL, NULL, NULL, Xp,
70 RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2, const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) argument
H A Drsa.h284 const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2,

Completed in 88 milliseconds