Home
last modified time | relevance | path

Searched refs:BN_CTX (Results 26 – 50 of 145) sorted by relevance

123456

/openssl/doc/man3/
H A DBN_BLINDING_new.pod18 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx);
19 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
20 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
22 BN_CTX *ctx);
24 BN_CTX *ctx);
32 const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
37 BN_CTX *ctx,
H A DBN_CTX_start.pod11 void BN_CTX_start(BN_CTX *ctx);
13 BIGNUM *BN_CTX_get(BN_CTX *ctx);
15 void BN_CTX_end(BN_CTX *ctx);
20 a B<BN_CTX> (which can been created by using L<BN_CTX_new(3)>)
H A DBN_mod_mul_reciprocal.pod16 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *m, BN_CTX *ctx);
19 BN_CTX *ctx);
22 BN_RECP_CTX *recp, BN_CTX *ctx);
30 previously allocated B<BN_CTX> used for temporary variables.
H A DEC_GROUP_new.pod35 const char *propq, BN_CTX *bnctx);
41 const BIGNUM *b, BN_CTX *ctx);
43 const BIGNUM *b, BN_CTX *ctx);
49 const BIGNUM *b, BN_CTX *ctx);
51 BN_CTX *ctx);
69 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
71 BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
73 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
75 BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
118 I<bnctx> is an optional preallocated BN_CTX (to save the overhead of allocating
/openssl/crypto/bn/
H A Dbn_mod.c14 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod()
35 BN_CTX *ctx) in BN_mod_add()
115 BN_CTX *ctx) in BN_mod_sub()
207 BN_CTX *ctx) in BN_mod_mul()
235 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_sqr()
243 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_lshift1()
266 BN_CTX *ctx) in BN_mod_lshift()
H A Dbn_x931p.c23 static int bn_x931_derive_pi(BIGNUM *pi, const BIGNUM *Xpi, BN_CTX *ctx, in bn_x931_derive_pi()
55 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, in BN_X931_derive_prime_ex()
162 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx) in BN_X931_generate_Xpq()
222 const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) in BN_X931_generate_prime_ex()
H A Dbn_recp.c43 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx) in BN_RECP_CTX_set()
54 BN_RECP_CTX *recp, BN_CTX *ctx) in BN_mod_mul_reciprocal()
83 BN_RECP_CTX *recp, BN_CTX *ctx) in BN_div_recp()
172 int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx) in BN_reciprocal()
H A Dbn_gf2m.c411 const int p[], BN_CTX *ctx) in BN_GF2m_mod_mul_arr()
466 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_mul()
493 BN_CTX *ctx) in BN_GF2m_mod_sqr_arr()
777 BN_CTX *ctx) in BN_GF2m_mod_inv_arr()
802 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_div()
835 const int p[], BN_CTX *ctx) in BN_GF2m_mod_div_arr()
863 const int p[], BN_CTX *ctx) in BN_GF2m_mod_exp_arr()
909 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_exp()
939 BN_CTX *ctx) in BN_GF2m_mod_sqrt_arr()
1001 BN_CTX *ctx) in BN_GF2m_mod_solve_quad_arr()
[all …]
H A Dbn_depr.c47 void (*callback) (int, int, void *), BN_CTX *ctx_passed, in BN_is_prime()
57 BN_CTX *ctx_passed, void *cb_arg, in BN_is_prime_fasttest()
H A Dbn_mont.c27 BN_MONT_CTX *mont, BN_CTX *ctx) in BN_mod_mul_montgomery()
38 BN_MONT_CTX *mont, BN_CTX *ctx) in bn_mul_mont_fixed_top()
163 BN_CTX *ctx) in BN_from_montgomery()
175 BN_CTX *ctx) in bn_from_mont_fixed_top()
223 BN_CTX *ctx) in bn_to_mont_fixed_top()
261 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) in BN_MONT_CTX_set()
427 const BIGNUM *mod, BN_CTX *ctx) in BN_MONT_CTX_set_locked()
H A Dbn_gcd.c24 BN_CTX *ctx, int *pnoinv) in bn_mod_inverse_no_branch()
199 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx, in int_bn_mod_inverse()
517 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx) in BN_mod_inverse()
519 BN_CTX *new_ctx = NULL; in BN_mod_inverse()
549 int BN_are_coprime(BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in BN_are_coprime()
581 int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx) in BN_gcd()
/openssl/crypto/dsa/
H A Ddsa_ossl.c29 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
31 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
40 BN_CTX *ctx);
82 BN_CTX *ctx = NULL; in ossl_dsa_do_sign_int()
210 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, in dsa_sign_setup_no_digest()
217 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, in dsa_sign_setup()
223 BN_CTX *ctx = NULL; in dsa_sign_setup()
358 BN_CTX *ctx; in dsa_do_verify()
484 BN_CTX *ctx) in dsa_mod_inverse_fermat()
H A Ddsa_key.c42 int ossl_dsa_generate_public_key(BN_CTX *ctx, const DSA *dsa, in ossl_dsa_generate_public_key()
75 static int dsa_keygen_knownanswer_test(DSA *dsa, BN_CTX *ctx, in dsa_keygen_knownanswer_test()
150 BN_CTX *ctx = NULL; in dsa_keygen()
/openssl/crypto/ec/
H A Dec2_oct.c42 BN_CTX *ctx) in ossl_ec_GF2m_simple_set_compressed_coordinates()
47 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_set_compressed_coordinates()
128 unsigned char *buf, size_t len, BN_CTX *ctx) in ossl_ec_GF2m_simple_point2oct()
135 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_point2oct()
258 BN_CTX *ctx) in ossl_ec_GF2m_simple_oct2point()
266 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_oct2point()
H A Decp_oct.c25 BN_CTX *ctx) in ossl_ec_GFp_simple_set_compressed_coordinates()
27 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_set_compressed_coordinates()
161 unsigned char *buf, size_t len, BN_CTX *ctx) in ossl_ec_GFp_simple_point2oct()
164 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_point2oct()
276 BN_CTX *ctx) in ossl_ec_GFp_simple_oct2point()
280 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_oct2point()
H A Dec_cvt.c22 const BIGNUM *b, BN_CTX *ctx) in EC_GROUP_new_curve_GFp()
71 const BIGNUM *b, BN_CTX *ctx) in EC_GROUP_new_curve_GF2m()
H A Dec_key.c253 static int ecdsa_keygen_knownanswer_test(EC_KEY *eckey, BN_CTX *ctx, in ecdsa_keygen_knownanswer_test()
310 BN_CTX *ctx = BN_CTX_secure_new_ex(eckey->libctx); in ec_generate_key()
450 BN_CTX *ctx = BN_CTX_new_ex(eckey->libctx); in ossl_ec_key_simple_generate_public_key()
493 static int ec_key_public_range_check(BN_CTX *ctx, const EC_KEY *key) in ec_key_public_range_check()
561 int ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx) in ossl_ec_key_public_check()
624 int ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx) in ossl_ec_key_pairwise_check()
670 BN_CTX *ctx = NULL; in ossl_ec_key_simple_check_key()
696 BN_CTX *ctx = NULL; in EC_KEY_set_public_key_affine_coordinates()
930 int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) in EC_KEY_precompute_mult()
963 unsigned char **pbuf, BN_CTX *ctx) in EC_KEY_key2buf()
[all …]
H A Dec_deprecated.c24 BIGNUM *ret, BN_CTX *ctx) in EC_POINT_point2bn()
42 const BIGNUM *bn, EC_POINT *point, BN_CTX *ctx) in EC_POINT_bn2point()
H A Dec_print.c18 point_conversion_form_t form, BN_CTX *ctx) in EC_POINT_point2hex()
44 const char *hex, EC_POINT *point, BN_CTX *ctx) in EC_POINT_hex2point()
H A Decdsa_ossl.c33 static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in,
39 int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, in ossl_ecdsa_sign_setup()
132 static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, in ecdsa_sign_setup()
138 BN_CTX *ctx = NULL; in ecdsa_sign_setup()
263 int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, in ossl_ecdsa_simple_sign_setup()
278 BN_CTX *ctx = NULL; in ossl_ecdsa_simple_sign_sig()
448 BN_CTX *ctx; in ossl_ecdsa_simple_verify_sig()
/openssl/crypto/rsa/
H A Drsa_crpt.c70 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) in RSA_blinding_on()
89 const BIGNUM *q, BN_CTX *ctx) in rsa_get_public_exp()
116 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx) in RSA_setup_blinding()
119 BN_CTX *ctx; in RSA_setup_blinding()
H A Drsa_sp800_56b_check.c24 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx) in ossl_rsa_check_crt_components()
88 int ossl_rsa_check_prime_factor_range(const BIGNUM *p, int nbits, BN_CTX *ctx) in ossl_rsa_check_prime_factor_range()
136 int ossl_rsa_check_prime_factor(BIGNUM *p, BIGNUM *e, int nbits, BN_CTX *ctx) in ossl_rsa_check_prime_factor()
175 int ossl_rsa_check_private_exponent(const RSA *rsa, int nbits, BN_CTX *ctx) in ossl_rsa_check_private_exponent()
265 int ossl_rsa_get_lcm(BN_CTX *ctx, const BIGNUM *p, const BIGNUM *q, in ossl_rsa_get_lcm()
285 BN_CTX *ctx = NULL;
378 BN_CTX *ctx = NULL;
H A Drsa_meth.c168 (BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx) in RSA_meth_get_mod_exp()
175 BN_CTX *ctx)) in RSA_meth_set_mod_exp()
184 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in RSA_meth_get_bn_mod_exp()
194 BN_CTX *ctx, in RSA_meth_set_bn_mod_exp()
/openssl/crypto/srp/
H A Dsrp_lib.c80 BN_CTX *bn_ctx; in SRP_Calc_server_key()
111 BN_CTX *bn_ctx; in SRP_Calc_B_ex()
198 BN_CTX *bn_ctx; in SRP_Calc_A()
218 BN_CTX *bn_ctx; in SRP_Calc_client_key_ex()
269 BN_CTX *bn_ctx; in SRP_Verify_B_mod_N()
/openssl/crypto/dh/
H A Ddh_key.c32 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
42 BN_CTX *ctx = NULL; in ossl_dh_compute_key()
191 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in dh_bn_mod_exp()
229 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, in ossl_dh_generate_public_key()
272 BN_CTX *ctx = NULL; in generate_key()

Completed in 68 milliseconds

123456