Cleanup and restructuring of testing directory setup.

This commit is contained in:
Cas Cremers
2012-11-15 16:47:08 +01:00
parent 1860527960
commit 51495be80d
105 changed files with 1 additions and 1 deletions

34
testing/spdl-defaults.inc Normal file
View File

@@ -0,0 +1,34 @@
/* default includes */
/* asymmetric */
const pk,hash: Function;
secret sk,unhash: Function;
inversekeys (pk,sk);
inversekeys (hash,unhash);
/* symmetric */
usertype SessionKey;
secret k: Function;
/* agents */
const A,B,E: Agent;
/* untrusted E */
untrusted E;
compromised sk(E);
const nE: Nonce;
const kEE: SessionKey;
compromised k(E,E);
compromised k(E,A);
compromised k(E,B);
compromised k(A,E);
compromised k(B,E);