scyther/testing/wmf-brutus.spdl

40 lines
454 B
Plaintext
Raw Normal View History

2006-11-21 13:40:50 +00:00
usertype SesKey, Server;
secret fresh k : Function;
2006-11-21 13:40:50 +00:00
/* Version from the Brutus reports
*/
protocol wmfbrutus(A,B,S)
{
role A
{
fresh kab : SesKey;
2006-11-21 13:40:50 +00:00
send_1(A,S, A, { B,kab }k(A,S) );
}
role B
{
var kab : SesKey;
2012-05-02 22:26:41 +01:00
recv_2(S,B, { A, kab }k(B,S) );
2006-11-21 13:40:50 +00:00
claim_3(B, Secret,kab);
}
role S
{
var kab : SesKey;
2012-05-02 22:26:41 +01:00
recv_1(A,S, A, { B,kab }k(A,S) );
2006-11-21 13:40:50 +00:00
send_2(S,B, { A, kab }k(B,S) );
}
}
const Alice, Bob, Eve: Agent;
const Simon: Server;