2004-07-25 16:29:03 +01:00
|
|
|
const pk: Function;
|
|
|
|
secret sk: Function;
|
|
|
|
inversekeys (pk,sk);
|
|
|
|
|
2005-01-14 11:15:37 +00:00
|
|
|
protocol carkeybrokenlim(I,R)
|
2004-07-25 16:29:03 +01:00
|
|
|
{
|
|
|
|
role I
|
|
|
|
{
|
|
|
|
const ni: Nonce;
|
|
|
|
|
|
|
|
send_1(I,R, I,R );
|
|
|
|
}
|
|
|
|
|
|
|
|
role R
|
|
|
|
{
|
|
|
|
var ni: Nonce;
|
|
|
|
|
|
|
|
read_1(I,R, I,R );
|
|
|
|
claim_2(R,Nisynch);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const Alice,Bob,Eve: Agent;
|
|
|
|
|
|
|
|
untrusted Eve;
|
|
|
|
const nc: Nonce;
|
|
|
|
compromised sk(Eve);
|
|
|
|
|
2005-01-14 11:15:37 +00:00
|
|
|
run carkeybrokenlim.I(Alice,Bob);
|
|
|
|
run carkeybrokenlim.R(Alice,Bob);
|
|
|
|
run carkeybrokenlim.I(Alice,Bob);
|
|
|
|
run carkeybrokenlim.R(Alice,Bob);
|