mbedtls/scripts/mbedtls_dev
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
..
__init__.py Documentation typo 2022-09-29 18:48:41 +02:00
asymmetric_key_data.py Add key material for twisted Edwards curves 2021-03-29 15:08:10 +02:00
bignum_common.py Add negative zero as an input to automatically generated tests 2022-11-15 20:47:07 +01:00
bignum_core.py Make pylint happy 2022-11-02 17:28:39 +00:00
bignum_mod.py Fix bignum test generator class names 2022-11-03 08:42:54 +00:00
bignum_mod_raw.py bignum_mod_raw.py: Added BignumModRawConvertfromMont 2022-11-12 13:21:31 +00:00
build_tree.py Unify check_repo_path 2022-09-18 21:17:09 +02:00
c_build_helper.py Tweak MSVC detection to work with non-English Visual Studio 2021-06-22 11:26:19 +02:00
crypto_knowledge.py Merge pull request #6296 from gilles-peskine-arm/test_data_generation-pr_6093_followup 2022-10-18 13:38:28 +01:00
macro_collector.py Fix invalid argument enumeration when there are >=3 arguments 2022-04-15 11:10:14 +02:00
psa_storage.py Use relative imports when importing other modules in the same directory 2022-09-17 10:38:58 +02:00
test_case.py Replace the output file atomically 2022-10-04 15:10:00 +02:00
test_data_generation.py Add module for bignum_core test generation 2022-10-19 15:20:01 +01:00
typing_util.py Do not require typing_extensions at runtime 2021-02-17 14:58:29 +01:00