- Fixed some protocols with wrong protocol names in the specification.

- Added more safety stuff to the testing code.
This commit is contained in:
ccremers
2004-11-18 16:07:58 +00:00
parent 2b53516542
commit 83922f3f2c
6 changed files with 43 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
/*
Bilateral Key Exchange with Public Key protocol (BKEPK)
Bilateral Key Exchange with Public Key protocol (bkeONE)
*/
usertype Key;
@@ -10,7 +10,7 @@ secret sk,unhash: Function;
inversekeys (pk,sk);
inversekeys (hash,unhash);
protocol bkepk(I,R)
protocol bkeONE(I,R)
{
role I
{
@@ -43,16 +43,16 @@ untrusted e;
compromised sk(e);
const ne: Nonce;
run bkepk.I(a,Agent);
run bkepk.R(Agent,a);
run bkepk.I(a,Agent);
run bkepk.R(Agent,a);
run bkeONE.I(a,Agent);
run bkeONE.R(Agent,a);
run bkeONE.I(a,Agent);
run bkeONE.R(Agent,a);
run bkepk.I(a,Agent);
run bkepk.R(Agent,a);
run bkepk.I(a,Agent);
run bkepk.R(Agent,a);
run bkeONE.I(a,Agent);
run bkeONE.R(Agent,a);
run bkeONE.I(a,Agent);
run bkeONE.R(Agent,a);
run bkepk.I(a,Agent);
run bkepk.R(Agent,a);
run bkeONE.I(a,Agent);
run bkeONE.R(Agent,a);