Gilles Peskine f36d785188 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-06 13:12:06 +02:00
..
data_files Implement psa_generate_key_custom 2024-08-06 13:12:06 +02:00
abi_check.py Make abi_check.py look in both locations 2024-05-31 15:51:41 +01: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 update headers 2023-11-02 19:47:20 +00:00
ci.requirements.txt Update paths pointing to tests/data_files 2024-07-08 15:36:46 +01:00
code_size_compare.py Rename framework_path to framework_scripts_path 2024-05-13 14:44:37 +01:00
code_style.py Remove multi-type variable 2024-06-06 16:20:58 +01:00
common.make Show guidance if the framework is not found 2024-03-04 17:12:59 +01:00
config.pl update headers 2023-11-02 19:47:20 +00:00
config.py Recognize that a double-inclusion guard is not a config setting 2024-06-21 00:01: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:44:37 +01:00
generate_driver_wrappers.py Rename framework_path to framework_scripts_path 2024-05-13 14:44:37 +01:00
generate_errors.pl update headers 2023-11-02 19:47:20 +00:00
generate_features.pl update headers 2023-11-02 19:47:20 +00:00
generate_psa_constants.py Rename framework_path to framework_scripts_path 2024-05-13 14:44:37 +01:00
generate_query_config.pl update headers 2023-11-02 19:47:20 +00:00
generate_ssl_debug_helpers.py Merge pull request #9177 from ttytm/fix-typo-bp-3.6 2024-05-30 17:24:57 +00:00
generate_visualc_files.pl Update the MSBuild toolset versions to VS2017 2024-03-13 11:23:16 +01: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 Generate config test cases for single options 2024-06-21 00:01:20 +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:44:37 +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