Home
last modified time | relevance | path

Searched refs:rr (Results 1 – 9 of 9) sorted by relevance

/mbedtls-latest/library/
Dbignum_mod.c70 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()
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()
Dbignum_mod.h111 mbedtls_mpi_uint const *rr; /* The residue for 2^{2*n*biL} mod N */ member
Dbignum_core.h781 const mbedtls_mpi_uint *rr,
Dbignum_mod_raw.c242 N->rep.mont.mm, N->rep.mont.rr, T); in mbedtls_mpi_mod_raw_to_mont_rep()
Dbignum_core.c1002 const mbedtls_mpi_uint *rr, in mbedtls_mpi_core_to_mont_rep() argument
1005 mbedtls_mpi_core_montmul(X, A, rr, AN_limbs, N, AN_limbs, mm, T); in mbedtls_mpi_core_to_mont_rep()
/mbedtls-latest/tests/suites/
Dtest_suite_bignum_mod.function71 TEST_ASSERT(m.rep.mont.rr != NULL);
85 TEST_ASSERT(m.rep.mont.rr == NULL);
Dtest_suite_bignum_mod_raw.function724 m.rep.mont.mm, m.rep.mont.rr, T);
731 m.rep.mont.mm, m.rep.mont.rr, T);
Dtest_suite_bignum_core.function998 /* rr is updated to a valid pointer */
1001 /* Calculated rr matches expected value */
Dtest_suite_ecp.function1701 TEST_ASSERT(m.rep.mont.rr != NULL);