1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

fix "make generated_files" for test_keys.h and test_certs.h

This also add the check in tests/scripts/check-generated-files.sh

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti
2024-04-11 11:50:46 +02:00
parent 52516a6a86
commit 96daf67701
4 changed files with 40 additions and 4 deletions

View File

@ -13,3 +13,35 @@ python scripts\generate_psa_constants.py || exit /b 1
python tests\scripts\generate_bignum_tests.py || exit /b 1
python tests\scripts\generate_ecp_tests.py || exit /b 1
python tests\scripts\generate_psa_tests.py || exit /b 1
python tests\scripts\generate_test_keys.py --output tests\src\test_keys.h || exit /b 1
python tests\scripts\generate_test_cert_macros.py --output tests\src\test_certs.h ^
--string TEST_CA_CRT_EC_PEM=tests\data_files\test-ca2.crt ^
--binary TEST_CA_CRT_EC_DER=tests\data_files\test-ca2.crt.der ^
--string TEST_CA_KEY_EC_PEM=tests\data_files\test-ca2.key.enc ^
--password TEST_CA_PWD_EC_PEM=PolarSSLTest ^
--binary TEST_CA_KEY_EC_DER=tests\data_files\test-ca2.key.der ^
--string TEST_CA_CRT_RSA_SHA256_PEM=tests\data_files\test-ca-sha256.crt ^
--binary TEST_CA_CRT_RSA_SHA256_DER=tests\data_files\test-ca-sha256.crt.der ^
--string TEST_CA_CRT_RSA_SHA1_PEM=tests\data_files\test-ca-sha1.crt ^
--binary TEST_CA_CRT_RSA_SHA1_DER=tests\data_files\test-ca-sha1.crt.der ^
--string TEST_CA_KEY_RSA_PEM=tests\data_files\test-ca.key ^
--password TEST_CA_PWD_RSA_PEM=PolarSSLTest ^
--binary TEST_CA_KEY_RSA_DER=tests\data_files\test-ca.key.der ^
--string TEST_SRV_CRT_EC_PEM=tests\data_files\server5.crt ^
--binary TEST_SRV_CRT_EC_DER=tests\data_files\server5.crt.der ^
--string TEST_SRV_KEY_EC_PEM=tests\data_files\server5.key ^
--binary TEST_SRV_KEY_EC_DER=tests\data_files\server5.key.der ^
--string TEST_SRV_CRT_RSA_SHA256_PEM=tests\data_files\server2-sha256.crt ^
--binary TEST_SRV_CRT_RSA_SHA256_DER=tests\data_files\server2-sha256.crt.der ^
--string TEST_SRV_CRT_RSA_SHA1_PEM=tests\data_files\server2.crt ^
--binary TEST_SRV_CRT_RSA_SHA1_DER=tests\data_files\server2.crt.der ^
--string TEST_SRV_KEY_RSA_PEM=tests\data_files\server2.key ^
--binary TEST_SRV_KEY_RSA_DER=tests\data_files\server2.key.der ^
--string TEST_CLI_CRT_EC_PEM=tests\data_files\cli2.crt ^
--binary TEST_CLI_CRT_EC_DER=tests\data_files\cli2.crt.der ^
--string TEST_CLI_KEY_EC_PEM=tests\data_files\cli2.key ^
--binary TEST_CLI_KEY_EC_DER=tests\data_files\cli2.key.der ^
--string TEST_CLI_CRT_RSA_PEM=tests\data_files\cli-rsa-sha256.crt ^
--binary TEST_CLI_CRT_RSA_DER=tests\data_files\cli-rsa-sha256.crt.der ^
--string TEST_CLI_KEY_RSA_PEM=tests\data_files\cli-rsa.key ^
--binary TEST_CLI_KEY_RSA_DER=tests\data_files\cli-rsa.key.der || exit /b 1