Gilles Peskine c8a9177110 mbedtls_mpi_sub_abs: fix buffer overflow in error case
Fix a buffer overflow in mbedtls_mpi_sub_abs() when calculating
|A| - |B| where |B| is larger than |A| and has more limbs (so the
function should return MBEDTLS_ERR_MPI_NEGATIVE_VALUE).

Fix #4042

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-02-01 17:28:03 +01:00
..
2021-01-29 11:09:50 +01:00
2020-12-09 15:05:22 +00:00
2021-01-26 12:01:22 +01:00
2020-11-16 15:02:16 +01:00
2020-12-09 15:05:22 +00:00
2020-09-22 11:57:16 +02:00
2020-11-20 13:57:15 +01:00
2020-11-13 09:20:18 +00:00
2020-09-01 11:04:53 +02:00