From 931d2130f9617c7f33cc9b93f21bf5dbd381046e Mon Sep 17 00:00:00 2001 From: ccremers Date: Mon, 25 Oct 2004 09:43:32 +0000 Subject: [PATCH] - Added a new protocol. --- spdl/isoiec11770-2-13.spdl | 63 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 spdl/isoiec11770-2-13.spdl diff --git a/spdl/isoiec11770-2-13.spdl b/spdl/isoiec11770-2-13.spdl new file mode 100644 index 0000000..2be4d3d --- /dev/null +++ b/spdl/isoiec11770-2-13.spdl @@ -0,0 +1,63 @@ +usertype Sessionkey; +usertype Ticket; +secret k: Function; + +protocol isoiec11770213(I,R,S) +{ + role I + { + const ni: Nonce; + var nr: Nonce; + var kir: Sessionkey; + + send_1 (I,R, ni); + read_4 (R,I, { ni,kir,R }k(I,S) ); + + claim_5 (I, Secret, kir); + } + + role R + { + var ni: Nonce; + const nr: Nonce; + const kir: Sessionkey; + var T; + + read_1 (I,R, ni); + send_2 (R,S, { nr,ni,I,kir }k(R,S) ); + read_3 (S,R, { nr, I }k(R,S), T ); + send_4 (R,I, T ); + + claim_6 (R, Secret, kir); + } + + role S + { + var ni,nr: Nonce; + var kir: Sessionkey; + + read_2 (R,S, { nr,ni,I,kir }k(R,S) ); + send_3 (S,R, { nr, I }k(R,S), { ni,kir,R }k(I,S) ); + } +} + +const Alice,Bob,Simon,Eve: Agent; + +untrusted Eve; +const ne: Nonce; +const te: Ticket; +const ke: Sessionkey; +compromised k(Eve,Eve); +compromised k(Eve,Alice); +compromised k(Eve,Bob); +compromised k(Eve,Simon); +compromised k(Alice,Eve); +compromised k(Bob,Eve); +compromised k(Simon,Eve); + +run isoiec11770213.I(Agent,Agent,Simon); +run isoiec11770213.R(Agent,Agent,Simon); +run isoiec11770213.S(Agent,Agent,Simon); +run isoiec11770213.I(Agent,Agent,Simon); +run isoiec11770213.R(Agent,Agent,Simon); +run isoiec11770213.S(Agent,Agent,Simon);