mbedtls/tests
Gilles Peskine b20bbd1ddc 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 13:38:23 +01:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:57 +01:00
configs Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
data_files Merge branch 'mbedtls-2.7-restricted' into mbedtls-2.7.18r0-pr 2020-12-08 21:00:50 +00:00
git-scripts Fix license header in pre-commit hook 2020-08-20 09:27:07 +02:00
scripts Add a build with MBEDTLS_ERROR_STRERROR_DUMMY 2020-11-16 16:13:13 +01:00
suites Add mpi_sub_abs negative tests with a larger-in-size second operand 2021-02-01 13:38:23 +01:00
.gitignore
CMakeLists.txt Add a facility to skip running some test suites 2018-12-14 18:50:34 +01:00
compat.sh Fix printf escape errors in shell scripts 2020-10-27 23:48:40 +01:00
Descriptions.txt
Makefile Merge remote-tracking branch 'origin/pr/2320' into mbedtls-2.7 2019-06-21 15:55:21 +01:00
ssl-opt.sh Fix printf escape errors in shell scripts 2020-10-27 23:48:40 +01:00