2010-11-09 09:05:34 +00:00
|
|
|
|
|
|
|
protocol soph(I,R)
|
|
|
|
{
|
|
|
|
role I
|
|
|
|
{
|
|
|
|
fresh ni: Nonce;
|
|
|
|
|
|
|
|
send_1(I,R, {I,ni}pk(R) );
|
2012-04-26 15:40:01 +01:00
|
|
|
recv_2(R,I, ni );
|
2010-11-09 09:05:34 +00:00
|
|
|
claim_3(I,Niagree);
|
|
|
|
}
|
|
|
|
|
|
|
|
role R
|
|
|
|
{
|
|
|
|
var ni: Nonce;
|
|
|
|
|
2012-04-26 15:40:01 +01:00
|
|
|
recv_1(I,R, {I,ni}pk(R) );
|
2010-11-09 09:05:34 +00:00
|
|
|
send_2(R,I, ni );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|