/openssl/doc/man3/ |
H A D | BN_mod_mul_montgomery.pod | 13 BN_MONT_CTX *BN_MONT_CTX_new(void); 14 void BN_MONT_CTX_free(BN_MONT_CTX *mont); 16 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *m, BN_CTX *ctx); 17 BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from); 20 BN_MONT_CTX *mont, BN_CTX *ctx); 22 int BN_from_montgomery(BIGNUM *r, BIGNUM *a, BN_MONT_CTX *mont, 25 int BN_to_montgomery(BIGNUM *r, BIGNUM *a, BN_MONT_CTX *mont, 35 BN_MONT_CTX_new() allocates and initializes a B<BN_MONT_CTX> structure. 40 BN_MONT_CTX_copy() copies the B<BN_MONT_CTX> I<from> to I<to>. 42 BN_MONT_CTX_free() frees the components of the B<BN_MONT_CTX>, and, if [all …]
|
H A D | BN_mod_exp_mont.pod | 13 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont); 17 BN_MONT_CTX *in_mont); 21 BN_MONT_CTX *in_mont1, BIGNUM *rr2, 23 const BIGNUM *m2, BN_MONT_CTX *in_mont2,
|
H A D | BN_BLINDING_new.pod | 38 BN_MONT_CTX *m_ctx), 39 BN_MONT_CTX *m_ctx); 87 (normally BN_mod_exp_mont() and B<BN_MONT_CTX>).
|
H A D | DSA_meth_new.pod | 56 BN_MONT_CTX *in_mont); 61 BN_MONT_CTX *mont)); 65 BN_CTX *ctx, BN_MONT_CTX *mont); 72 BN_MONT_CTX *mont));
|
/openssl/crypto/bn/ |
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() 228 BN_MONT_CTX *BN_MONT_CTX_new(void) in BN_MONT_CTX_new() 230 BN_MONT_CTX *ret; in BN_MONT_CTX_new() 240 void BN_MONT_CTX_init(BN_MONT_CTX *ctx) in BN_MONT_CTX_init() 250 void BN_MONT_CTX_free(BN_MONT_CTX *mont) in BN_MONT_CTX_free() 261 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) in BN_MONT_CTX_set() 409 BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from) in BN_MONT_CTX_copy() 426 BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock, in BN_MONT_CTX_set_locked() 429 BN_MONT_CTX *ret; in BN_MONT_CTX_set_locked() [all …]
|
H A D | bn_blind.c | 24 BN_MONT_CTX *m_ctx; 26 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 239 BN_MONT_CTX *m_ctx), in BN_BLINDING_create_param() 240 BN_MONT_CTX *m_ctx) in BN_BLINDING_create_param()
|
H A D | bn_s390x.c | 72 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in s390x_mod_exp() 150 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in s390x_mod_exp()
|
H A D | bn_exp2.c | 18 BN_CTX *ctx, BN_MONT_CTX *in_mont) in BN_mod_exp2_mont() 27 BN_MONT_CTX *mont = NULL; in BN_mod_exp2_mont()
|
H A D | bn_exp.c | 313 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) in BN_mod_exp_mont() 321 BN_MONT_CTX *mont = NULL; in BN_mod_exp_mont() 611 BN_MONT_CTX *in_mont) in BN_mod_exp_mont_consttime() 615 BN_MONT_CTX *mont = NULL; in BN_mod_exp_mont_consttime() 1164 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) in BN_mod_exp_mont_word() 1166 BN_MONT_CTX *mont = NULL; in BN_mod_exp_mont_word() 1451 const BIGNUM *m1, BN_MONT_CTX *in_mont1, in BN_mod_exp_mont_consttime_x2() 1453 const BIGNUM *m2, BN_MONT_CTX *in_mont2, in BN_mod_exp_mont_consttime_x2() 1459 BN_MONT_CTX *mont1 = NULL; in BN_mod_exp_mont_consttime_x2() 1460 BN_MONT_CTX *mont2 = NULL; in BN_mod_exp_mont_consttime_x2()
|
/openssl/include/crypto/ |
H A D | bn.h | 75 BN_MONT_CTX *mont, BN_CTX *ctx); 76 int bn_to_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, 78 int bn_from_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, 133 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 139 int ossl_bn_mont_ctx_set(BN_MONT_CTX *ctx, const BIGNUM *modulus, int ri, 143 int ossl_bn_mont_ctx_eq(const BN_MONT_CTX *m1, const BN_MONT_CTX *m2);
|
/openssl/include/openssl/ |
H A D | bn.h | 314 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 317 BN_MONT_CTX *in_mont); 322 BN_CTX *ctx, BN_MONT_CTX *m_ctx); 408 BN_MONT_CTX *BN_MONT_CTX_new(void); 410 BN_MONT_CTX *mont, BN_CTX *ctx); 411 int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, 413 int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, 415 void BN_MONT_CTX_free(BN_MONT_CTX *mont); 417 BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from); 418 BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock, [all …]
|
H A D | dsa.h | 248 const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *); 252 BN_MONT_CTX *)); 255 BN_CTX *, BN_MONT_CTX *); 258 const BIGNUM *, BN_CTX *, BN_MONT_CTX *));
|
H A D | dh.h | 308 BN_MONT_CTX *); 314 BN_MONT_CTX *));
|
H A D | types.h | 99 typedef struct bn_mont_ctx_st BN_MONT_CTX; typedef
|
/openssl/crypto/dsa/ |
H A D | dsa_local.h | 26 BN_MONT_CTX *method_mont_p; 55 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont); 58 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
|
H A D | dsa_meth.c | 144 const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *) in DSA_meth_get_mod_exp() 152 BN_MONT_CTX *)) in DSA_meth_set_mod_exp() argument 160 BN_MONT_CTX *) in DSA_meth_get_bn_mod_exp() 167 const BIGNUM *, BN_CTX *, BN_MONT_CTX *)) in DSA_meth_set_bn_mod_exp() argument
|
/openssl/crypto/rsa/ |
H A D | rsa_local.h | 24 BN_MONT_CTX *m; 93 BN_MONT_CTX *_method_mod_n; 94 BN_MONT_CTX *_method_mod_p; 95 BN_MONT_CTX *_method_mod_q; 117 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
|
H A D | rsa_meth.c | 184 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in RSA_meth_get_bn_mod_exp() 195 BN_MONT_CTX *m_ctx)) in RSA_meth_set_bn_mod_exp()
|
/openssl/crypto/dh/ |
H A D | dh_local.h | 29 BN_MONT_CTX *method_mont_p; 52 BN_MONT_CTX *m_ctx);
|
H A D | dh_key.c | 32 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 43 BN_MONT_CTX *mont = NULL; in ossl_dh_compute_key() 191 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) in dh_bn_mod_exp() 234 BN_MONT_CTX *mont = NULL; in ossl_dh_generate_public_key() 247 BN_MONT_CTX **pmont = (BN_MONT_CTX **)&dh->method_mont_p; in ossl_dh_generate_public_key()
|
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
|
/openssl/crypto/ec/ |
H A D | ecp_mont.c | 147 BN_MONT_CTX *mont = NULL; in ossl_ec_GFp_mont_group_set_curve() 275 return BN_to_montgomery(r, a, (BN_MONT_CTX *)group->field_data1, ctx); in ossl_ec_GFp_mont_field_encode()
|
/openssl/crypto/ffc/ |
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() 527 BN_MONT_CTX *mont = NULL; in ossl_ffc_params_FIPS186_4_gen_verify() 818 BN_MONT_CTX *mont = NULL; in ossl_ffc_params_FIPS186_2_gen_verify()
|
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()
|
/openssl/include/internal/ |
H A D | ffc.h | 189 int ossl_ffc_params_validate_unverifiable_g(BN_CTX *ctx, BN_MONT_CTX *mont,
|