mbedtls/include/psa
Przemek Stekiel e12ed36a6c Move JPAKE state machine logic from driver to core
- Add `alg` and `computation_stage` to `psa_pake_operation_s`.
  Now when logic is moved to core information about `alg` is required.
  `computation_stage` is a structure that provides a union of computation stages for pake algorithms.
- Move the jpake operation logic from driver to core. This requires changing driver entry points for `psa_pake_output`/`psa_pake_input` functions and adding a `computation_stage` parameter. I'm not sure if this solution is correct. Now the driver can check the current computation stage and perform some action. For jpake drivers `step` parameter is now not used, but I think it needs to stay as it might be needed for other pake algorithms.
- Removed test that seems to be redundant as we can't be sure that operation is aborted after failure.

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
2023-02-22 11:30:31 +01:00
..
crypto.h Add reference to mbedtls_ecp_set_max_ops() to docs 2023-02-16 12:15:39 +00:00
crypto_builtin_composites.h Move JPAKE state machine logic from driver to core 2023-02-22 11:30:31 +01:00
crypto_builtin_primitives.h Move pake definitions to headers for composite algorithms 2023-02-22 11:30:31 +01:00
crypto_compat.h Switch to the new code style 2023-01-11 14:50:10 +01:00
crypto_config.h Add ECJPAKE secret input types to psa/crypto_config.h 2023-01-19 12:11:19 +01: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 pake definitions to headers for composite algorithms 2023-02-22 11:30:31 +01:00
crypto_driver_contexts_primitives.h Move pake definitions to headers for composite algorithms 2023-02-22 11:30:31 +01:00
crypto_extra.h Move JPAKE state machine logic from driver to core 2023-02-22 11:30:31 +01:00
crypto_platform.h Switch to the new code style 2023-01-11 14:50:10 +01:00
crypto_se_driver.h Switch to the new code style 2023-01-11 14:50:10 +01:00
crypto_sizes.h Switch to the new code style 2023-01-11 14:50:10 +01:00
crypto_struct.h Ensure that operation is put into error state if error occurs 2023-02-15 23:34:29 +00:00
crypto_types.h Switch to the new code style 2023-01-11 14:50:10 +01:00
crypto_values.h Change incorrect define for MAX_OPS_UNLIMITED 2023-02-15 23:34:29 +00:00