/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_x931p.c | 48 * This is the main X9.31 prime derivation function. From parameters Xp1, Xp2 55 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, in BN_X931_derive_prime_ex() 85 if (!bn_x931_derive_pi(p2, Xp2, ctx, cb)) in BN_X931_derive_prime_ex() 213 * Xp2 only 'p' needs to be non-NULL. If any of the others are not NULL the 220 BIGNUM *Xp1, BIGNUM *Xp2, in BN_X931_generate_prime_ex() 229 if (Xp2 == NULL) in BN_X931_generate_prime_ex() 230 Xp2 = BN_CTX_get(ctx); in BN_X931_generate_prime_ex() 231 if (Xp1 == NULL || Xp2 == NULL) in BN_X931_generate_prime_ex() 236 if (!BN_priv_rand_ex(Xp2, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_X931_generate_prime_ex() 238 if (!BN_X931_derive_prime_ex(p, p1, p2, Xp, Xp1, Xp2, in BN_X931_generate_prime_ex() 53 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) BN_X931_derive_prime_ex() argument 219 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) BN_X931_generate_prime_ex() argument [all...] |
H A D | bn_rsa_fips186_4.c | 146 * Xp1, Xp2 Optional passed in values that are normally generated 157 const BIGNUM *Xp2, int nlen, in ossl_bn_rsa_fips186_4_gen_prob_primes() 173 Xp2i = (Xp2 != NULL) ? (BIGNUM *)Xp2 : BN_CTX_get(ctx); in ossl_bn_rsa_fips186_4_gen_prob_primes() 188 /* (Steps 4.1/5.1): Randomly generate Xp2 if it is not passed in */ in ossl_bn_rsa_fips186_4_gen_prob_primes() 189 if (Xp2 == NULL) { in ossl_bn_rsa_fips186_4_gen_prob_primes() 217 if (Xp2 == NULL) in ossl_bn_rsa_fips186_4_gen_prob_primes() 154 ossl_bn_rsa_fips186_4_gen_prob_primes(BIGNUM *p, BIGNUM *Xpout, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2, int nlen, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) ossl_bn_rsa_fips186_4_gen_prob_primes() argument
|
/third_party/openssl/crypto/bn/ |
H A D | bn_x931p.c | 48 * This is the main X9.31 prime derivation function. From parameters Xp1, Xp2 55 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, in BN_X931_derive_prime_ex() 85 if (!bn_x931_derive_pi(p2, Xp2, ctx, cb)) in BN_X931_derive_prime_ex() 213 * Xp2 only 'p' needs to be non-NULL. If any of the others are not NULL the 220 BIGNUM *Xp1, BIGNUM *Xp2, in BN_X931_generate_prime_ex() 229 if (Xp2 == NULL) in BN_X931_generate_prime_ex() 230 Xp2 = BN_CTX_get(ctx); in BN_X931_generate_prime_ex() 231 if (Xp1 == NULL || Xp2 == NULL) in BN_X931_generate_prime_ex() 236 if (!BN_priv_rand_ex(Xp2, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_X931_generate_prime_ex() 238 if (!BN_X931_derive_prime_ex(p, p1, p2, Xp, Xp1, Xp2, in BN_X931_generate_prime_ex() 53 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) BN_X931_derive_prime_ex() argument 219 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) BN_X931_generate_prime_ex() argument [all...] |
H A D | bn_rsa_fips186_4.c | 146 * Xp1, Xp2 Optional passed in values that are normally generated 157 const BIGNUM *Xp2, int nlen, in ossl_bn_rsa_fips186_4_gen_prob_primes() 173 Xp2i = (Xp2 != NULL) ? (BIGNUM *)Xp2 : BN_CTX_get(ctx); in ossl_bn_rsa_fips186_4_gen_prob_primes() 188 /* (Steps 4.1/5.1): Randomly generate Xp2 if it is not passed in */ in ossl_bn_rsa_fips186_4_gen_prob_primes() 189 if (Xp2 == NULL) { in ossl_bn_rsa_fips186_4_gen_prob_primes() 217 if (Xp2 == NULL) in ossl_bn_rsa_fips186_4_gen_prob_primes() 154 ossl_bn_rsa_fips186_4_gen_prob_primes(BIGNUM *p, BIGNUM *Xpout, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2, int nlen, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) ossl_bn_rsa_fips186_4_gen_prob_primes() argument
|
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 98 && !OSSL_PARAM_get_BN(p, &t->Xp2)) in ossl_rsa_acvp_test_set_params() 155 BN_free(t->Xp2); in ossl_rsa_acvp_test_free()
|
H A D | rsa_sp800_56b_gen.c | 36 * Xp1, Xp2 Optionally passed in randomly generated numbers from which 54 * Xp, Xp1, Xp2, Xq, Xq1, Xq2 are optionally passed in. 69 BIGNUM *Xp = NULL, *Xp1 = NULL, *Xp2 = NULL; in ossl_rsa_fips186_4_gen_prob_primes() local 75 Xp2 = test->Xp2; in ossl_rsa_fips186_4_gen_prob_primes() 125 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->p, Xpo, p1, p2, Xp, Xp1, Xp2, in ossl_rsa_fips186_4_gen_prob_primes()
|
H A D | rsa_x931g.c | 26 BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, in RSA_X931_derive_ex() 68 Xp, Xp1, Xp2, e, ctx, cb)) in RSA_X931_derive_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 D | rsa_local.h | 34 BIGNUM *Xp2; member
|
/third_party/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 98 && !OSSL_PARAM_get_BN(p, &t->Xp2)) in ossl_rsa_acvp_test_set_params() 155 BN_free(t->Xp2); in ossl_rsa_acvp_test_free()
|
H A D | rsa_sp800_56b_gen.c | 36 * Xp1, Xp2 Optionally passed in randomly generated numbers from which 54 * Xp, Xp1, Xp2, Xq, Xq1, Xq2 are optionally passed in. 69 BIGNUM *Xp = NULL, *Xp1 = NULL, *Xp2 = NULL; in ossl_rsa_fips186_4_gen_prob_primes() local 75 Xp2 = test->Xp2; in ossl_rsa_fips186_4_gen_prob_primes() 125 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->p, Xpo, p1, p2, Xp, Xp1, Xp2, in ossl_rsa_fips186_4_gen_prob_primes()
|
H A D | rsa_x931g.c | 26 BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, in RSA_X931_derive_ex() 68 Xp, Xp1, Xp2, e, ctx, cb)) in RSA_X931_derive_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 D | rsa_local.h | 34 BIGNUM *Xp2; member
|
/third_party/mbedtls/include/mbedtls/ |
H A D | ecjpake.h | 69 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp2); /**< Peer public key 2 C: X4, S: X2 */
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | bn.h | 104 const BIGNUM *Xp2, int nlen,
|
/third_party/openssl/include/crypto/ |
H A D | bn.h | 104 const BIGNUM *Xp2, int nlen,
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | bn.h | 353 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, 356 BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e,
|
H A D | rsa.h | 246 BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2,
|
/third_party/mbedtls/library/ |
H A D | ecjpake.c | 59 mbedtls_ecp_point_init(&ctx->Xp2); in mbedtls_ecjpake_init() 82 mbedtls_ecp_point_free(&ctx->Xp2); in mbedtls_ecjpake_free() 522 &ctx->Xp1, &ctx->Xp2, ID_PEER, in mbedtls_ecjpake_read_round_one() 674 * Unified: G = Xm1 + Xp1 + Xp2 | xm = xm2 * s | Xm = xm * G in mbedtls_ecjpake_write_round_two() 677 &ctx->Xp1, &ctx->Xp2, &ctx->Xm1)); in mbedtls_ecjpake_write_round_two() 742 * Unified: K = ( Xp - Xp2 * xm2 * s ) * xm2 in mbedtls_ecjpake_derive_k() 748 &m_xm2_s, &ctx->Xp2)); in mbedtls_ecjpake_derive_k()
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | bn.h | 393 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, 397 BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e,
|
H A D | rsa.h | 270 const BIGNUM *Xp1, const BIGNUM *Xp2,
|
/third_party/openssl/include/openssl/ |
H A D | bn.h | 393 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, 397 BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e,
|
H A D | rsa.h | 270 const BIGNUM *Xp1, const BIGNUM *Xp2,
|