Searched refs:mbedtls_mpi_sub_abs (Results 1 – 6 of 6) sorted by relevance
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_bignum.misc.data | 796 Base test mbedtls_mpi_sub_abs #1 (|B| > |A|) 799 Base test mbedtls_mpi_sub_abs #2 (|B| > |A|) 802 Base test mbedtls_mpi_sub_abs #3 (|B| > |A|) 805 Base test mbedtls_mpi_sub_abs #4 (|B| > |A|) 808 Base test mbedtls_mpi_sub_abs #1 (|B| >> |A| with more limbs) 811 Base test mbedtls_mpi_sub_abs #2 (|B| >> |A| with more limbs) 814 Base test mbedtls_mpi_sub_abs #3 (|B| >> |A| with more limbs) 817 Base test mbedtls_mpi_sub_abs #4 (|B| >> |A| with more limbs) 820 Base test mbedtls_mpi_sub_abs #1 823 Base test mbedtls_mpi_sub_abs #2 [all …]
|
D | test_suite_bignum.function | 647 TEST_ASSERT(mbedtls_mpi_sub_abs(&X, &X, &X) == 0); 757 res = mbedtls_mpi_sub_abs(&Z, &X, &Y); 765 TEST_ASSERT(mbedtls_mpi_sub_abs(&X, &X, &Y) == sub_result); 773 TEST_ASSERT(mbedtls_mpi_sub_abs(&Y, &X, &Y) == sub_result);
|
/mbedtls-3.5.0/include/mbedtls/ |
D | bignum.h | 697 int mbedtls_mpi_sub_abs(mbedtls_mpi *X, const mbedtls_mpi *A,
|
/mbedtls-3.5.0/library/ |
D | bignum.c | 987 int mbedtls_mpi_sub_abs(mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B) in mbedtls_mpi_sub_abs() function 1054 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(X, A, B)); in add_sub_mpi() 1060 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(X, B, A)); in add_sub_mpi() 2030 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(&TA, &TA, &TB)); in mbedtls_mpi_gcd() 2033 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(&TB, &TB, &TA)); in mbedtls_mpi_gcd()
|
D | ecp.c | 1023 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(N, N, &grp->P)); in ecp_modp() 1105 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs((N), (N), &grp->P))
|
/mbedtls-3.5.0/ |
D | ChangeLog | 135 * Fix potential undefined behavior in mbedtls_mpi_sub_abs(). Reported by 1397 * Fix a buffer overflow in mbedtls_mpi_sub_abs() when calculating 1400 applications calling mbedtls_mpi_sub_abs() directly are affected: 1586 * Fix a memory leak in mbedtls_mpi_sub_abs() when the result was negative
|