Lines Matching defs:mont
139 void BN_MONT_CTX_free(BN_MONT_CTX *mont) { in BN_MONT_CTX_free()
163 static int bn_mont_ctx_set_N_and_n0(BN_MONT_CTX *mont, const BIGNUM *mod) { in bn_mont_ctx_set_N_and_n0()
208 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_set()
237 BN_MONT_CTX *mont = BN_MONT_CTX_new(); in BN_MONT_CTX_new_for_modulus() local
247 BN_MONT_CTX *mont = BN_MONT_CTX_new(); in BN_MONT_CTX_new_consttime() local
283 int BN_to_montgomery(BIGNUM *ret, const BIGNUM *a, const BN_MONT_CTX *mont, in BN_to_montgomery()
289 size_t num_a, const BN_MONT_CTX *mont) { in bn_from_montgomery_in_place()
320 const BN_MONT_CTX *mont) { in BN_from_montgomery_word()
343 int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, const BN_MONT_CTX *mont, in BN_from_montgomery()
363 int bn_one_to_montgomery(BIGNUM *r, const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_one_to_montgomery()
385 const BN_MONT_CTX *mont, in bn_mod_mul_montgomery_fallback()
418 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_mul_montgomery()
448 int bn_less_than_montgomery_R(const BIGNUM *bn, const BN_MONT_CTX *mont) { in bn_less_than_montgomery_R()
454 const BN_MONT_CTX *mont) { in bn_to_montgomery_small()
459 const BN_MONT_CTX *mont) { in bn_from_montgomery_small()
474 const BN_MONT_CTX *mont) { in bn_mod_mul_montgomery_small()