Research Article
Formal Analysis of Fairness for Optimistic Multiparty Contract Signing Protocol
Algorithm 5
Modeling of five-party CKS abort and recovery subprotocols.
T_process()= | Modeling of the five-party CKS abort subprotocol | ⋯ ⋯ | //(1)T agrees with the abort requirement from P2 | [!T_Respond2 P2_Abort_Send !T_Validated ]TP2abort1{T_S2=true; T_Abort_Send_P2=true; | T_Respond2=true; T_h2=0; T_l2=1}->P2H_process() | //(2)T refuses the abort requirement from P2 | [!T_Respond2 P2_Abort_Send T_Validated ]TP2abort2{T_S2=true; T_Recovery_Send_P2=true; | T_Respond2=true}->P2H_process() | Modeling of the five-party CKS recovery subprotocol | ⋯ ⋯ | //(3)T agrees with the recovery requirement from P3 | [P3_recovery_1_1_3_3 && !T_Respond5 && !T_Respond4 && !T_Respond3 && !T_Respond2 && ! | T_Respond1] P3reco1{T_Recovery_Send_P3=true;T_Respond3=true; T_Validated=true;}->P3_process() | //(4)T refuses the recovery requirement from P3 | [P3_recovery_1_1_3_3 && !T_Respond3 && (T_Respond5∣∣T_Respond4∣∣T_Respond3∣∣T_Respond2∣∣ | T_Respond1)&& !T_Validted && ((T_S5 && T_l5>0 ∣∣T_S4 && T_l4>0 ∣∣ T_S2 && T_h2>2∣∣T_S1 && | T_h1>2 ))]P3reco3{T_Respond3=true;T_S3=true;T_Abort_Send_P3=true;T_h3=3;T_l3=3}->P3_process() |
|