Searched refs:mont (Results 1 – 7 of 7) sorted by relevance
/mbedtls-3.6.0/library/ |
D | bignum_mod.c | 70 if (N->rep.mont.rr != NULL) { in mbedtls_mpi_mod_modulus_free() 71 mbedtls_zeroize_and_free((mbedtls_mpi_uint *) N->rep.mont.rr, in mbedtls_mpi_mod_modulus_free() 73 N->rep.mont.rr = NULL; in mbedtls_mpi_mod_modulus_free() 75 N->rep.mont.mm = 0; in mbedtls_mpi_mod_modulus_free() 143 N->rep.mont.mm = mbedtls_mpi_core_montmul_init(N->p); in mbedtls_mpi_mod_modulus_setup() 144 ret = set_mont_const_square(&N->rep.mont.rr, N->p, N->limbs); in mbedtls_mpi_mod_modulus_setup() 210 N->rep.mont.rr, in mbedtls_mpi_mod_inv_mont() 231 Nmont.rep.mont.mm, Nmont.rep.mont.rr, in mbedtls_mpi_mod_inv_non_mont() 236 Nmont.rep.mont.rr, in mbedtls_mpi_mod_inv_non_mont() 242 Nmont.rep.mont.mm, working_memory); in mbedtls_mpi_mod_inv_non_mont()
|
D | bignum_mod_raw.c | 130 N->rep.mont.mm, T); in mbedtls_mpi_mod_raw_mul() 242 N->rep.mont.mm, N->rep.mont.rr, T); in mbedtls_mpi_mod_raw_to_mont_rep() 258 mbedtls_mpi_core_from_mont_rep(X, X, N->p, N->limbs, N->rep.mont.mm, T); in mbedtls_mpi_mod_raw_from_mont_rep()
|
D | bignum_mod.h | 128 mbedtls_mpi_mont_struct mont; member
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_bignum_mod.misc.data | 52 mbedtls_mpi_mod_inv 32-bit Mont. form - base case for negative testing, A = 1 (N, mont(A), mont(A^-… 68 mbedtls_mpi_mod_inv 64-bit Mont. form - base case for negative testing, A = 1 (N, mont(A), mont(A^-…
|
D | test_suite_bignum_mod_raw.function | 724 m.rep.mont.mm, m.rep.mont.rr, T); 731 m.rep.mont.mm, m.rep.mont.rr, T); 788 m.rep.mont.mm, T); 795 m.rep.mont.mm, T);
|
D | test_suite_bignum_mod.function | 71 TEST_ASSERT(m.rep.mont.rr != NULL); 72 TEST_ASSERT(m.rep.mont.mm != 0); 85 TEST_ASSERT(m.rep.mont.rr == NULL); 86 TEST_ASSERT(m.rep.mont.mm == 0);
|
D | test_suite_ecp.function | 1416 TEST_ASSERT(m.rep.mont.mm != 0); 1417 TEST_ASSERT(m.rep.mont.rr != NULL);
|