Skip to content
Snippets Groups Projects
Commit dc314d67 authored by mwh1g17's avatar mwh1g17
Browse files
parents ecd1b61e c155c2ff
No related branches found
No related tags found
No related merge requests found
hashfunction hashed;
protocol KeyExchange(Monitor,CloudServer)
{
role Monitor
{
fresh MonitorValue : Nonce;
var CloudServerValue : Nonce;
send_1(Monitor,CloudServer,{Monitor,MonitorValue}pk(CloudServer));
recv_2(CloudServer,Monitor, {CloudServerValue,hashed(MonitorValue),CloudServer}pk(Monitor));
send_3(Monitor,CloudServer, hashed(CloudServerValue));
claim_Monitor1(Monitor,Niagree);
claim_Monitor2(Monitor,Nisynch);
claim_Monitor3(Monitor, Secret, MonitorValue);
claim_Monitor4(Monitor, Secret, CloudServerValue);
}
role CloudServer
{
var MonitorValue: Nonce;
fresh CloudServerValue: Nonce;
recv_1(Monitor,CloudServer,{Monitor,MonitorValue}pk(CloudServer));
send_2(CloudServer,Monitor, {CloudServerValue,hashed(MonitorValue),CloudServer}pk(Monitor));
recv_3(Monitor,CloudServer, hashed(CloudServerValue));
claim_CloudServer1(CloudServer,Niagree);
claim_CloudServer2(CloudServer,Nisynch);
claim_CloudServer3(CloudServer, Secret, MonitorValue);
claim_CloudServer4(CloudServer, Secret, CloudServerValue);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment