- Added default include file.

This commit is contained in:
ccremers 2004-11-19 10:59:10 +00:00
parent d9efb5096c
commit 5bf97e7c52
2 changed files with 36 additions and 1 deletions

View File

@ -31,6 +31,7 @@ ReportInterval = 10
ScytherArgs = ScytherDefaults + " " + ScytherMethods + " " + ScytherBounds ScytherArgs = ScytherDefaults + " " + ScytherMethods + " " + ScytherBounds
CommandPrefix = ScytherProgram + " " + ScytherArgs CommandPrefix = ScytherProgram + " " + ScytherArgs
IncludeProtocols = 'spdl-defaults.inc'
ProtocolClaims = {} ProtocolClaims = {}
ProtocolFiles = {} ProtocolFiles = {}
@ -71,7 +72,7 @@ def GetKeys (f, x):
# Yield the commandline to test, given a list of protocols # Yield the commandline to test, given a list of protocols
def CommandLine (plist): def CommandLine (plist):
linelist = " ".join(plist) linelist = " ".join(plist)
return "cat " + linelist + " | " + CommandPrefix return "cat " + IncludeProtocols + " " + linelist + " | " + CommandPrefix
# ScytherEval # ScytherEval

34
spdl/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);