mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Keep track of the J-PAKE internal state in a more intuitive way. Specifically, replace the current state with a struct of 5 fields: * The round of J-PAKE we are currently in, FIRST or SECOND * The 'mode' we are currently working in, INPUT or OUTPUT * The number of inputs so far this round * The number of outputs so far this round * The PAKE step we are expecting, KEY_SHARE, ZK_PUBLIC or ZK_PROOF This should improve the readability of the state-transformation code. Signed-off-by: David Horstmann <david.horstmann@arm.com> |
||
|---|---|---|
| .. | ||
| build_info.h | ||
| crypto.h | ||
| crypto_builtin_composites.h | ||
| crypto_builtin_key_derivation.h | ||
| crypto_builtin_primitives.h | ||
| crypto_compat.h | ||
| crypto_config.h | ||
| crypto_driver_common.h | ||
| crypto_driver_contexts_composites.h | ||
| crypto_driver_contexts_key_derivation.h | ||
| crypto_driver_contexts_primitives.h | ||
| crypto_extra.h | ||
| crypto_legacy.h | ||
| crypto_platform.h | ||
| crypto_se_driver.h | ||
| crypto_sizes.h | ||
| crypto_struct.h | ||
| crypto_types.h | ||
| crypto_values.h | ||