2006-11-21 13:40:50 +00:00
|
|
|
const pk: Function;
|
|
|
|
secret sk: Function;
|
|
|
|
inversekeys (pk,sk);
|
|
|
|
|
|
|
|
protocol r5bound(I,R)
|
|
|
|
{
|
|
|
|
role R
|
|
|
|
{
|
|
|
|
var k1: Nonce;
|
|
|
|
var ni: Nonce;
|
2012-05-02 22:01:08 +01:00
|
|
|
fresh k2: Nonce;
|
2006-11-21 13:40:50 +00:00
|
|
|
|
2012-05-02 22:26:41 +01:00
|
|
|
recv_!1 (I,R, ni );
|
2007-01-29 15:05:15 +00:00
|
|
|
send_!2 (R,I, { ni }sk(R) );
|
2012-05-02 22:26:41 +01:00
|
|
|
recv_!3 (I,R, {{{ {k1}pk(R) }sk(I)}sk(I)}sk(I) );
|
2007-01-29 15:05:15 +00:00
|
|
|
send_!4 (R,I, {k2}k1 );
|
2006-11-21 13:40:50 +00:00
|
|
|
|
|
|
|
claim_6 (R, Secret, k2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|