Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_core_uint_le_mpi (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_bignum_core.misc.data245 Test mbedtls_mpi_core_uint_le_mpi: 0 (1 limb)
248 Test mbedtls_mpi_core_uint_le_mpi: 0 (>=2 limbs)
251 Test mbedtls_mpi_core_uint_le_mpi: 1 (1 limb)
254 Test mbedtls_mpi_core_uint_le_mpi: 1 (>=2 limbs)
257 Test mbedtls_mpi_core_uint_le_mpi: 42 (1 limb)
260 Test mbedtls_mpi_core_uint_le_mpi: 42 (>=2 limbs)
263 Test mbedtls_mpi_core_uint_le_mpi: 2^31-1
266 Test mbedtls_mpi_core_uint_le_mpi: 2^31-1 with leading zero limb
269 Test mbedtls_mpi_core_uint_le_mpi: 2^32-1
272 Test mbedtls_mpi_core_uint_le_mpi: 2^32-1 with leading zero limb
[all …]
Dtest_suite_bignum_core.function357 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi(0, A, A_limbs), 1);
358 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi(A[0], A, A_limbs), 1);
361 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi(A[0] + 1,
363 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi((mbedtls_mpi_uint) (-1) >> 1,
365 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi((mbedtls_mpi_uint) (-1),
368 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi(A[0] + 1,
371 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi((mbedtls_mpi_uint) (-1) >> 1,
374 TEST_EQUAL(mbedtls_mpi_core_uint_le_mpi((mbedtls_mpi_uint) (-1),
/third_party/mbedtls/library/
Dbignum_core.h144 unsigned mbedtls_mpi_core_uint_le_mpi(mbedtls_mpi_uint min,
Dbignum_core.c138 unsigned mbedtls_mpi_core_uint_le_mpi(mbedtls_mpi_uint min, in mbedtls_mpi_core_uint_le_mpi() function
624 ge_lower = mbedtls_mpi_core_uint_le_mpi(min, X, limbs); in mbedtls_mpi_core_random()