Home
last modified time | relevance | path

Searched defs:mont (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c139 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()
[all …]
Dexponentiation.c588 const BIGNUM *m, BN_CTX *ctx, const BN_MONT_CTX *mont) { in BN_mod_exp_mont()
724 const BN_MONT_CTX *mont) { in bn_mod_exp_mont_small()
813 const BN_MONT_CTX *mont) { in bn_mod_inverse_prime_mont_small()
903 const BN_MONT_CTX *mont) { in BN_mod_exp_mont_consttime()
1227 const BN_MONT_CTX *mont) { in BN_mod_exp_mont_word()
1255 BN_CTX *ctx, const BN_MONT_CTX *mont) { in BN_mod_exp2_mont()
Dbn_test.cc623 bssl::UniquePtr<BN_MONT_CTX> mont( in TestModMul() local
692 bssl::UniquePtr<BN_MONT_CTX> mont( in TestModSquare() local
775 bssl::UniquePtr<BN_MONT_CTX> mont( in TestModExp() local
1523 bssl::UniquePtr<BN_MONT_CTX> mont( in TEST_F() local
2291 bssl::UniquePtr<BN_MONT_CTX> mont( in TEST_F() local
2392 bssl::UniquePtr<BN_MONT_CTX> mont( in TEST_F() local
2417 bssl::UniquePtr<BN_MONT_CTX> mont( in TEST_F() local
2473 bssl::UniquePtr<BN_MONT_CTX> mont( in TEST_F() local
Dgcd.c329 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_inverse_blinded()
Dprime.c649 BN_MONT_CTX *mont = NULL; in BN_primality_test() local
825 BN_MONT_CTX *mont = NULL; in BN_enhanced_miller_rabin_primality_test() local
/external/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.c171 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_blinding_update()
198 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_BLINDING_convert()
209 int BN_BLINDING_invert(BIGNUM *n, const BN_BLINDING *b, BN_MONT_CTX *mont, in BN_BLINDING_invert()
217 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_blinding_create_param()
/external/boringssl/src/crypto/dsa/
Ddsa.c206 BN_MONT_CTX *mont = NULL; in DSA_generate_parameters_ex() local
548 const BN_MONT_CTX *mont, BN_CTX *ctx) { in mod_mul_consttime()
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64_test.cc248 bssl::UniquePtr<BN_MONT_CTX> mont( in PointToAffine() local
Dinternal.h233 BN_MONT_CTX *mont; // Montgomery structure. member