Home
last modified time | relevance | path

Searched refs:int_rep (Results 1 – 7 of 7) sorted by relevance

/mbedtls-latest/library/
Dbignum_mod.c59 N->int_rep = MBEDTLS_MPI_MOD_REP_INVALID; in mbedtls_mpi_mod_modulus_init()
68 switch (N->int_rep) { in mbedtls_mpi_mod_modulus_free()
87 N->int_rep = MBEDTLS_MPI_MOD_REP_INVALID; in mbedtls_mpi_mod_modulus_free()
129 mbedtls_mpi_mod_rep_selector int_rep) in standard_modulus_setup() argument
134 N->int_rep = int_rep; in standard_modulus_setup()
273 switch (N->int_rep) { in mbedtls_mpi_mod_inv()
364 if (N->int_rep == MBEDTLS_MPI_MOD_REP_MONTGOMERY) { in mbedtls_mpi_mod_write()
385 if (N->int_rep == MBEDTLS_MPI_MOD_REP_MONTGOMERY && in mbedtls_mpi_mod_write()
Dbignum_mod_raw.c127 switch (N->int_rep) { in mbedtls_mpi_mod_raw_mul()
194 switch (N->int_rep) { in mbedtls_mpi_mod_raw_canonical_to_modulus_rep()
208 switch (N->int_rep) { in mbedtls_mpi_mod_raw_modulus_to_canonical_rep()
Dbignum_mod.h125 mbedtls_mpi_mod_rep_selector int_rep; // selector to signal the active member of the union member
/mbedtls-latest/tests/src/
Dbignum_helpers.c80 mbedtls_mpi_mod_rep_selector int_rep) in mbedtls_test_read_mpi_modulus() argument
92 switch (int_rep) { in mbedtls_test_read_mpi_modulus()
/mbedtls-latest/tests/include/test/
Dbignum_helpers.h64 mbedtls_mpi_mod_rep_selector int_rep);
/mbedtls-latest/tests/suites/
Dtest_suite_bignum_mod.function43 void mpi_mod_setup(int int_rep, int iret)
54 switch (int_rep) {
69 if (ret == 0 && int_rep == MBEDTLS_MPI_MOD_REP_MONTGOMERY) {
83 if (ret == 0 && int_rep == MBEDTLS_MPI_MOD_REP_MONTGOMERY) {
Dtest_suite_ecp.function1693 TEST_ASSERT(m.int_rep != MBEDTLS_MPI_MOD_REP_INVALID);
1698 if (m.int_rep == MBEDTLS_MPI_MOD_REP_MONTGOMERY) {