mbedtls/tests
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
..
.jenkins
configs Header updates 2023-11-03 12:21:36 +00:00
data_files Merge remote-tracking branch 'upstream/development' into pkcs5_aes_new 2024-02-08 14:26:29 +00:00
docker/bionic Header updates 2023-11-03 12:21:36 +00:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include Merge pull request #8755 from ronald-cron-arm/tls13-client-early-data-status 2024-02-13 20:36:42 +00:00
opt-testcases Merge pull request #8717 from valeriosetti/issue8030 2024-02-07 10:06:03 +00:00
scripts Merge pull request #8734 from valeriosetti/issue8564 2024-02-14 13:43:40 +00:00
src Merge pull request #8755 from ronald-cron-arm/tls13-client-early-data-status 2024-02-13 20:36:42 +00:00
suites generate/derive key ext: pass method_data_length rather than method_length 2024-02-15 11:57:48 +01:00
.gitignore Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
CMakeLists.txt Refactor common PThreads CMake code 2024-01-24 18:05:53 +00:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Merge pull request #8462 from daverodgman/license-change 2023-11-04 15:47:07 +01:00
context-info.sh Header updates 2023-11-03 12:21:36 +00:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Unify MBEDTLS_TEST_OBJS 2024-01-02 23:11:24 +01:00
ssl-opt-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
ssl-opt.sh ssl-opt: add DH groups requirements in test cases using FFDH 2024-01-18 09:47:00 +01:00