Przemek Stekiel
a54dc69fe0
mbedtls_psa_pake_setup: move driver password and alg init to the common part
...
Also in the core part change stage to computation after return from psa_driver_wrapper_pake_setup() regardless of the result. At this point driver context is active even if init has failed.
Additionally handle deallocation of password on failure in mbedtls_psa_pake_setup(). The plan was to handle deallocation on core level by calling abort on failure.
Unfortunately in this case when mbedtls_psa_pake_setup() fails with an unsupported result the built-in implementation is executed (if available) and it will reallocate the password leading to the memory leak.
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
2023-02-22 11:30:32 +01:00
..
2021-12-18 13:29:10 +05:30
2023-01-11 14:50:10 +01:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-01 08:43:54 +00:00
2023-01-23 19:10:26 +01:00
2023-01-31 11:25:25 +01:00
2023-01-24 21:56:45 +01:00
2023-01-17 11:25:26 +05:30
2023-02-01 08:43:54 +00:00
2023-02-13 15:35:35 +00:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-02-02 12:40:50 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2022-12-14 17:04:00 +00:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-30 09:26:48 +00:00
2023-02-10 16:03:44 +00:00
2023-01-13 11:06:01 +08:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-15 23:34:29 +00:00
2023-01-11 14:50:10 +01:00
2023-02-16 19:31:21 +01:00
2023-01-11 14:50:10 +01:00
2023-02-15 18:19:09 +01:00
2023-01-30 16:27:48 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-02 12:40:50 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2022-12-14 17:04:00 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-20 14:24:12 +00:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-10 16:03:44 +00:00
2023-02-13 11:15:06 +01:00
2023-02-10 16:03:44 +00:00
2023-01-11 14:50:10 +01:00
2023-02-20 14:45:09 +00:00
2023-01-11 14:50:10 +01:00
2023-01-23 10:33:06 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-22 11:25:30 +01:00
2023-02-22 11:30:32 +01:00
2023-02-15 23:34:29 +00:00
2023-02-15 23:34:29 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-22 11:30:32 +01:00
2023-02-22 11:30:32 +01:00
2023-01-11 14:50:10 +01:00
2023-02-10 16:03:44 +00:00
2023-01-11 14:50:10 +01:00
2023-02-10 16:03:44 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-22 11:30:32 +01:00
2023-01-11 14:50:10 +01:00
2023-02-02 12:40:50 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-20 14:04:48 +00:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-08 05:47:48 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-16 11:28:49 +08:00
2023-02-14 09:03:32 +01:00
2023-02-10 16:03:44 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-08 07:41:42 +00:00
2023-02-08 05:47:48 +00:00
2023-01-11 14:50:10 +01:00
2023-02-14 09:03:32 +01:00
2023-01-12 14:54:26 +08:00
2023-02-08 05:47:48 +00:00
2023-02-08 05:44:00 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-10 12:52:13 +00:00
2023-01-26 22:30:45 +01:00
2023-02-16 06:55:10 -05:00
2023-01-26 17:43:09 +01:00
2023-01-11 14:50:10 +01:00