Large pass on protocol specification files to get rid of deprecated constructions.

This commit is contained in:
Cas Cremers
2012-04-23 15:53:28 +02:00
parent 30006b732a
commit 755c4519c6
83 changed files with 165 additions and 940 deletions

View File

@@ -37,9 +37,4 @@ protocol bke(I,R)
}
}
// An untrusted agent, with leaked information
const Eve: Agent;
untrusted Eve;
compromised sk(Eve);

View File

@@ -65,9 +65,3 @@ protocol andrew-Concrete(I,R)
}
}
const Alice,Bob,Eve: Agent;
untrusted Eve;
const ne: Nonce;
const kee: SessionKey;

View File

@@ -50,14 +50,3 @@ protocol andrew-Ban(I,R)
}
}
const Alice,Bob,Eve: Agent;
untrusted Eve;
const ne: Nonce;
const kee: SessionKey;
compromised k(Eve,Eve);
compromised k(Eve,Alice);
compromised k(Eve,Bob);
compromised k(Alice,Eve);
compromised k(Bob,Eve);

View File

@@ -55,16 +55,3 @@ protocol andrew-LoweBan(I,R)
}
}
const Alice,Bob,Eve: Agent;
untrusted Eve;
const ne: Nonce;
const kee: SessionKey;
compromised k(Eve,Eve);
compromised k(Eve,Alice);
compromised k(Eve,Bob);
compromised k(Alice,Eve);
compromised k(Bob,Eve);

View File

@@ -54,17 +54,3 @@ protocol boyd(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
const mcsde: Macseed;
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);

View File

@@ -37,9 +37,3 @@ protocol ccitt509-ban3(I,R)
}
}
const Alice,Bob,Eve: Agent;
untrusted Eve;
const ne: Nonce;
compromised sk(Eve);

View File

@@ -63,12 +63,4 @@ protocol denningSacco-Lowe(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const kee: SessionKey;
const tee: TimeStamp;
compromised k(Eve,Simon);

View File

@@ -51,12 +51,5 @@ protocol denningSacco(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const kee: SessionKey;
const tee: TimeStamp;
compromised k(Eve,Simon);

View File

@@ -58,17 +58,3 @@ protocol gongnonceb(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
const kpe: Keypart;
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);

View File

@@ -55,17 +55,3 @@ protocol gongnonce(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
const kpe: Keypart;
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);

View File

@@ -40,17 +40,3 @@ protocol isoiec11770213(I,R,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);

View File

@@ -53,17 +53,3 @@ protocol kaochow-2(I,R,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);

View File

@@ -57,17 +57,3 @@ protocol kaochow-3(I,R,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);

View File

@@ -53,17 +53,3 @@ protocol kaochow(I,R,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);

View File

@@ -9,21 +9,16 @@
usertype Server, SessionKey, TimeStamp, TicketKey;
usertype ExpiredTimeStamp;
const a, b, e: Agent;
const s: Server;
const Fresh: Function;
const Compromised: Function;
untrusted e;
compromised k(e,s);
protocol ksl(I,R,S)
{
role I
{
const Ni, Mi: Nonce;
fresh Ni, Mi: Nonce;
var Nc, Mr: Nonce;
var T: Ticket;
var Kir: SessionKey;
@@ -45,10 +40,10 @@ protocol ksl(I,R,S)
role R
{
var Ni,Mi: Nonce;
const Nr,Nc,Mr: Nonce;
fresh Nr,Nc,Mr: Nonce;
var Kir: SessionKey;
const Kbb: TicketKey;
const Tr: TimeStamp;
fresh Kbb: TicketKey;
fresh Tr: TimeStamp;
var T: Ticket;
read_1(I,R, Ni, I);
@@ -70,7 +65,7 @@ protocol ksl(I,R,S)
role S
{
var Ni, Nr: Nonce;
const Kir: SessionKey;
fresh Kir: SessionKey;
read_2(R,S, Ni, I, Nr, R );
send_3(S,R, { Nr, I, Kir }k(R,S), { Ni,R,Kir }k(I,S) );

View File

@@ -64,10 +64,3 @@ protocol needhamschroedersk-amend(I,R,S)
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
compromised k(Eve,Simon);

View File

@@ -54,9 +54,3 @@ protocol needhamschroedersk(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
compromised k(Eve,Simon);

View File

@@ -39,8 +39,3 @@ protocol ns3(I,R)
}
}
// An untrusted agent, with leaked information
const Eve: Agent;
untrusted Eve;
compromised sk(Eve);

View File

@@ -37,8 +37,3 @@ protocol nsl3(I,R)
}
}
// An untrusted agent, with leaked information
const Eve: Agent;
untrusted Eve;
compromised sk(Eve);

View File

@@ -54,8 +54,3 @@ protocol otwayrees(I,R,S)
}
}
const Alice, Bob, Eve, Simon: Agent;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -19,9 +19,3 @@ protocol soph(I,R)
}
}
const Alice,Bob,Eve: Agent;
untrusted Eve;
const nc: Nonce;
compromised sk(Eve);

View File

@@ -64,9 +64,3 @@ protocol spliceAS-CJ(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
compromised sk(Eve);

View File

@@ -7,9 +7,6 @@
usertype TimeStamp, LifeTime;
const pk: Function;
secret sk: Function;
inversekeys (pk,sk);
const inc,dec: Function;
inversekeys (inc,dec);
@@ -62,11 +59,3 @@ protocol spliceAS-HC(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
compromised sk(Eve);

View File

@@ -64,9 +64,3 @@ protocol spliceAS(I,R,S)
}
}
const Alice,Bob,Simon,Eve: Agent;
untrusted Eve;
const ne: Nonce;
compromised sk(Eve);

View File

@@ -49,12 +49,3 @@ protocol tmn(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Ke: SessionKey;
untrusted Eve;
compromised sk(Eve);

View File

@@ -30,11 +30,3 @@ protocol wmfbrutus(A,B,S)
}
}
const Alice, Bob, Eve: Agent;
const Simon: Server;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -61,13 +61,3 @@ protocol wmf-Lowe(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Ke: SessionKey;
const Te: TimeStamp;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -52,13 +52,3 @@ protocol wmf(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Ke: SessionKey;
const Te: TimeStamp;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -18,7 +18,7 @@ protocol woolamPi-1(I,R,S)
role R
{
const Nr: Nonce;
fresh Nr: Nonce;
var T: Ticket;
read_1(I,R, I);
@@ -39,13 +39,3 @@ protocol woolamPi-1(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Te: Ticket;
const Ne: Nonce;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -18,7 +18,7 @@ protocol woolamPi-2(I,R,S)
role R
{
const Nr: Nonce;
fresh Nr: Nonce;
var T: Ticket;
read_1(I,R, I);
@@ -39,13 +39,3 @@ protocol woolamPi-2(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Te: Ticket;
const Ne: Nonce;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -18,7 +18,7 @@ protocol woolamPi-3(I,R,S)
role R
{
const Nr: Nonce;
fresh Nr: Nonce;
var T: Ticket;
read_1(I,R, I);
@@ -39,13 +39,3 @@ protocol woolamPi-3(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Te: Ticket;
const Ne: Nonce;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -39,11 +39,3 @@ protocol woolamPi-f(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Te: Ticket;
const Ne: Nonce;
untrusted Eve;
compromised k(Eve,Simon);

View File

@@ -9,9 +9,6 @@
usertype Server;
usertype SessionKey;
const a,b,c : Agent;
const s : Server;
protocol yahalom-BAN-Paulson-modified(A,B,S)
{
role A

View File

@@ -7,9 +7,6 @@
usertype Server;
usertype SessionKey;
const a,b,c : Agent;
const s : Server;
protocol yahalom-BAN-Paulson(A,B,S)
{
role A

View File

@@ -52,5 +52,4 @@ protocol yahalom-BAN(I,R,S)
}
}
const Alice,Bob,Charlie,David: Agent;

View File

@@ -50,5 +50,4 @@ protocol yahalom-Lowe(I,R,S)
}
}
const Alice,Bob,Simon : Agent;

View File

@@ -50,10 +50,3 @@ protocol yahalom(I,R,S)
}
}
const Alice,Bob,Simon : Agent;
const Eve: Agent;
untrusted Eve;
compromised k(Eve,Simon);