Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_div_int (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_bignum.function907 res = mbedtls_mpi_div_int(&Q, &R, &X, input_Y);
1357 /* Test mbedtls_mpi_div_int(): (-p+1) / (-p) */
1359 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1363 /* Test mbedtls_mpi_div_int(): (-p) / (-p) */
1365 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1369 /* Test mbedtls_mpi_div_int(): (-2*p) / (-p) */
1371 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1375 /* Test mbedtls_mpi_div_int(): (-2*p+1) / (-p) */
1377 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1381 /* Test mbedtls_mpi_div_int(): (p-1) / (-p) */
[all …]
Dtest_suite_bignum.misc.data1174 Base test mbedtls_mpi_div_int #1
1177 Base test mbedtls_mpi_div_int #2 (Divide by zero)
1180 Base test mbedtls_mpi_div_int #3
1183 Test mbedtls_mpi_div_int #1
1186 Test mbedtls_mpi_div_int #2
1189 Test mbedtls_mpi_div_int: 0 (null) / 0
1192 Test mbedtls_mpi_div_int: 0 (1 limb) / 0
1195 Test mbedtls_mpi_div_int: 0 (null) / 1
Dtest_suite_ecp.function862 TEST_EQUAL(mbedtls_mpi_div_int(&exp_A, NULL, &exp_A, 4), 0);
/openthread-latest/third_party/mbedtls/repo/programs/pkey/
Ddh_genprime.c122 if ((ret = mbedtls_mpi_div_int(&Q, NULL, &Q, 2)) != 0) { in main()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dbignum.h840 int mbedtls_mpi_div_int(mbedtls_mpi *Q, mbedtls_mpi *R, const mbedtls_mpi *A,
/openthread-latest/third_party/mbedtls/repo/library/
Dbignum.c590 MBEDTLS_MPI_CHK(mbedtls_mpi_div_int(X, NULL, X, radix)); in mpi_write_hlp()
1515 int mbedtls_mpi_div_int(mbedtls_mpi *Q, mbedtls_mpi *R, in mbedtls_mpi_div_int() function