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 tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Add module for bignum_core test generation 2022-10-19 15:20:01 +01:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Add comment in compat.sh about callers 2022-04-14 09:21:56 +02:00
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
Makefile Add module for bignum_core test generation 2022-10-19 15:20:01 +01:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Merge pull request #6170 from yuhaoth/pr/tls13-cleanup-extensions-parser 2022-11-11 19:00:46 +00:00