- Add freshness claims to the protocols that should guarantee freshness
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
usertype Sessionkey;
|
||||
secret k: Function;
|
||||
const Fresh: Function;
|
||||
|
||||
protocol kaochow2(I,R,S)
|
||||
{
|
||||
@@ -23,9 +24,10 @@ protocol kaochow2(I,R,S)
|
||||
read_3 (R,I, R, {I,R,ni,kir,kt}k(I,S), {ni, kir}kt, nr );
|
||||
send_4 (I,R, {nr,kir}kt );
|
||||
|
||||
claim_5 (I, Nisynch);
|
||||
claim_6 (I, Niagree);
|
||||
claim_7 (I, Secret, kir);
|
||||
claim_I1 (I, Nisynch);
|
||||
claim_I2 (I, Niagree);
|
||||
claim_I3 (I, Secret, kir);
|
||||
claim_I4 (I, Empty, (Fresh,kir));
|
||||
}
|
||||
|
||||
role R
|
||||
@@ -39,9 +41,10 @@ protocol kaochow2(I,R,S)
|
||||
send_3 (R,I, R, T, {ni, kir}kt, nr );
|
||||
read_4 (I,R, {nr,kir}kt );
|
||||
|
||||
claim_8 (R, Nisynch);
|
||||
claim_9 (R, Niagree);
|
||||
claim_10 (R, Secret, kir);
|
||||
claim_R1 (R, Nisynch);
|
||||
claim_R2 (R, Niagree);
|
||||
claim_R3 (R, Secret, kir);
|
||||
claim_R4 (R, Empty, (Fresh,kir));
|
||||
}
|
||||
|
||||
role S
|
||||
|
||||
Reference in New Issue
Block a user