- Improvements in the scenarios.

This commit is contained in:
ccremers 2004-08-27 19:08:31 +00:00
parent 4f534410bd
commit 939ece7500
4 changed files with 10 additions and 6 deletions

View File

@ -13,6 +13,7 @@ protocol ns3(I,R)
read_2(R,I, {ni,nr}pk(I) ); read_2(R,I, {ni,nr}pk(I) );
send_3(I,R, {nr}pk(R) ); send_3(I,R, {nr}pk(R) );
claim_4(I,Secret,ni,nr); claim_4(I,Secret,ni,nr);
claim_6(I,Nisynch);
} }
role R role R
@ -24,6 +25,7 @@ protocol ns3(I,R)
send_2(R,I, {ni,nr}pk(I) ); send_2(R,I, {ni,nr}pk(I) );
read_3(I,R, {nr}pk(R) ); read_3(I,R, {nr}pk(R) );
claim_5(R,Secret,ni,nr); claim_5(R,Secret,ni,nr);
claim_7(R,Nisynch);
} }
} }

View File

@ -10,10 +10,11 @@ protocol nsl3(I,R)
var nr: Nonce; var nr: Nonce;
send_1(I,R, {I,ni}pk(R) ); send_1(I,R, {I,ni}pk(R) );
send_6(I,R, {I,ni}pk(R) );
read_2(R,I, {ni,nr,R}pk(I) ); read_2(R,I, {ni,nr,R}pk(I) );
read_6(R,I, {ni,nr,R}pk(I) );
send_3(I,R, {nr}pk(R) ); send_3(I,R, {nr}pk(R) );
claim_4(I,Nisynch); claim_4(I,Niagree);
claim_7(I,Nisynch);
} }
role R role R
@ -22,10 +23,11 @@ protocol nsl3(I,R)
const nr: Nonce; const nr: Nonce;
read_1(I,R, {I,ni}pk(R) ); read_1(I,R, {I,ni}pk(R) );
read_6(I,R, {I,ni}pk(R) );
send_2(R,I, {ni,nr,R}pk(I) ); send_2(R,I, {ni,nr,R}pk(I) );
send_6(R,I, {ni,nr,R}pk(I) );
read_3(I,R, {nr}pk(R) ); read_3(I,R, {nr}pk(R) );
claim_5(I,Nisynch); claim_5(R,Niagree);
claim_8(R,Nisynch);
} }
} }

View File

@ -23,7 +23,7 @@ protocol nsl3(I,R)
read_1(I,R, {I,ni}pk(R) ); read_1(I,R, {I,ni}pk(R) );
send_2(R,I, {ni,nr,R}pk(I) ); send_2(R,I, {ni,nr,R}pk(I) );
read_3(I,R, {nr}pk(R) ); read_3(I,R, {nr}pk(R) );
claim_5(I,Nisynch); claim_5(R,Nisynch);
} }
} }

View File

@ -23,7 +23,7 @@ protocol nsl3(I,R)
read_1(I,R, {I,ni}pk(R) ); read_1(I,R, {I,ni}pk(R) );
send_2(R,I, {ni,nr,R}pk(I) ); send_2(R,I, {ni,nr,R}pk(I) );
read_3(I,R, {nr}pk(R) ); read_3(I,R, {nr}pk(R) );
claim_5(I,Secret,ni,nr); claim_5(R,Secret,ni,nr);
} }
} }