mbedtls/tests
Gilles Peskine 9a3cf3174d Add mpi_sub_abs negative tests with a larger-in-size second operand
Add test cases for mbedtls_mpi_sub_abs() where the second operand has
more limbs than the first operand (which, if the extra limbs are not
all zero, implies that the function returns
MBEDTLS_ERR_MPI_NEGATIVE_VALUE).

This exposes a buffer overflow (reported in #4042).

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-02-01 17:27:04 +01:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:10 +01:00
configs Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
data_files Merge branch 'mbedtls-2.16-restricted' into mbedtls-2.16.9r0-pr 2020-12-08 21:00:17 +00:00
git-scripts Fix license header in pre-commit hook 2020-08-19 17:54:47 +02:00
scripts Test SSL with non-deterministic ECDSA 2021-01-13 20:38:13 +01:00
suites Add mpi_sub_abs negative tests with a larger-in-size second operand 2021-02-01 17:27:04 +01:00
.gitignore
CMakeLists.txt Merge remote-tracking branch 'origin/pr/2293' into mbedtls-2.16 2019-03-05 16:31:02 +00:00
compat.sh Fix printf escape errors in shell scripts 2020-10-27 23:41:28 +01:00
Descriptions.txt
Makefile Merge remote-tracking branch 'origin/pr/2053' into mbedtls-2.16 2019-06-21 15:59:16 +01:00
ssl-opt.sh Fix printf escape errors in shell scripts 2020-10-27 23:41:28 +01:00