Home
last modified time | relevance | path

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

/mbedtls-3.5.0/tests/suites/
Dtest_suite_bignum.misc.data796 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 …]
Dtest_suite_bignum.function647 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/
Dbignum.h697 int mbedtls_mpi_sub_abs(mbedtls_mpi *X, const mbedtls_mpi *A,
/mbedtls-3.5.0/library/
Dbignum.c987 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()
Decp.c1023 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/
DChangeLog135 * 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