Home
last modified time | relevance | path

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

/mbedtls-3.4.0/tests/suites/
Dtest_suite_bignum.function932 res = mbedtls_mpi_div_int( &Q, &R, &X, input_Y );
1547 /* Test mbedtls_mpi_div_int(): (-p+1) / (-p) */
1549 TEST_EQUAL( mbedtls_mpi_div_int( &X, &R, &A, most_negative ), 0 );
1553 /* Test mbedtls_mpi_div_int(): (-p) / (-p) */
1555 TEST_EQUAL( mbedtls_mpi_div_int( &X, &R, &A, most_negative ), 0 );
1559 /* Test mbedtls_mpi_div_int(): (-2*p) / (-p) */
1561 TEST_EQUAL( mbedtls_mpi_div_int( &X, &R, &A, most_negative ), 0 );
1565 /* Test mbedtls_mpi_div_int(): (-2*p+1) / (-p) */
1567 TEST_EQUAL( mbedtls_mpi_div_int( &X, &R, &A, most_negative ), 0 );
1571 /* Test mbedtls_mpi_div_int(): (p-1) / (-p) */
[all …]
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
Dtest_suite_ecp.function836 TEST_EQUAL( mbedtls_mpi_div_int( &exp_A, NULL, &exp_A, 4 ), 0 );
/mbedtls-3.4.0/programs/pkey/
Ddh_genprime.c139 if( ( ret = mbedtls_mpi_div_int( &Q, NULL, &Q, 2 ) ) != 0 ) in main()
/mbedtls-3.4.0/include/mbedtls/
Dbignum.h826 int mbedtls_mpi_div_int( mbedtls_mpi *Q, mbedtls_mpi *R, const mbedtls_mpi *A,
/mbedtls-3.4.0/library/
Dbignum.c465 MBEDTLS_MPI_CHK( mbedtls_mpi_div_int( X, NULL, X, radix ) ); in mpi_write_hlp()
1405 int mbedtls_mpi_div_int( mbedtls_mpi *Q, mbedtls_mpi *R, in mbedtls_mpi_div_int() function