/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 54 const BIGNUM *Xp, const BIGNUM *Xp1, in BN_X931_derive_prime_ex() 82 if (!bn_x931_derive_pi(p1, Xp1, ctx, cb)) in BN_X931_derive_prime_ex() 212 * Generate primes using X9.31 algorithm. Of the values p, p1, p2, Xp1 and 220 BIGNUM *Xp1, BIGNUM *Xp2, in BN_X931_generate_prime_ex() 227 if (Xp1 == NULL) in BN_X931_generate_prime_ex() 228 Xp1 = BN_CTX_get(ctx); in BN_X931_generate_prime_ex() 231 if (Xp1 == NULL || Xp2 == NULL) in BN_X931_generate_prime_ex() 234 if (!BN_priv_rand_ex(Xp1, 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, Xp 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 | 97 * Xp1 The passed in starting point to find a probably prime. 98 * p1 The returned probable prime (first odd integer >= Xp1) 103 static int bn_rsa_fips186_4_find_aux_prob_prime(const BIGNUM *Xp1, in bn_rsa_fips186_4_find_aux_prob_prime() argument 111 if (BN_copy(p1, Xp1) == NULL) in bn_rsa_fips186_4_find_aux_prob_prime() 115 /* Find the first odd number >= Xp1 that is probably prime */ in bn_rsa_fips186_4_find_aux_prob_prime() 146 * Xp1, Xp2 Optional passed in values that are normally generated 156 const BIGNUM *Xp, const BIGNUM *Xp1, in ossl_bn_rsa_fips186_4_gen_prob_primes() 172 Xp1i = (Xp1 != NULL) ? (BIGNUM *)Xp1 : BN_CTX_get(ctx); in ossl_bn_rsa_fips186_4_gen_prob_primes() 181 /* (Steps 4.1/5.1): Randomly generate Xp1 i 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 [all...] |
/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 54 const BIGNUM *Xp, const BIGNUM *Xp1, in BN_X931_derive_prime_ex() 82 if (!bn_x931_derive_pi(p1, Xp1, ctx, cb)) in BN_X931_derive_prime_ex() 212 * Generate primes using X9.31 algorithm. Of the values p, p1, p2, Xp1 and 220 BIGNUM *Xp1, BIGNUM *Xp2, in BN_X931_generate_prime_ex() 227 if (Xp1 == NULL) in BN_X931_generate_prime_ex() 228 Xp1 = BN_CTX_get(ctx); in BN_X931_generate_prime_ex() 231 if (Xp1 == NULL || Xp2 == NULL) in BN_X931_generate_prime_ex() 234 if (!BN_priv_rand_ex(Xp1, 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, Xp 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 | 97 * Xp1 The passed in starting point to find a probably prime. 98 * p1 The returned probable prime (first odd integer >= Xp1) 103 static int bn_rsa_fips186_4_find_aux_prob_prime(const BIGNUM *Xp1, in bn_rsa_fips186_4_find_aux_prob_prime() argument 111 if (BN_copy(p1, Xp1) == NULL) in bn_rsa_fips186_4_find_aux_prob_prime() 115 /* Find the first odd number >= Xp1 that is probably prime */ in bn_rsa_fips186_4_find_aux_prob_prime() 146 * Xp1, Xp2 Optional passed in values that are normally generated 156 const BIGNUM *Xp, const BIGNUM *Xp1, in ossl_bn_rsa_fips186_4_gen_prob_primes() 172 Xp1i = (Xp1 != NULL) ? (BIGNUM *)Xp1 : BN_CTX_get(ctx); in ossl_bn_rsa_fips186_4_gen_prob_primes() 181 /* (Steps 4.1/5.1): Randomly generate Xp1 i 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 [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 95 && !OSSL_PARAM_get_BN(p, &t->Xp1)) in ossl_rsa_acvp_test_set_params() 154 BN_free(t->Xp1); 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 74 Xp1 = test->Xp1; 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 | 33 BIGNUM *Xp1; member
|
/third_party/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 95 && !OSSL_PARAM_get_BN(p, &t->Xp1)) in ossl_rsa_acvp_test_set_params() 154 BN_free(t->Xp1); 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 74 Xp1 = test->Xp1; 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 | 33 BIGNUM *Xp1; member
|
/third_party/mbedtls/include/mbedtls/ |
H A D | ecjpake.h | 68 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp1); /**< Peer public key 1 C: X3, S: X1 */
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | bn.h | 103 const BIGNUM *Xp, const BIGNUM *Xp1,
|
/third_party/openssl/include/crypto/ |
H A D | bn.h | 103 const BIGNUM *Xp, const BIGNUM *Xp1,
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | bn.h | 352 const BIGNUM *Xp, const BIGNUM *Xp1, 355 int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
|
H A D | rsa.h | 246 BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2,
|
/third_party/mbedtls/library/ |
H A D | ecjpake.c | 58 mbedtls_ecp_point_init(&ctx->Xp1); in mbedtls_ecjpake_init() 81 mbedtls_ecp_point_free(&ctx->Xp1); in mbedtls_ecjpake_free() 522 &ctx->Xp1, &ctx->Xp2, ID_PEER, in mbedtls_ecjpake_read_round_one() 582 * Unified: G = Xm1 + Xm2 + Xp1 in mbedtls_ecjpake_read_round_two() 586 &ctx->Xm1, &ctx->Xm2, &ctx->Xp1)); in mbedtls_ecjpake_read_round_two() 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()
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | bn.h | 392 const BIGNUM *Xp, const BIGNUM *Xp1, 396 int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
|
H A D | rsa.h | 270 const BIGNUM *Xp1, const BIGNUM *Xp2,
|
/third_party/openssl/include/openssl/ |
H A D | bn.h | 392 const BIGNUM *Xp, const BIGNUM *Xp1, 396 int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
|
H A D | rsa.h | 270 const BIGNUM *Xp1, const BIGNUM *Xp2,
|