mbedtls/tests
Manuel Pégourié-Gonnard ec7012dbc7 Fix I/O format of PSA EC J-PAKE for compliance
The format used by the mbedtls_ecjpake_xxx() APIs and that defined by
the PSA Crypto PAKE extension are quite different; the former is
tailored to the needs of TLS while the later is quite generic and plain.
Previously we only addressed some part of this impedance mismatch: the
different number of I/O rounds, but failed to address the part where the
legacy API adds some extras (length bytes, ECParameters) that shouldn't
be present in the PSA Crypto version. See comments in the code.

Add some length testing as well; would have caught the issue.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-10-05 12:52:48 +02:00
..
.jenkins
configs Remove use_psa_crypto in test scripts 2022-03-22 15:13:35 +08:00
data_files Finalize client side code for psk 2022-09-23 01:48:26 +00:00
docker/bionic Jinja2 prerequisite set up on the docker 2021-12-18 13:29:10 +05:30
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Correct copyright and license in crypto_spe.h 2022-09-12 17:57:32 +01:00
opt-testcases Fix the description of psk client cases 2022-09-28 07:50:13 +00:00
scripts Merge pull request #6083 from tom-cosgrove-arm/issue-6015-montgomery-multiplication 2022-09-30 10:35:21 +02:00
src Make legacy_or_psa.h public. 2022-09-16 12:02:48 +02:00
suites Fix I/O format of PSA EC J-PAKE for compliance 2022-10-05 12:52:48 +02:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Add test_generation.py dependency in builds 2022-08-25 16:18:22 +01:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Add comment in compat.sh about callers 2022-04-14 09:21:56 +02:00
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
Makefile Add test_generation.py dependency in builds 2022-08-25 16:18:22 +01:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Merge pull request #6194 from xkqian/tls13_add_psk_client_cases 2022-09-28 17:08:06 +02:00