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

@@ -5,15 +5,13 @@
#
#
secret k : Function;
usertype SessionKey;
protocol yahalom(I,R,S)
{
role I
{
const Ni: Nonce;
fresh Ni: Nonce;
var Nr: Nonce;
var T: Ticket;
var Kir: SessionKey;
@@ -27,7 +25,7 @@ protocol yahalom(I,R,S)
role R
{
const Nr: Nonce;
fresh Nr: Nonce;
var Ni: Nonce;
var T: Ticket;
var Kir: SessionKey;
@@ -41,7 +39,7 @@ protocol yahalom(I,R,S)
role S
{
const Kir: SessionKey;
fresh Kir: SessionKey;
var Ni,Nr: Nonce;
read_2(R,S, R, {I,Ni,Nr}k(R,S) );
@@ -52,10 +50,3 @@ protocol yahalom(I,R,S)
}
}
const Alice,Bob,Simon : Agent;
const Eve: Agent;
untrusted Eve;
compromised k(Eve,Simon);