mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
- 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> |
||
|---|---|---|
| .. | ||
| drivers | ||
| asn1_helpers.h | ||
| bignum_helpers.h | ||
| certs.h | ||
| constant_flow.h | ||
| fake_external_rng_for_test.h | ||
| helpers.h | ||
| macros.h | ||
| psa_crypto_helpers.h | ||
| psa_exercise_key.h | ||
| psa_helpers.h | ||
| random.h | ||