727e813c77
Not everything is fixed yet. However, we fixed: - 'const' -> 'fresh' - Removed lines specifying 'runs' - Removed some specifications of compromised Eve and its long-term keys being compromised.
42 lines
708 B
Plaintext
42 lines
708 B
Plaintext
usertype SessionKey;
|
|
secret k: Function;
|
|
|
|
protocol andrewBan(I,R)
|
|
{
|
|
role I
|
|
{
|
|
fresh ni: Nonce;
|
|
var nr,nr2: Nonce;
|
|
var kir: SessionKey;
|
|
|
|
send_1(I,R, I,{ni}k(I,R) );
|
|
read_2(R,I, {ni,nr}k(I,R) );
|
|
send_3(I,R, {nr}k(I,R) );
|
|
read_4(R,I, {kir,nr2,ni}k(I,R) );
|
|
claim_5(I,Nisynch);
|
|
claim_5b(I,Niagree);
|
|
claim_6(I,Secret, kir);
|
|
claim_7(I,Secret, k(I,R));
|
|
}
|
|
|
|
role R
|
|
{
|
|
var ni: Nonce;
|
|
fresh nr,nr2: Nonce;
|
|
fresh kir: SessionKey;
|
|
|
|
read_1(I,R, I,{ni}k(I,R) );
|
|
send_2(R,I, {ni,nr}k(I,R) );
|
|
read_3(I,R, {nr}k(I,R) );
|
|
send_4(R,I, {kir,nr2,ni}k(I,R) );
|
|
claim_8(R,Nisynch);
|
|
claim_8b(R,Niagree);
|
|
claim_9(R,Secret, kir);
|
|
claim_10(R,Secret, k(I,R));
|
|
}
|
|
}
|
|
|
|
|
|
const kee: SessionKey;
|
|
|