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

@@ -8,9 +8,6 @@
# from the description in SPORE
usertype SessionKey;
const pk: Function;
secret sk: Function;
inversekeys(pk,sk);
const Fresh: Function;
const Compromised: Function;
@@ -18,7 +15,7 @@ protocol tmn(I,R,S)
{
role I
{
const Ki: SessionKey;
fresh Ki: SessionKey;
var Kr: SessionKey;
send_1(I,S, R,{Ki}pk(S) );
@@ -31,7 +28,7 @@ protocol tmn(I,R,S)
role R
{
const Kr: SessionKey;
fresh Kr: SessionKey;
read_2(S,R, I );
send_3(R,S, I, { Kr }pk(S) );
@@ -52,12 +49,3 @@ protocol tmn(I,R,S)
}
}
const Alice,Bob,Eve,Simon: Agent;
const Ke: SessionKey;
untrusted Eve;
compromised sk(Eve);