Home
last modified time | relevance | path

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

/third_party/mbedtls/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);
/third_party/mbedtls/include/mbedtls/
Dbignum.h697 int mbedtls_mpi_sub_abs(mbedtls_mpi *X, const mbedtls_mpi *A,
/third_party/mbedtls/library/
Dbignum.c989 int mbedtls_mpi_sub_abs(mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B) in mbedtls_mpi_sub_abs() function
1056 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(X, A, B)); in add_sub_mpi()
1062 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(X, B, A)); in add_sub_mpi()
2032 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(&TA, &TA, &TB)); in mbedtls_mpi_gcd()
2035 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))
/third_party/mbedtls/
DChangeLog143 * Fix potential undefined behavior in mbedtls_mpi_sub_abs(). Reported by
1405 * Fix a buffer overflow in mbedtls_mpi_sub_abs() when calculating
1408 applications calling mbedtls_mpi_sub_abs() directly are affected:
1594 * Fix a memory leak in mbedtls_mpi_sub_abs() when the result was negative