Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dmontgomery.c137 void BN_MONT_CTX_init(BN_MONT_CTX *mont) { in BN_MONT_CTX_init()
144 void BN_MONT_CTX_free(BN_MONT_CTX *mont) { in BN_MONT_CTX_free()
173 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_set()
328 int BN_to_montgomery(BIGNUM *ret, const BIGNUM *a, const BN_MONT_CTX *mont, in BN_to_montgomery()
422 static int BN_from_montgomery_word(BIGNUM *ret, BIGNUM *r, const BN_MONT_CTX *mont) in BN_from_montgomery_word()
499 int BN_from_montgomery(BIGNUM *ret, const BIGNUM *a, const BN_MONT_CTX *mont, in BN_from_montgomery()
519 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_mul_montgomery()
Dexponentiation.c612 BN_MONT_CTX *mont = NULL; in BN_mod_exp_mont() local
857 BN_MONT_CTX *mont = NULL; in BN_mod_exp_mont_consttime() local
1206 BN_MONT_CTX *mont = NULL; in BN_mod_exp_mont_word() local
1221 #define BN_TO_MONTGOMERY_WORD(r, w, mont) \ in BN_mod_exp_mont_word() argument
1372 BN_MONT_CTX *mont = NULL; in BN_mod_exp2_mont() local
Dprime.c480 BN_MONT_CTX *mont = NULL; in BN_is_prime_fasttest_ex() local
605 BN_MONT_CTX *mont) { in witness()
Dbn_test.cc893 ScopedBN_MONT_CTX mont(BN_MONT_CTX_new()); in test_mont() local
1156 ScopedBN_MONT_CTX mont(BN_MONT_CTX_new()); in test_mod_exp_mont5() local
/external/boringssl/src/crypto/dh/
Ddh_impl.c183 BN_MONT_CTX *mont = NULL; in generate_key() local
260 BN_MONT_CTX *mont = NULL; in compute_key() local
/external/boringssl/src/crypto/dsa/
Ddsa_impl.c288 BN_MONT_CTX *mont = NULL; in verify() local
459 BN_MONT_CTX *mont = NULL; in paramgen() local
/external/boringssl/src/crypto/ec/
Dec_montgomery.c182 BN_MONT_CTX *mont = NULL; in ec_GFp_mont_group_set_curve() local
Dinternal.h213 BN_MONT_CTX *mont; /* Montgomery structure. */ member