1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-25 12:41:56 +03:00

generate_test_keys: use keys from asymmetric_key_data.py

asymmetric_key_data.py already provides EC/RSA key pair values that
are suitable for generate_test_keys.py. So instead of re-generating
the keys using gen_key program, we use those keys.

This commit also:
- extends asymmetric_key_data.py to introduce
RSA bit sizes that are used in test_suite_pk but were missing from
asymmetric_key_data.py.
- updates test_keys.h with new keys.

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti
2024-04-09 12:28:39 +02:00
parent b9a3f79a2a
commit 7affeef725
5 changed files with 905 additions and 782 deletions

View File

@ -62,6 +62,7 @@ $PYTHON -m pylint scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || {
echo
echo 'Running mypy ...'
export MYPYPATH="../../scripts"
$PYTHON -m mypy scripts/*.py tests/scripts/*.py ||
ret=1