/openssl/test/ |
H A D | ec_internal_test.c | 26 static int group_field_tests(const EC_GROUP *group, BN_CTX *ctx) in group_field_tests() 79 BN_CTX *ctx = NULL; in field_tests() 171 BN_CTX *ctx = NULL; in field_tests_default() 199 BN_CTX *ctx = NULL; in underflow_test() 438 static int check_bn_mont_ctx(BN_MONT_CTX *mont, BIGNUM *mod, BN_CTX *ctx) in check_bn_mont_ctx() 464 BN_CTX *ctx = NULL; in montgomery_correctness_test()
|
H A D | rsa_sp800_56b_test.c | 138 BN_CTX *ctx = NULL; in test_check_prime_factor_range() 184 BN_CTX *ctx = NULL; in test_check_prime_factor() 225 BN_CTX *ctx = NULL; in test_check_private_exponent() 286 BN_CTX *ctx = NULL; in test_check_crt_components() 360 BN_CTX *ctx = NULL; in test_derive_params_from_pq_fail() 414 BN_CTX *ctx = NULL; in test_invalid_keypair()
|
H A D | exptest.c | 51 BN_CTX *ctx = BN_CTX_new(); in test_mod_exp_zero() 153 BN_CTX *ctx; in test_mod_exp() 241 BN_CTX *ctx; in test_mod_exp_x2()
|
/openssl/crypto/ffc/ |
H A D | ffc_key_validate.c | 24 BN_CTX *ctx = NULL; in ossl_ffc_validate_public_key_partial() 67 BN_CTX *ctx = NULL; in ossl_ffc_validate_public_key()
|
H A D | ffc_params_validate.c | 23 int ossl_ffc_params_validate_unverifiable_g(BN_CTX *ctx, BN_MONT_CTX *mont, in ossl_ffc_params_validate_unverifiable_g() 166 BN_CTX *ctx; in ossl_ffc_params_full_validate()
|
H A D | ffc_params_generate.c | 95 static int generate_unverifiable_g(BN_CTX *ctx, BN_MONT_CTX *mont, BIGNUM *g, in generate_unverifiable_g() 132 static int generate_canonical_g(BN_CTX *ctx, BN_MONT_CTX *mont, in generate_canonical_g() 191 static int generate_p(BN_CTX *ctx, const EVP_MD *evpmd, int max_counter, int n, in generate_p() 313 static int generate_q_fips186_4(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, in generate_q_fips186_4() 386 static int generate_q_fips186_2(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, in generate_q_fips186_2() 527 BN_CTX *ctx = NULL; in ossl_ffc_params_FIPS186_4_gen_verify() 822 BN_CTX *ctx = NULL; in ossl_ffc_params_FIPS186_2_gen_verify()
|
H A D | ffc_key_generate.c | 22 int ossl_ffc_generate_private_key(BN_CTX *ctx, const FFC_PARAMS *params, in ossl_ffc_generate_private_key()
|
/openssl/doc/man3/ |
H A D | BN_mod_exp_mont.pod | 13 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont); 16 const BIGNUM *m, BN_CTX *ctx, 24 BN_CTX *ctx);
|
H A D | BN_mod_inverse.pod | 12 BN_CTX *ctx); 20 B<ctx> is a previously allocated B<BN_CTX> used for temporary
|
H A D | BN_generate_prime.pod | 16 BN_CTX *ctx); 21 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb); 46 void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg); 49 void (*callback)(int, int, void *), BN_CTX *ctx, 56 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); 58 int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, 64 at least bit length B<bits> using the BN_CTX provided in B<ctx>. The value of 153 B<ctx> is a preallocated B<BN_CTX> (to save the overhead of allocating and
|
H A D | BN_rand.pod | 15 unsigned int strength, BN_CTX *ctx); 19 unsigned int strength, BN_CTX *ctx); 23 BN_CTX *ctx); 27 BN_CTX *ctx);
|
H A D | RSA_blinding_on.pod | 15 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); 29 initialized B<BN_CTX>.
|
H A D | DSA_meth_new.pod | 43 int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))(DSA *, BN_CTX *,$ 45 int DSA_meth_set_sign_setup(DSA_METHOD *dsam, int (*sign_setup)(DSA *, BN_CTX *, 55 BIGNUM *m, BN_CTX *ctx, 60 BIGNUM *m, BN_CTX *ctx, 65 BN_CTX *ctx, BN_MONT_CTX *mont); 71 BN_CTX *ctx,
|
/openssl/crypto/rsa/ |
H A D | rsa_ossl.c | 33 BN_CTX *ctx); 38 BN_CTX *ctx); 105 BN_CTX *ctx = NULL; in rsa_ossl_public_encrypt() 210 static BN_BLINDING *rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx) in rsa_get_blinding() 265 BN_CTX *ctx) in rsa_blinding_convert() 289 BN_CTX *ctx) in rsa_blinding_invert() 310 BN_CTX *ctx = NULL; in rsa_ossl_private_encrypt() 526 BN_CTX *ctx = NULL; in rsa_ossl_private_decrypt() 712 BN_CTX *ctx = NULL; in rsa_ossl_public_decrypt() 804 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) in rsa_ossl_mod_exp() [all …]
|
H A D | rsa_sp800_56b_gen.c | 56 int nbits, const BIGNUM *e, BN_CTX *ctx, in ossl_rsa_fips186_4_gen_prob_primes() 238 const BIGNUM *e, BN_CTX *ctx) in ossl_rsa_sp800_56b_derive_params_from_pq() 370 BN_CTX *ctx = NULL; in ossl_rsa_sp800_56b_generate_key() 437 int ossl_rsa_sp800_56b_pairwise_test(RSA *rsa, BN_CTX *ctx) in ossl_rsa_sp800_56b_pairwise_test()
|
H A D | rsa_x931g.c | 31 BN_CTX *ctx = NULL, *ctx2 = NULL; in RSA_X931_derive_ex() 155 BN_CTX *ctx = NULL; in RSA_X931_generate_key_ex()
|
/openssl/crypto/dh/ |
H A D | dh_meth.c | 129 BN_CTX *, BN_MONT_CTX *) in DH_meth_get_bn_mod_exp() 136 const BIGNUM *, BN_CTX *, BN_MONT_CTX *)) in DH_meth_set_bn_mod_exp() argument
|
H A D | dh_check.c | 73 BN_CTX *ctx = NULL; in DH_check_params() 147 BN_CTX *ctx = NULL; in DH_check() 335 BN_CTX *ctx = NULL; in ossl_dh_check_pairwise()
|
H A D | dh_local.h | 51 const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
|
/openssl/include/openssl/ |
H A D | rsa.h | 382 OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); 384 OSSL_DEPRECATEDIN_3_0 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx); 538 RSA *rsa, BN_CTX *ctx); 542 BN_CTX *ctx)); 548 BN_CTX *ctx, 556 BN_CTX *ctx,
|
/openssl/crypto/bn/ |
H A D | bn_rsa_fips186_4.c | 133 BIGNUM *p1, BN_CTX *ctx, in bn_rsa_fips186_4_find_aux_prob_prime() 188 const BIGNUM *e, BN_CTX *ctx, in ossl_bn_rsa_fips186_4_gen_prob_primes() 278 BN_CTX *ctx, BN_GENCB *cb) in ossl_bn_rsa_fips186_4_derive_prime()
|
H A D | bn_s390x.c | 63 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in s390x_mod_exp() 132 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in s390x_mod_exp()
|
/openssl/crypto/ec/ |
H A D | ecp_s390x_nistp.c | 51 BN_CTX *ctx, unsigned int fc, int len) in ec_GFp_s390x_nistp_mul() 57 BN_CTX *new_ctx = NULL; in ec_GFp_s390x_nistp_mul() 230 BN_CTX *ctx; in ecdsa_s390x_nistp_verify_sig() 292 BN_CTX *ctx) \
|
H A D | ecp_sm2p256.c | 462 BIGNUM *x, BIGNUM *y, BN_CTX *ctx) in ecp_sm2p256_get_affine() 508 size_t num, BN_CTX *ctx) in ecp_sm2p256_windowed_mul() 571 const BIGNUM *scalars[], BN_CTX *ctx) in ecp_sm2p256_points_mul() 647 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in ecp_sm2p256_field_mul() 671 const BIGNUM *a, BN_CTX *ctx) in ecp_sm2p256_field_sqr() 693 const BIGNUM *x, BN_CTX *ctx) in ecp_sm2p256_inv_mod_ord()
|
/openssl/include/internal/ |
H A D | ffc.h | 186 int ossl_ffc_generate_private_key(BN_CTX *ctx, const FFC_PARAMS *params, 189 int ossl_ffc_params_validate_unverifiable_g(BN_CTX *ctx, BN_MONT_CTX *mont,
|