Home
last modified time | relevance | path

Searched refs:BN_CTX (Results 51 – 75 of 145) sorted by relevance

123456

/openssl/test/
H A Dec_internal_test.c26 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 Drsa_sp800_56b_test.c138 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 Dexptest.c51 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 Dffc_key_validate.c24 BN_CTX *ctx = NULL; in ossl_ffc_validate_public_key_partial()
67 BN_CTX *ctx = NULL; in ossl_ffc_validate_public_key()
H A Dffc_params_validate.c23 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 Dffc_params_generate.c95 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 Dffc_key_generate.c22 int ossl_ffc_generate_private_key(BN_CTX *ctx, const FFC_PARAMS *params, in ossl_ffc_generate_private_key()
/openssl/doc/man3/
H A DBN_mod_exp_mont.pod13 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont);
16 const BIGNUM *m, BN_CTX *ctx,
24 BN_CTX *ctx);
H A DBN_mod_inverse.pod12 BN_CTX *ctx);
20 B<ctx> is a previously allocated B<BN_CTX> used for temporary
H A DBN_generate_prime.pod16 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 DBN_rand.pod15 unsigned int strength, BN_CTX *ctx);
19 unsigned int strength, BN_CTX *ctx);
23 BN_CTX *ctx);
27 BN_CTX *ctx);
H A DRSA_blinding_on.pod15 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
29 initialized B<BN_CTX>.
H A DDSA_meth_new.pod43 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 Drsa_ossl.c33 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 Drsa_sp800_56b_gen.c56 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 Drsa_x931g.c31 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 Ddh_meth.c129 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 Ddh_check.c73 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 Ddh_local.h51 const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
/openssl/include/openssl/
H A Drsa.h382 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 Dbn_rsa_fips186_4.c133 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 Dbn_s390x.c63 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 Decp_s390x_nistp.c51 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 Decp_sm2p256.c462 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 Dffc.h186 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,

Completed in 71 milliseconds

123456