- Add freshness claims to the protocols that should guarantee freshness

This commit is contained in:
gijs
2005-06-23 12:45:32 +00:00
parent 464920907b
commit 4c224dc6f4
23 changed files with 134 additions and 51 deletions

View File

@@ -11,6 +11,7 @@
secret const k : Function;
const Fresh: Function;
usertype String,SessionKey;
@@ -26,7 +27,8 @@ protocol otwayrees(I,R,S)
read_4(R,I, M,{Ni,Kir}k(I,S) );
claim_I1(I, Secret,Kir);
#claim_I2(I, Nisynch);
claim_I2(I, Nisynch);
claim_I3(I, Empty, (Fresh,Kir));
}
role R
@@ -42,7 +44,8 @@ protocol otwayrees(I,R,S)
send_4(R,I, M, T2 );
claim_R1(R, Secret,Kir);
#claim_R2(R, Nisynch);
claim_R2(R, Nisynch);
claim_R3(R, Empty, (Fresh,Kir));
}
role S