Home
last modified time | relevance | path

Searched refs:int_rep (Results 1 - 5 of 5) sorted by relevance

/third_party/mbedtls/library/
H A 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()
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()
126 standard_modulus_setup(mbedtls_mpi_mod_modulus *N, const mbedtls_mpi_uint *p, size_t p_limbs, mbedtls_mpi_mod_rep_selector int_rep) standard_modulus_setup() argument
H A 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()
H A Dbignum_mod.h39 * specified by the \c int_rep field of the modulus.
125 mbedtls_mpi_mod_rep_selector int_rep; // selector to signal the active member of the union member
127 /* if int_rep == #MBEDTLS_MPI_MOD_REP_MONTGOMERY */
129 /* if int_rep == #MBEDTLS_MPI_MOD_REP_OPT_RED */
141 * and interpreted according to the value of the `N->int_rep` field.
154 * indicated by `N->int_rep`.
232 * \note Currently handles the case when `N->int_rep` is
388 * based on the value of the `N->int_rep` field.
420 * based on the value of `N->int_rep` field.
/third_party/mbedtls/tests/src/
H A Dbignum_helpers.c80 mbedtls_mpi_mod_rep_selector int_rep) in mbedtls_test_read_mpi_modulus()
92 switch (int_rep) { in mbedtls_test_read_mpi_modulus()
78 mbedtls_test_read_mpi_modulus(mbedtls_mpi_mod_modulus *N, const char *s, mbedtls_mpi_mod_rep_selector int_rep) mbedtls_test_read_mpi_modulus() argument
/third_party/mbedtls/tests/include/test/
H A Dbignum_helpers.h58 * \param int_rep The desired representation of residues.
64 mbedtls_mpi_mod_rep_selector int_rep);

Completed in 3 milliseconds