Large pass on protocol specification files to get rid of deprecated constructions.

This commit is contained in:
Cas Cremers
2012-04-23 15:53:28 +02:00
parent 30006b732a
commit 755c4519c6
83 changed files with 165 additions and 940 deletions

View File

@@ -3,19 +3,13 @@
* broken version (wrong role name in first message)
*/
// PKI infrastructure
const pk: Function;
secret sk: Function;
inversekeys (pk,sk);
// The protocol description
protocol nsl3-broken(I,R)
{
role I
{
const ni: Nonce;
fresh ni: Nonce;
var nr: Nonce;
send_1(I,R, {ni,R}pk(R) );
@@ -31,7 +25,7 @@ protocol nsl3-broken(I,R)
role R
{
var ni: Nonce;
const nr: Nonce;
fresh nr: Nonce;
read_1(I,R, {ni,R}pk(R) );
send_2(R,I, {ni,nr,R}pk(I) );
@@ -44,9 +38,3 @@ protocol nsl3-broken(I,R)
}
}
// An untrusted agent, with leaked information
const Eve: Agent;
untrusted Eve;
compromised sk(Eve);