b2a850c746
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> |
||
---|---|---|
.. | ||
__init__.py | ||
asymmetric_key_data.py | ||
bignum_common.py | ||
bignum_core.py | ||
bignum_data.py | ||
bignum_mod.py | ||
bignum_mod_raw.py | ||
build_tree.py | ||
c_build_helper.py | ||
crypto_knowledge.py | ||
macro_collector.py | ||
psa_storage.py | ||
test_case.py | ||
test_data_generation.py | ||
typing_util.py |