Home
last modified time | relevance | path

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

/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_bignum.function887 res = mbedtls_mpi_div_int(&Q, &R, &X, input_Y);
1298 /* Test mbedtls_mpi_div_int(): (-p+1) / (-p) */
1300 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1304 /* Test mbedtls_mpi_div_int(): (-p) / (-p) */
1306 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1310 /* Test mbedtls_mpi_div_int(): (-2*p) / (-p) */
1312 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1316 /* Test mbedtls_mpi_div_int(): (-2*p+1) / (-p) */
1318 TEST_EQUAL(mbedtls_mpi_div_int(&X, &R, &A, most_negative), 0);
1322 /* Test mbedtls_mpi_div_int(): (p-1) / (-p) */
[all …]
H A Dtest_suite_bignum.misc.data1171 Base test mbedtls_mpi_div_int #1
1174 Base test mbedtls_mpi_div_int #2 (Divide by zero)
1177 Base test mbedtls_mpi_div_int #3
1180 Test mbedtls_mpi_div_int #1
1183 Test mbedtls_mpi_div_int #2
1186 Test mbedtls_mpi_div_int: 0 (null) / 0
1189 Test mbedtls_mpi_div_int: 0 (1 limb) / 0
1192 Test mbedtls_mpi_div_int: 0 (null) / 1
H A Dtest_suite_ecp.function850 TEST_EQUAL(mbedtls_mpi_div_int(&exp_A, NULL, &exp_A, 4), 0);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A 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 …]
H A 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
H A Dtest_suite_ecp.function862 TEST_EQUAL(mbedtls_mpi_div_int(&exp_A, NULL, &exp_A, 4), 0);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/pkey/
H A Ddh_genprime.c122 if ((ret = mbedtls_mpi_div_int(&Q, NULL, &Q, 2)) != 0) { in main()
/aosp_15_r20/external/mbedtls/programs/pkey/
H A Ddh_genprime.c122 if ((ret = mbedtls_mpi_div_int(&Q, NULL, &Q, 2)) != 0) { in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dbignum.h840 int mbedtls_mpi_div_int(mbedtls_mpi *Q, mbedtls_mpi *R, const mbedtls_mpi *A,
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dbignum.h840 int mbedtls_mpi_div_int(mbedtls_mpi *Q, mbedtls_mpi *R, const mbedtls_mpi *A,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A 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
/aosp_15_r20/external/mbedtls/library/
H A Dbignum.c605 MBEDTLS_MPI_CHK(mbedtls_mpi_div_int(X, NULL, X, radix)); in mpi_write_hlp()
1568 int mbedtls_mpi_div_int(mbedtls_mpi *Q, mbedtls_mpi *R, in mbedtls_mpi_div_int() function