- 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

@@ -15,6 +15,7 @@ secret k: Function;
const dec,inc: Function;
inversekeys(dec,inc);
usertype SessionKey;
const Fresh: Function;
protocol needhamschroedersk(I,R,S)
{
@@ -32,6 +33,7 @@ protocol needhamschroedersk(I,R,S)
send_5(I,R,{{Nr}dec}Kir);
claim_I2(I,Secret,Kir);
claim_I3(I,Nisynch);
claim_I4(I,Empty,(Fresh,Kir));
}
role R
@@ -44,6 +46,7 @@ protocol needhamschroedersk(I,R,S)
read_5(I,R,{{Nr}dec}Kir);
claim_R1(R,Secret,Kir);
claim_R3(R,Nisynch);
claim_R4(R,Empty,(Fresh,Kir));
}
role S