Update SPORE protocols to use new ticket mechanism:

- Use builtin Ticket type instead of user type
- Remove remark that -m2 matching is required as it no longer is
This commit is contained in:
gijs
2005-06-02 12:41:24 +00:00
parent 4a42604cb6
commit 56c032f4a5
22 changed files with 37 additions and 53 deletions

View File

@@ -5,11 +5,10 @@
#
# Note:
# This protocol uses a ticket so scyther will only be able to verify
# the protocol using the ARACHNE engine (-a) and type 2 matching (-m2)
# the protocol using the ARACHNE engine (-a)
#
usertype Key;
usertype Ticket;
usertype SessionKey;
usertype TimeStamp;
secret k: Function;
@@ -25,7 +24,8 @@ protocol denningSacco(I,R,S)
send_1(I,S, I,R );
read_2(S,I, {R, Kir, T, W}k(I,S) );
send_3(I,R, W);
claim_4(I,Nisynch);
claim_I1(I,Niagree);
claim_I2(I,Nisynch);
}
role R
@@ -34,7 +34,9 @@ protocol denningSacco(I,R,S)
var T: TimeStamp;
read_3(I,R, {Kir,I,T}k(R,S));
claim_8(R,Nisynch);
claim_R1(R,Niagree);
claim_R2(R,Nisynch);
}
role S