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

@@ -2,19 +2,13 @@
* Needham-Schroeder-Lowe protocol
*/
// PKI infrastructure
const pk: Function;
secret sk: Function;
inversekeys (pk,sk);
// The protocol description
protocol nsl3(I,R)
{
role I
{
const ni: Nonce;
fresh ni: Nonce;
var nr: Nonce;
send_1(I,R, {ni,I}pk(R) );
@@ -30,7 +24,7 @@ protocol nsl3(I,R)
role R
{
var ni: Nonce;
const nr: Nonce;
fresh nr: Nonce;
read_1(I,R, {ni,I}pk(R) );
send_2(R,I, {ni,nr,R}pk(I) );
@@ -43,9 +37,3 @@ protocol nsl3(I,R)
}
}
// An untrusted agent, with leaked information
const Eve: Agent;
untrusted Eve;
compromised sk(Eve);