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
..
2021-12-18 13:29:10 +05:30
2022-08-31 10:14:57 +01:00
2022-06-29 16:17:50 +01:00
2022-06-10 20:13:33 +02:00
2021-11-26 17:20:02 +01:00
2022-09-29 14:40:21 +01:00
2022-09-29 17:20:18 +01:00
2022-08-22 09:08:04 +01:00
2022-08-22 09:08:04 +01:00
2022-08-19 13:11:22 +01:00
2022-08-19 13:11:22 +01:00
2022-09-15 15:05:59 +01:00
2022-08-18 08:48:03 +01:00
2022-08-31 10:14:57 +01:00
2022-05-18 14:15:33 -04:00
2022-08-31 10:14:57 +01:00
2022-08-31 10:18:14 +01:00
2022-09-14 14:57:51 -04:00
2022-01-03 12:53:24 +01:00
2022-08-31 10:14:57 +01:00
2022-08-31 10:49:18 +02:00
2022-08-22 09:08:04 +01:00
2021-11-26 17:25:14 +01:00
2022-08-23 09:02:43 +01:00
2022-08-11 16:38:45 +08:00
2022-08-31 10:15:59 +01:00
2022-07-27 14:43:38 +01:00
2022-07-27 14:28:20 +01:00
2022-09-15 09:25:55 +02:00
2022-08-23 12:01:39 +01:00
2022-07-28 10:31:16 +01:00
2022-06-30 17:03:40 +02:00
2022-06-30 17:03:40 +02:00
2022-08-31 10:14:57 +01:00
2022-09-16 12:02:48 +02:00
2022-09-06 14:18:39 +02:00
2022-06-30 17:03:40 +02:00
2022-08-31 10:49:18 +02:00
2022-06-30 17:03:40 +02:00
2022-05-11 21:25:51 +01:00
2022-05-18 14:15:33 -04:00
2021-12-10 13:47:55 +01:00
2021-12-10 13:47:55 +01:00
2022-03-04 05:07:45 -05:00
2021-11-24 10:44:13 +01:00
2022-09-16 12:02:48 +02:00
2022-07-05 11:55:15 +01:00
2022-09-16 12:02:48 +02:00
2022-07-29 12:59:05 +01:00
2022-05-04 11:02:37 +02:00
2022-08-31 10:14:25 +01:00
2022-09-02 04:15:34 -04:00
2022-09-06 14:18:45 +02:00
2022-08-31 10:14:25 +01:00
2022-08-31 10:14:25 +01:00
2022-03-01 10:03:21 +01:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2022-08-31 10:18:14 +01:00
2021-12-09 14:49:42 +01:00
2022-05-11 21:25:51 +01:00
2022-08-02 12:44:35 +02:00
2021-12-14 10:58:18 +01:00
2022-03-10 20:07:38 +01:00
2022-07-18 21:28:38 +02:00
2021-12-06 07:50:27 +01:00
2022-07-18 21:28:38 +02:00
2022-07-18 21:28:38 +02:00
2021-12-06 07:50:27 +01:00
2021-12-06 07:50:27 +01:00
2022-10-05 12:52:48 +02:00
2022-07-18 21:28:38 +02:00
2022-01-10 12:55:06 +01:00
2022-02-25 11:14:59 +01:00
2022-09-28 09:47:32 +02:00
2022-06-30 17:03:40 +02:00
2022-09-23 17:04:20 +02:00
2022-08-31 10:15:25 +01:00
2022-08-31 10:15:25 +01:00
2022-08-31 10:15:25 +01:00
2022-07-11 10:22:37 +02:00
2022-09-16 12:02:48 +02:00
2022-07-21 15:30:04 +02:00
2022-06-20 21:12:55 +02:00
2022-09-16 12:02:48 +02:00
2022-05-09 15:49:00 +08:00
2022-09-23 15:48:33 +01:00
2022-07-20 11:07:29 +08:00
2022-08-17 16:57:26 +01:00
2022-09-06 14:18:45 +02:00
2022-09-13 12:57:05 +02:00
2022-09-28 02:07:54 +00:00
2022-09-28 09:50:04 +02:00
2022-07-11 10:22:37 +02:00
2022-09-16 16:32:27 +08:00
2022-09-18 21:18:13 +02:00
2022-09-28 09:50:04 +02:00
2022-09-23 15:48:33 +01:00
2022-03-29 17:43:56 +02:00
2022-04-08 04:41:42 -04:00
2022-03-04 05:07:45 -05:00
2022-09-13 12:57:05 +02:00
2022-09-16 12:02:48 +02:00
2022-09-16 12:02:48 +02:00
2022-09-13 12:57:05 +02:00