Moved key-compromise models into their own directory and removed key-compromise models from base protocols.
This commit is contained in:
@@ -14,25 +14,6 @@ inversekeys(pk,sk);
|
||||
const Fresh: Function;
|
||||
const Compromised: Function;
|
||||
|
||||
protocol tmn^KeyCompromise(C)
|
||||
{
|
||||
// Read the names of 3 agents and disclose a session between them including
|
||||
// corresponding session key to simulate key compromise
|
||||
role C {
|
||||
const Ni,Nr: Nonce;
|
||||
const Kr,Ki: SessionKey;
|
||||
var I,R,S: Agent;
|
||||
|
||||
read_!C1(C,C, I,R,S);
|
||||
send_!C2(C,C, R,{Ki}pk(S),
|
||||
I, {Kr}pk(S),
|
||||
{Kr}Ki,
|
||||
Kr
|
||||
);
|
||||
claim_C3(C,Empty, (Compromised,Kr));
|
||||
}
|
||||
}
|
||||
|
||||
protocol tmn(I,R,S)
|
||||
{
|
||||
role I
|
||||
|
||||
Reference in New Issue
Block a user