mbedtls/tests
Gilles Peskine 35af02171d Add negative zero as an input to automatically generated tests
Although negative zero is officially unsupported, we've had bugs related to
it in the past. So do test functions with a negative zero input.

There will likely be cases where we don't want to accept negative zero as if
it was valid, because it's too hard to handle. We'll add exceptions on a
case by case basis.

For the functions that are currently tested by the generated tests, the new
test cases pass.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-11-15 20:47:07 +01:00
..
.jenkins
configs Always enable MBEDTLS_TEST_HOOKS in TLS 1.3-only test configurations 2022-10-29 17:48:20 +02:00
data_files Merge pull request #6454 from valeriosetti/issue4577 2022-11-15 09:39:07 +01:00
docker/bionic removed changed made to the test/bionic/Dockerfile 2022-09-17 22:20:33 +02:00
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Support negative zero as MPI test input 2022-11-15 20:47:07 +01:00
opt-testcases fix various issues 2022-11-09 22:43:31 +08:00
scripts Add negative zero as an input to automatically generated tests 2022-11-15 20:47:07 +01:00
src Support negative zero as MPI test input 2022-11-15 20:47:07 +01:00
suites Support negative zero as MPI test input 2022-11-15 20:47:07 +01:00
.gitignore
CMakeLists.txt Add module for bignum_core test generation 2022-10-19 15:20:01 +01:00
compat-in-docker.sh
compat.sh Add comment in compat.sh about callers 2022-04-14 09:21:56 +02:00
context-info.sh
Descriptions.txt
make-in-docker.sh
Makefile Add module for bignum_core test generation 2022-10-19 15:20:01 +01:00
ssl-opt-in-docker.sh
ssl-opt.sh Merge pull request #6170 from yuhaoth/pr/tls13-cleanup-extensions-parser 2022-11-11 19:00:46 +00:00