mbedtls/tests/src
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
..
drivers Move JPAKE state machine logic from driver to core 2023-02-22 11:30:31 +01:00
asn1_helpers.c Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum_helpers.c Switch to the new code style 2023-01-11 14:50:10 +01:00
certs.c test: adjust include after PK_CAN_ECDSA_SOME was moved 2023-02-13 15:35:37 +01:00
fake_external_rng_for_test.c Switch to the new code style 2023-01-11 14:50:10 +01:00
helpers.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_helpers.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_exercise_key.c Switch to the new code style 2023-01-11 14:50:10 +01:00
random.c Switch to the new code style 2023-01-11 14:50:10 +01:00
threading_helpers.c Switch to the new code style 2023-01-11 14:50:10 +01:00