- Added protocols for Bertinoro VODCA talk.

This commit is contained in:
ccremers
2004-09-10 07:46:00 +00:00
parent f771d3ef4c
commit 500710519e
2 changed files with 73 additions and 0 deletions

34
spdl/soph.spdl Normal file
View File

@@ -0,0 +1,34 @@
const pk: Function;
secret sk: Function;
inversekeys (pk,sk);
protocol soph(I,R)
{
role I
{
const ni: Nonce;
send_1(I,R, {I,ni}pk(R) );
read_2(R,I, ni );
claim_4(I,Niagree);
}
role R
{
var ni: Nonce;
read_1(I,R, {I,ni}pk(R) );
send_2(R,I, ni );
}
}
const Alice,Bob,Eve: Agent;
untrusted Eve;
const nc: Nonce;
compromised sk(Eve);
run soph.I(Agent,Agent);
run soph.R(Agent,Agent);
run soph.I(Agent,Agent);
run soph.R(Agent,Agent);