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 update headers 2023-11-02 19:47:20 +00:00
assemble_changelog.py Remove leftover code from initial changelog support 2023-12-04 14:37:31 +01:00
basic.requirements.txt Add requirement on Jinja to integrate drivers 2021-11-17 19:27:45 +01:00
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 update headers 2023-11-02 19:47:20 +00:00
config.py Remove sanity check for None value 2024-07-25 11:00:20 +02:00
driver.requirements.txt Set explicit version for the typing packages 2023-09-25 10:25:18 +02:00
ecc-heap.sh update headers 2023-11-02 19:47:20 +00:00
ecp_comb_table.py update headers 2023-11-02 19:47:20 +00:00
footprint.sh update headers 2023-11-02 19:47:20 +00:00
framework_scripts_path.py Rename framework_path to framework_scripts_path 2024-05-13 14:43:38 +01:00
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 Work around a bug in ancient lcov 2024-03-13 17:19:17 +01:00
maintainer.requirements.txt move asn1crypto to ci.requirements.txt 2023-10-24 15:42:30 +08:00
make_generated_files.bat Adapt make_generated_files.bat 2024-07-19 10:07:27 +02:00
massif_max.pl update headers 2023-11-02 19:47:20 +00:00
memory.sh update headers 2023-11-02 19:47:20 +00:00
min_requirements.py Rename framework_path to framework_scripts_path 2024-05-13 14:43:38 +01:00
output_env.sh update headers 2023-11-02 19:47:20 +00:00
prepare_release.sh prepare_release: sed querry change to strip whitespace 2023-11-22 14:23:12 +00:00
tmp_ignore_makefiles.sh update headers 2023-11-02 19:47:20 +00:00
windows_msbuild.bat Rename solution files to referece VS2017 2024-03-13 11:23:16 +01:00