- Use variable type SessionKey every where instead of a combination

between Key and SessionKey
- Make KSL working again
This commit is contained in:
gijs
2005-06-29 12:42:25 +00:00
parent eef9072324
commit 49cd9b1271
9 changed files with 71 additions and 71 deletions

View File

@@ -10,7 +10,7 @@
secret k : Function;
usertype Key;
usertype SessionKey;
const Fresh: Function;
const Compromised: Function;
@@ -20,7 +20,7 @@ protocol yahalomSessionKeyCompromise(C)
// corresponding session key to simulate key compromise
role C {
const Ni,Nr: Nonce;
const Kir: Key;
const Kir: SessionKey;
var I,R,S: Agent;
read_C1(C,C, I,R,S);
@@ -43,7 +43,7 @@ protocol yahalom(I,R,S)
const Ni: Nonce;
var Nr: Nonce;
var T: Ticket;
var Kir: Key;
var Kir: SessionKey;
send_1(I,R, I,Ni);
read_3(S,I, {R,Kir,Ni,Nr}k(I,S), T );
@@ -59,7 +59,7 @@ protocol yahalom(I,R,S)
const Nr: Nonce;
var Ni: Nonce;
var T: Ticket;
var Kir: Key;
var Kir: SessionKey;
read_1(I,R, I,Ni);
send_2(R,S, R, {I,Ni,Nr}k(R,S) );
@@ -72,7 +72,7 @@ protocol yahalom(I,R,S)
role S
{
const Kir: Key;
const Kir: SessionKey;
var Ni,Nr: Nonce;
read_2(R,S, R, {I,Ni,Nr}k(R,S) );