2021-11-23 09:16:51 +00:00
|
|
|
@rem Generate automatically-generated configuration-independent source files
|
|
|
|
@rem and build scripts.
|
2024-05-12 19:38:07 +00:00
|
|
|
@rem Requirements:
|
|
|
|
@rem * Perl must be on the PATH ("perl" command).
|
|
|
|
@rem * Python 3.8 or above must be on the PATH ("python" command).
|
2024-05-12 19:38:16 +00:00
|
|
|
@rem * Either a C compiler called "cc" must be on the PATH, or
|
|
|
|
@rem the "CC" environment variable must point to a C compiler.
|
2024-05-12 19:38:07 +00:00
|
|
|
|
|
|
|
@rem @@@@ library\** @@@@
|
2023-09-12 03:14:54 +00:00
|
|
|
@rem psa_crypto_driver_wrappers.h needs to be generated prior to
|
2021-11-23 09:16:51 +00:00
|
|
|
@rem generate_visualc_files.pl being invoked.
|
2024-11-13 08:20:30 +00:00
|
|
|
python tf-psa-crypto\scripts\generate_driver_wrappers.py || exit /b 1
|
2021-11-23 09:16:51 +00:00
|
|
|
perl scripts\generate_errors.pl || exit /b 1
|
|
|
|
perl scripts\generate_query_config.pl || exit /b 1
|
|
|
|
perl scripts\generate_features.pl || exit /b 1
|
2024-10-07 16:40:21 +00:00
|
|
|
python framework\scripts\generate_ssl_debug_helpers.py || exit /b 1
|
2024-05-12 19:38:07 +00:00
|
|
|
|
|
|
|
@rem @@@@ Build @@@@
|
2021-11-23 09:16:51 +00:00
|
|
|
perl scripts\generate_visualc_files.pl || exit /b 1
|
2024-05-12 19:38:07 +00:00
|
|
|
|
|
|
|
@rem @@@@ programs\** @@@@
|
2024-11-05 06:43:36 +00:00
|
|
|
cd tf-psa-crypto
|
2021-05-06 07:55:44 +00:00
|
|
|
python scripts\generate_psa_constants.py || exit /b 1
|
2024-11-05 06:43:36 +00:00
|
|
|
cd ..
|
2024-05-12 19:38:07 +00:00
|
|
|
|
|
|
|
@rem @@@@ tests\** @@@@
|
2024-07-15 13:44:25 +00:00
|
|
|
python framework\scripts\generate_bignum_tests.py --directory tf-psa-crypto\tests\suites || exit /b 1
|
|
|
|
python framework\scripts\generate_config_tests.py tests\suites\test_suite_config.mbedtls_boolean.data || exit /b 1
|
|
|
|
python framework\scripts\generate_config_tests.py --directory tf-psa-crypto\tests\suites tests\suites\test_suite_config.psa_boolean.data || exit /b 1
|
|
|
|
python framework\scripts\generate_ecp_tests.py --directory tf-psa-crypto\tests\suites || exit /b 1
|
|
|
|
python framework\scripts\generate_psa_tests.py --directory tf-psa-crypto\tests\suites || exit /b 1
|
2024-12-09 08:10:51 +00:00
|
|
|
python framework\scripts\generate_test_keys.py --output framework\tests\include\test\test_keys.h || exit /b 1
|
2024-12-12 11:15:51 +00:00
|
|
|
python tf-psa-crypto\framework\scripts\generate_test_keys.py --output tf-psa-crypto\framework\tests\include\test\test_keys.h || exit /b 1
|
2024-05-29 16:57:08 +00:00
|
|
|
python framework\scripts\generate_test_cert_macros.py --output tests\src\test_certs.h || exit /b 1
|
2024-10-08 12:02:48 +00:00
|
|
|
python framework\scripts\generate_tls13_compat_tests.py || exit /b 1
|