mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 19:21:08 +00:00
Add PSA_JPAKE_FINISHED to EXPECTED_{IN,OUT}PUTS()
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
a5f7de1df2
commit
5dbe17de36
@ -2024,8 +2024,10 @@ struct psa_jpake_computation_stage_s {
|
|||||||
psa_pake_step_t MBEDTLS_PRIVATE(step);
|
psa_pake_step_t MBEDTLS_PRIVATE(step);
|
||||||
};
|
};
|
||||||
|
|
||||||
#define PSA_JPAKE_EXPECTED_INPUTS(round) (((round) == PSA_JPAKE_FIRST) ? 2 : 1)
|
#define PSA_JPAKE_EXPECTED_INPUTS(round) ((round) == PSA_JPAKE_FINISHED ? 0 : \
|
||||||
#define PSA_JPAKE_EXPECTED_OUTPUTS(round) (((round) == PSA_JPAKE_FIRST) ? 2 : 1)
|
((round) == PSA_JPAKE_FIRST ? 2 : 1))
|
||||||
|
#define PSA_JPAKE_EXPECTED_OUTPUTS(round) ((round) == PSA_JPAKE_FINISHED ? 0 : \
|
||||||
|
((round) == PSA_JPAKE_FIRST ? 2 : 1))
|
||||||
|
|
||||||
struct psa_pake_operation_s {
|
struct psa_pake_operation_s {
|
||||||
/** Unique ID indicating which driver got assigned to do the
|
/** Unique ID indicating which driver got assigned to do the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user