mbedtls/include/psa
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
..
crypto.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
crypto_builtin_composites.h Move to separately compiled PSA test driver library 2021-12-06 07:50:27 +01:00
crypto_builtin_primitives.h psa_crypto does not support XTS 2022-04-15 11:10:14 +02:00
crypto_compat.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
crypto_config.h Merge pull request #6115 from AndrzejKurek/ecjpake-kdf-tls-1-2 2022-09-28 09:47:32 +02:00
crypto_driver_common.h Make PSA headers more self-contained 2021-11-25 20:49:09 +01:00
crypto_driver_contexts_composites.h Move to separately compiled PSA test driver library 2021-12-06 07:50:27 +01:00
crypto_driver_contexts_primitives.h Move to separately compiled PSA test driver library 2021-12-06 07:50:27 +01:00
crypto_extra.h Fix I/O format of PSA EC J-PAKE for compliance 2022-10-05 12:52:48 +02:00
crypto_platform.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
crypto_se_driver.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
crypto_sizes.h Add an EC J-PAKE KDF to transform K -> SHA256(K.X) for TLS 1.2 2022-09-14 08:39:26 -04:00
crypto_struct.h Add an EC J-PAKE KDF to transform K -> SHA256(K.X) for TLS 1.2 2022-09-14 08:39:26 -04:00
crypto_types.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
crypto_values.h Add information about ECJPAKE_TO_PMS output size expectations 2022-09-26 10:59:31 -04:00