27 lines
278 B
Plaintext
27 lines
278 B
Plaintext
const pk: Function;
|
|
secret sk: Function;
|
|
inversekeys (pk,sk);
|
|
|
|
protocol soph(I,R)
|
|
{
|
|
role I
|
|
{
|
|
fresh ni: Nonce;
|
|
|
|
send_1(I,R, {I,ni}pk(R) );
|
|
recv_2(R,I, ni );
|
|
claim_3(I,Niagree);
|
|
}
|
|
|
|
role R
|
|
{
|
|
var ni: Nonce;
|
|
|
|
recv_1(I,R, {I,ni}pk(R) );
|
|
send_2(R,I, ni );
|
|
}
|
|
}
|
|
|
|
|
|
|