mbedtls/scripts/mbedtls_dev
Janos Follath b2a850c746 Bignum Tests: add test data
The goal of this commit is to add some constants that can be used to
define datasets and add test data in a more readable and reusable
manner.

All platforms using ECC need to support calculations with at least 192
bits, therefore constants for this length are added. We are not using a
curve prime as those will be tested elsewhere and it is better not to
play favourites.

All platforms using RSA or FFDH need to support calculations with at
least 1024 bits, therefore numbers of this size are added too.

A safe prime is added for both sizes as it makes all elements generators
(except 0 and 1 of course), which in turn makes some tests more
effective.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2022-11-21 08:56:14 +00: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 Bignum tests: add support for fixed width input 2022-11-21 08:56:14 +00:00
bignum_core.py Bignum test: remove type restrictrion 2022-11-21 08:56:14 +00:00
bignum_data.py Bignum Tests: add test data 2022-11-21 08:56:14 +00:00
bignum_mod.py Split test generator base class 2022-11-21 08:56:13 +00:00
bignum_mod_raw.py Bignum tests: improve mod descriptions 2022-11-21 08:56:14 +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 Make pylint happy 2022-11-21 08:56:14 +00:00
typing_util.py Do not require typing_extensions at runtime 2021-02-17 14:58:29 +01:00