Home
last modified time | relevance | path

Searched refs:BN_MONT_CTX (Results 1 – 25 of 42) sorted by relevance

12

/openssl/doc/man3/
H A DBN_mod_mul_montgomery.pod13 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 DBN_mod_exp_mont.pod13 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 DBN_BLINDING_new.pod38 BN_MONT_CTX *m_ctx),
39 BN_MONT_CTX *m_ctx);
87 (normally BN_mod_exp_mont() and B<BN_MONT_CTX>).
H A DDSA_meth_new.pod56 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 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()
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 Dbn_blind.c24 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 Dbn_s390x.c72 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 Dbn_exp2.c18 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 Dbn_exp.c313 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 Dbn.h75 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 Dbn.h314 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 Ddsa.h248 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 Ddh.h308 BN_MONT_CTX *);
314 BN_MONT_CTX *));
H A Dtypes.h99 typedef struct bn_mont_ctx_st BN_MONT_CTX; typedef
/openssl/crypto/dsa/
H A Ddsa_local.h26 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 Ddsa_meth.c144 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 Drsa_local.h24 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 Drsa_meth.c184 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 Ddh_local.h29 BN_MONT_CTX *method_mont_p;
52 BN_MONT_CTX *m_ctx);
H A Ddh_key.c32 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 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
/openssl/crypto/ec/
H A Decp_mont.c147 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 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()
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 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()
/openssl/include/internal/
H A Dffc.h189 int ossl_ffc_params_validate_unverifiable_g(BN_CTX *ctx, BN_MONT_CTX *mont,

Completed in 49 milliseconds

12