- 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

@@ -12,6 +12,7 @@ usertype Key;
usertype SessionKey;
usertype TimeStamp;
secret k: Function;
const Fresh: Function;
protocol denningSacco(I,R,S)
{
@@ -26,6 +27,8 @@ protocol denningSacco(I,R,S)
send_3(I,R, W);
claim_I1(I,Niagree);
claim_I2(I,Nisynch);
claim_I3(I,Secret,Kir);
claim_I4(I,Empty, (Fresh,Kir));
}
role R
@@ -36,7 +39,8 @@ protocol denningSacco(I,R,S)
read_3(I,R, {Kir,I,T}k(R,S));
claim_R1(R,Niagree);
claim_R2(R,Nisynch);
claim_R3(R,Secret,Kir);
claim_R4(R,Empty, (Fresh,Kir));
}
role S