/openssl/doc/man3/ |
H A D | BN_BLINDING_new.pod | 18 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 D | BN_CTX_start.pod | 11 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 D | BN_mod_mul_reciprocal.pod | 16 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 D | EC_GROUP_new.pod | 35 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 D | bn_mod.c | 14 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 D | bn_x931p.c | 23 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 D | bn_recp.c | 43 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 D | bn_gf2m.c | 411 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 D | bn_depr.c | 47 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 D | bn_mont.c | 27 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 D | bn_gcd.c | 24 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 D | dsa_ossl.c | 29 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 D | dsa_key.c | 42 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 D | ec2_oct.c | 42 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 D | ecp_oct.c | 25 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 D | ec_cvt.c | 22 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 D | ec_key.c | 253 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 D | ec_deprecated.c | 24 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 D | ec_print.c | 18 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 D | ecdsa_ossl.c | 33 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 D | rsa_crpt.c | 70 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 D | rsa_sp800_56b_check.c | 24 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 D | rsa_meth.c | 168 (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 D | srp_lib.c | 80 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 D | dh_key.c | 32 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()
|