mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 09:21:19 +00:00
f9408282e8
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> |
||
---|---|---|
.. | ||
data_files | ||
abi_check.py | ||
apidoc_full.sh | ||
assemble_changelog.py | ||
basic.requirements.txt | ||
bump_version.sh | ||
ci.requirements.txt | ||
code_size_compare.py | ||
code_style.py | ||
common.make | ||
config.pl | ||
config.py | ||
driver.requirements.txt | ||
ecc-heap.sh | ||
ecp_comb_table.py | ||
footprint.sh | ||
framework_scripts_path.py | ||
generate_driver_wrappers.py | ||
generate_errors.pl | ||
generate_features.pl | ||
generate_psa_constants.py | ||
generate_query_config.pl | ||
generate_ssl_debug_helpers.py | ||
generate_visualc_files.pl | ||
lcov.sh | ||
maintainer.requirements.txt | ||
make_generated_files.bat | ||
massif_max.pl | ||
memory.sh | ||
min_requirements.py | ||
output_env.sh | ||
prepare_release.sh | ||
tmp_ignore_makefiles.sh | ||
windows_msbuild.bat |