mbedtls/scripts
Gilles Peskine c81393b2ed generate/derive key ext: pass method_data_length rather than method_length
Instead of passing the size of the whole structure, just pass the data
length and let the implementation worry about adding the size of the
structure. The intent with passing the structure size was to allow
the client code in a client-server implementation to know nothing
about the structure and just copy the bytes to the server. But that was not
really a useful consideration since the application has to know the
structure layout, so it has to be available in the client implementation's
headers. Passing the method data length makes life simpler for everyone by
not having to worry about possible padding at the end of the structure, and
removes a potential error condition
(method_length < sizeof(psa_key_generation_method_t)).

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-15 11:57:48 +01:00
..
data_files generate/derive key ext: pass method_data_length rather than method_length 2024-02-15 11:57:48 +01:00
mbedtls_dev tests: add guards for DH groups 2024-01-17 15:57:06 +01:00
abi_check.py update headers 2023-11-02 19:47:20 +00: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 move asn1crypto to ci.requirements.txt 2023-10-24 15:42:30 +08:00
code_size_compare.py Merge remote-tracking branch 'origin/development' into adjust_tfm_configs 2023-11-08 10:00:24 +08:00
code_style.py update headers 2023-11-02 19:47:20 +00:00
common.make Enable common.make to be included by programs/fuzz 2024-01-05 21:04:59 +00:00
config.pl update headers 2023-11-02 19:47:20 +00:00
config.py Add MBEDTLS_SSL_RECORD_SIZE_LIMIT to full config 2024-01-10 16:17:28 +00: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
generate_driver_wrappers.py Use existing variable containing full path 2023-12-08 09:47:48 +00: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 update headers 2023-11-02 19:47:20 +00:00
generate_query_config.pl update headers 2023-11-02 19:47:20 +00:00
generate_ssl_debug_helpers.py Introduce guess_mbedtls_root 2023-11-30 17:27:42 +00:00
generate_visualc_files.pl programs/test/metatest indirectly includes library/common.h 2023-11-06 20:33:19 +01:00
lcov.sh Remove further extraneous whitespace in lcov script 2023-11-14 12:03:10 +00:00
maintainer.requirements.txt move asn1crypto to ci.requirements.txt 2023-10-24 15:42:30 +08:00
make_generated_files.bat Change comments to psa_crypto_driver_wrappers.h 2023-09-26 09:09:20 +00: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 update headers 2023-11-02 19:47:20 +00: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 VS2010 directory to VS2013 and update Makefiles etc 2023-01-11 18:56:11 +00:00