Home
last modified time | relevance | path

Searched refs:Xq (Results 1 - 19 of 19) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_x931g.c28 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) in RSA_X931_derive_ex()
72 if (Xq && rsa->q == NULL) { in RSA_X931_derive_ex()
77 Xq, Xq1, Xq2, e, ctx, cb)) in RSA_X931_derive_ex()
155 BIGNUM *Xp = NULL, *Xq = NULL; in RSA_X931_generate_key_ex() local
164 Xq = BN_CTX_get(ctx); in RSA_X931_generate_key_ex()
165 if (Xq == NULL) in RSA_X931_generate_key_ex()
167 if (!BN_X931_generate_Xpq(Xp, Xq, bits, ctx)) in RSA_X931_generate_key_ex()
175 /* Generate two primes from Xp, Xq */ in RSA_X931_generate_key_ex()
181 if (!BN_X931_generate_prime_ex(rsa->q, NULL, NULL, NULL, NULL, Xq, in RSA_X931_generate_key_ex()
25 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) RSA_X931_derive_ex() argument
H A Drsa_acvp_test_params.c110 && !OSSL_PARAM_get_BN(p, &t->Xq)) in ossl_rsa_acvp_test_set_params()
159 BN_free(t->Xq); in ossl_rsa_acvp_test_free()
H A Drsa_sp800_56b_gen.c42 * Xq An optional passed in value (that is random number used during
54 * Xp, Xp1, Xp2, Xq, Xq1, Xq2 are optionally passed in.
70 BIGNUM *Xq = NULL, *Xq1 = NULL, *Xq2 = NULL; in ossl_rsa_fips186_4_gen_prob_primes() local
79 Xq = test->Xq; in ossl_rsa_fips186_4_gen_prob_primes()
129 /* (Step 5) Generate q, Xq*/ in ossl_rsa_fips186_4_gen_prob_primes()
130 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->q, Xqo, q1, q2, Xq, Xq1, in ossl_rsa_fips186_4_gen_prob_primes()
134 /* (Step 6) |Xp - Xq| > 2^(nbitlen/2 - 100) */ in ossl_rsa_fips186_4_gen_prob_primes()
H A Drsa_local.h38 BIGNUM *Xq; member
/third_party/openssl/crypto/rsa/
H A Drsa_x931g.c28 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) in RSA_X931_derive_ex()
72 if (Xq && rsa->q == NULL) { in RSA_X931_derive_ex()
77 Xq, Xq1, Xq2, e, ctx, cb)) in RSA_X931_derive_ex()
155 BIGNUM *Xp = NULL, *Xq = NULL; in RSA_X931_generate_key_ex() local
164 Xq = BN_CTX_get(ctx); in RSA_X931_generate_key_ex()
165 if (Xq == NULL) in RSA_X931_generate_key_ex()
167 if (!BN_X931_generate_Xpq(Xp, Xq, bits, ctx)) in RSA_X931_generate_key_ex()
175 /* Generate two primes from Xp, Xq */ in RSA_X931_generate_key_ex()
181 if (!BN_X931_generate_prime_ex(rsa->q, NULL, NULL, NULL, NULL, Xq, in RSA_X931_generate_key_ex()
25 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) RSA_X931_derive_ex() argument
H A Drsa_acvp_test_params.c110 && !OSSL_PARAM_get_BN(p, &t->Xq)) in ossl_rsa_acvp_test_set_params()
159 BN_free(t->Xq); in ossl_rsa_acvp_test_free()
H A Drsa_sp800_56b_gen.c42 * Xq An optional passed in value (that is random number used during
54 * Xp, Xp1, Xp2, Xq, Xq1, Xq2 are optionally passed in.
70 BIGNUM *Xq = NULL, *Xq1 = NULL, *Xq2 = NULL; in ossl_rsa_fips186_4_gen_prob_primes() local
79 Xq = test->Xq; in ossl_rsa_fips186_4_gen_prob_primes()
129 /* (Step 5) Generate q, Xq*/ in ossl_rsa_fips186_4_gen_prob_primes()
130 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->q, Xqo, q1, q2, Xq, Xq1, in ossl_rsa_fips186_4_gen_prob_primes()
134 /* (Step 6) |Xp - Xq| > 2^(nbitlen/2 - 100) */ in ossl_rsa_fips186_4_gen_prob_primes()
H A Drsa_local.h38 BIGNUM *Xq; member
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_x931p.c158 * Generate pair of parameters Xp, Xq for X9.31 prime generation. Note: nbits
162 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx) in BN_X931_generate_Xpq() argument
188 if (!BN_priv_rand_ex(Xq, nbits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY, 0, in BN_X931_generate_Xpq()
192 /* Check that |Xp - Xq| > 2^(nbits - 100) */ in BN_X931_generate_Xpq()
193 if (!BN_sub(t, Xp, Xq)) in BN_X931_generate_Xpq()
214 * relevant parameter will be stored in it. Due to the fact that |Xp - Xq| >
215 * 2^(nbits - 100) must be satisfied Xp and Xq are generated using the
/third_party/openssl/crypto/bn/
H A Dbn_x931p.c158 * Generate pair of parameters Xp, Xq for X9.31 prime generation. Note: nbits
162 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx) in BN_X931_generate_Xpq() argument
188 if (!BN_priv_rand_ex(Xq, nbits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY, 0, in BN_X931_generate_Xpq()
192 /* Check that |Xp - Xq| > 2^(nbits - 100) */ in BN_X931_generate_Xpq()
193 if (!BN_sub(t, Xp, Xq)) in BN_X931_generate_Xpq()
214 * relevant parameter will be stored in it. Due to the fact that |Xp - Xq| >
215 * 2^(nbits - 100) must be satisfied Xp and Xq are generated using the
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSetupRoutine.cpp190 Array<Int> Xq(16); in generate()
197 Xq[i] = X[i]; in generate()
203 Xq[i] = Xq[i] - *Pointer<Int>(constants + OFFSET(Constants, Xf) + q * sizeof(int)); in generate()
227 Xq[n] = Xq[0]; in generate()
236 edge(primitive, data, Xq[i + 1 - d], Yq[i + 1 - d], Xq[i + d], Yq[i + d], q); in generate()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DSetupRoutine.cpp205 Array<Int> Xq(16); in generate()
212 Xq[i] = X[i]; in generate()
217 Xq[i] = Xq[i] + *Pointer<Int>(constants + OFFSET(Constants,Xf) + q * sizeof(int)); in generate()
241 Xq[n] = Xq[0]; in generate()
250 edge(primitive, data, Xq[i + 1 - d], Yq[i + 1 - d], Xq[i + d], Yq[i + d], q); in generate()
/third_party/node/deps/openssl/openssl/include/openssl/
H A Drsa.h272 const BIGNUM *Xq2, const BIGNUM *Xq,
H A Dbn.h388 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
/third_party/openssl/include/openssl/
H A Drsa.h272 const BIGNUM *Xq2, const BIGNUM *Xq,
H A Dbn.h388 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
/third_party/openssl/ohos_lite/include/openssl/
H A Dbn.h349 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
H A Drsa.h248 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp528 APInt Xq = Xtop; // these need to be initialized, even in intersectConstraints() local
530 APInt::sdivrem(Xtop, Xbot, Xq, Xr); in intersectConstraints()
539 LLVM_DEBUG(dbgs() << "\t\tX = " << Xq << ", Y = " << Yq << "\n"); in intersectConstraints()
540 if (Xq.slt(0) || Yq.slt(0)) { in intersectConstraints()
549 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints()
555 X->setPoint(SE->getConstant(Xq), in intersectConstraints()

Completed in 21 milliseconds