mbedtls/scripts
Gilles Peskine f9408282e8 Implement psa_generate_key_custom
Implement `psa_generate_key_custom()` and
`psa_key_derivation_output_key_custom()`. These functions replace
`psa_generate_key_ext()` and `psa_key_derivation_output_key_ext()`.
They have the same functionality, but a slightly different interface:
the `ext` functions use a structure with a flexible array member to pass
variable-length data, while the `custom` functions use a separate parameter.

Keep the `ext` functions for backward compatibility with Mbed TLS 3.6.0.
But make them a thin wrapper around the new `custom` functions.

Duplicate the test code and data. The test cases have to be duplicated
anyway, and the test functions are individually more readable this way.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-08-05 15:49:22 +02:00
..
data_files Implement psa_generate_key_custom 2024-08-05 15:49:22 +02:00
abi_check.py Adapt abi_check.py 2024-07-19 10:07:27 +02:00
apidoc_full.sh
assemble_changelog.py
basic.requirements.txt
bump_version.sh Adapt bump_version.sh 2024-07-19 10:07:27 +02:00
ci.requirements.txt Update paths pointing to tests/data_files 2024-07-05 15:49:03 +01:00
code_size_compare.py Adjust more paths to PSA headers 2024-06-13 09:51:20 +02:00
code_style.py Adapt code_style.py 2024-07-19 10:07:27 +02:00
common.make common.make: Use dedicated env variable 2024-07-10 08:10:40 +02:00
config.pl
config.py Remove sanity check for None value 2024-07-25 11:00:20 +02:00
driver.requirements.txt
ecc-heap.sh
ecp_comb_table.py
footprint.sh
framework_scripts_path.py
generate_driver_wrappers.py Adapt check-generated-files.sh 2024-07-10 08:10:37 +02:00
generate_errors.pl Adjust build systems 2024-07-10 08:07:38 +02:00
generate_features.pl Adjust build systems 2024-07-10 08:07:38 +02:00
generate_psa_constants.py Adjust build systems 2024-06-13 09:02:24 +02:00
generate_query_config.pl Adjust build systems 2024-06-13 09:02:24 +02:00
generate_ssl_debug_helpers.py Merge pull request #9155 from ttytm/fix-typo 2024-05-30 17:24:55 +00:00
generate_visualc_files.pl Adjust build systems 2024-07-10 08:10:40 +02:00
lcov.sh
maintainer.requirements.txt
make_generated_files.bat Adapt make_generated_files.bat 2024-07-19 10:07:27 +02:00
massif_max.pl
memory.sh
min_requirements.py
output_env.sh
prepare_release.sh
tmp_ignore_makefiles.sh
windows_msbuild.bat