Searched refs:mont (Results 1 – 4 of 4) sorted by relevance
/mbedtls-3.4.0/library/ |
D | bignum_mod.c | 79 if (m->rep.mont.rr != NULL) in mbedtls_mpi_mod_modulus_free() 81 mbedtls_platform_zeroize( (mbedtls_mpi_uint *) m->rep.mont.rr, in mbedtls_mpi_mod_modulus_free() 83 mbedtls_free( (mbedtls_mpi_uint *)m->rep.mont.rr ); in mbedtls_mpi_mod_modulus_free() 84 m->rep.mont.rr = NULL; in mbedtls_mpi_mod_modulus_free() 86 m->rep.mont.mm = 0; in mbedtls_mpi_mod_modulus_free() 151 m->rep.mont.mm = mbedtls_mpi_core_montmul_init( m->p ); in mbedtls_mpi_mod_modulus_setup() 152 ret = set_mont_const_square( &m->rep.mont.rr, m->p, m->limbs ); in mbedtls_mpi_mod_modulus_setup()
|
D | bignum_mod_raw.c | 160 mbedtls_mpi_core_montmul( X, X, m->rep.mont.rr, m->limbs, m->p, m->limbs, in mbedtls_mpi_mod_raw_to_mont_rep() 161 m->rep.mont.mm, T ); in mbedtls_mpi_mod_raw_to_mont_rep() 179 m->rep.mont.mm, T ); in mbedtls_mpi_mod_raw_from_mont_rep()
|
D | bignum_mod.h | 70 mbedtls_mpi_mont_struct mont; member
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_bignum_mod.function | 73 TEST_ASSERT( m.rep.mont.rr != NULL ); 74 TEST_ASSERT( m.rep.mont.mm != 0 ); 88 TEST_ASSERT( m.rep.mont.rr == NULL ); 89 TEST_ASSERT( m.rep.mont.mm == 0 );
|