Lines Matching refs:mbedtls_mpi_uint
27 mbedtls_mpi_uint *p, in mbedtls_mpi_mod_residue_setup()
71 mbedtls_zeroize_and_free((mbedtls_mpi_uint *) N->rep.mont.rr, in mbedtls_mpi_mod_modulus_free()
72 N->limbs * sizeof(mbedtls_mpi_uint)); in mbedtls_mpi_mod_modulus_free()
90 static int set_mont_const_square(const mbedtls_mpi_uint **X, in set_mont_const_square()
91 const mbedtls_mpi_uint *A, in set_mont_const_square()
110 memcpy(N.p, A, sizeof(mbedtls_mpi_uint) * limbs); in set_mont_const_square()
127 const mbedtls_mpi_uint *p, in standard_modulus_setup()
138 const mbedtls_mpi_uint *p, in mbedtls_mpi_mod_modulus_setup()
154 const mbedtls_mpi_uint *p, in mbedtls_mpi_mod_optred_modulus_setup()
176 mbedtls_mpi_uint *T = mbedtls_calloc(N->limbs * 2 + 1, ciL); in mbedtls_mpi_mod_mul()
205 mbedtls_mpi_uint *working_memory) in mbedtls_mpi_mod_inv_mont()
218 mbedtls_mpi_uint *working_memory) in mbedtls_mpi_mod_inv_non_mont()
265 mbedtls_mpi_uint *working_memory = mbedtls_calloc(working_limbs, in mbedtls_mpi_mod_inv()
266 sizeof(mbedtls_mpi_uint)); in mbedtls_mpi_mod_inv()
286 working_limbs * sizeof(mbedtls_mpi_uint)); in mbedtls_mpi_mod_inv()
306 mbedtls_mpi_uint min, in mbedtls_mpi_mod_random()
361 mbedtls_mpi_uint *working_memory = r->p; in mbedtls_mpi_mod_write()
362 size_t working_memory_len = sizeof(mbedtls_mpi_uint) * r->limbs; in mbedtls_mpi_mod_write()
366 working_memory = mbedtls_calloc(r->limbs, sizeof(mbedtls_mpi_uint)); in mbedtls_mpi_mod_write()