mbedtls/include
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
..
mbedtls Merge pull request #6115 from AndrzejKurek/ecjpake-kdf-tls-1-2 2022-09-28 09:47:32 +02:00
psa Fix I/O format of PSA EC J-PAKE for compliance 2022-10-05 12:52:48 +02:00
.gitignore
CMakeLists.txt Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00