Searched refs:mbedtls_mpi_sub_abs (Results 1 – 6 of 6) sorted by relevance
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_bignum.misc.data | 799 Base test mbedtls_mpi_sub_abs #1 (|B| > |A|) 802 Base test mbedtls_mpi_sub_abs #2 (|B| > |A|) 805 Base test mbedtls_mpi_sub_abs #3 (|B| > |A|) 808 Base test mbedtls_mpi_sub_abs #4 (|B| > |A|) 811 Base test mbedtls_mpi_sub_abs #1 (|B| >> |A| with more limbs) 814 Base test mbedtls_mpi_sub_abs #2 (|B| >> |A| with more limbs) 817 Base test mbedtls_mpi_sub_abs #3 (|B| >> |A| with more limbs) 820 Base test mbedtls_mpi_sub_abs #4 (|B| >> |A| with more limbs) 823 Base test mbedtls_mpi_sub_abs #1 826 Base test mbedtls_mpi_sub_abs #2 [all …]
|
D | test_suite_bignum.function | 667 TEST_ASSERT(mbedtls_mpi_sub_abs(&X, &X, &X) == 0); 777 res = mbedtls_mpi_sub_abs(&Z, &X, &Y); 785 TEST_ASSERT(mbedtls_mpi_sub_abs(&X, &X, &Y) == sub_result); 793 TEST_ASSERT(mbedtls_mpi_sub_abs(&Y, &X, &Y) == sub_result);
|
/mbedtls-3.7.0/library/ |
D | bignum.c | 1060 int mbedtls_mpi_sub_abs(mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B) in mbedtls_mpi_sub_abs() function 1121 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(X, A, B)); in add_sub_mpi() 1127 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(X, B, A)); in add_sub_mpi() 1801 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(&TA, &TA, &TB)); in mbedtls_mpi_gcd() 1804 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(&TB, &TB, &TA)); in mbedtls_mpi_gcd()
|
D | ecp.c | 1022 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(N, N, &grp->P)); in ecp_modp() 1097 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs((N), (N), &grp->P))
|
/mbedtls-3.7.0/include/mbedtls/ |
D | bignum.h | 710 int mbedtls_mpi_sub_abs(mbedtls_mpi *X, const mbedtls_mpi *A,
|
/mbedtls-3.7.0/ |
D | ChangeLog | 716 * Fix potential undefined behavior in mbedtls_mpi_sub_abs(). Reported by 1978 * Fix a buffer overflow in mbedtls_mpi_sub_abs() when calculating 1981 applications calling mbedtls_mpi_sub_abs() directly are affected: 2167 * Fix a memory leak in mbedtls_mpi_sub_abs() when the result was negative
|