Large pass on protocol specification files to get rid of deprecated constructions.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user