- 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 (bkeCE)
Version from Corin/Etalle: An Improved Constraint-Based System for the Verification of Security Protocols.
Tried to stay as close as possible to compare timing results.
@@ -12,7 +12,7 @@ secret sk: Function;
inversekeys (pk,sk);
protocol bkepk(A,B,testnonce)
protocol bkeCE(A,B,testnonce)
{
role B
{
@@ -50,12 +50,12 @@ compromised sk(Eve);
untrusted Eve;
run bkepk.A(Alice,Bob,Alice);
run bkepk.A(Alice,Bob,Alice);
run bkepk.B(Alice,Bob,Alice);
run bkepk.B(Alice,Bob,Alice);
run bkepk.testnonce(Alice,Bob,Alice);
run bkepk.testnonce(Alice,Bob,Alice);
run bkeCE.A(Alice,Bob,Alice);
run bkeCE.A(Alice,Bob,Alice);
run bkeCE.B(Alice,Bob,Alice);
run bkeCE.B(Alice,Bob,Alice);
run bkeCE.testnonce(Alice,Bob,Alice);
run bkeCE.testnonce(Alice,Bob,Alice);
run bkepk.A(Alice,Bob,Alice);
run bkepk.testnonce(Alice,Bob,Alice);
run bkeCE.A(Alice,Bob,Alice);
run bkeCE.testnonce(Alice,Bob,Alice);