Moved key-compromise models into their own directory and removed key-compromise models from base protocols.

This commit is contained in:
Cas Cremers
2007-11-16 09:00:23 +01:00
parent 2d45daa8ee
commit 8fe754f4ec
22 changed files with 6 additions and 463 deletions

View File

@@ -23,26 +23,6 @@ secret k: Function;
const Fresh: Function;
const Compromised: Function;
protocol andrew-LoweBan^KeyCompromise(C)
{
// Read the names of 2 agents and disclose a session between them including
// corresponding session key to simulate key compromise
role C {
const ni,nr: Nonce;
const kir: SessionKey;
var I,R: Agent;
read_!C1(C,C, I,R);
send_!C2(C,C, (I,ni),
{ni,kir,R}k(I,R),
{ni}kir,
nr,
kir
);
claim_C3(C,Empty, (Compromised,kir));
}
}
protocol andrew-LoweBan(I,R)
{
role I