Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Recommending-and-modelling-optimal-security-practices-for-smart-grid-connected-IoT-devices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mwh1g17
Recommending-and-modelling-optimal-security-practices-for-smart-grid-connected-IoT-devices
Commits
c155c2ff
Commit
c155c2ff
authored
5 years ago
by
mwh1g17
Browse files
Options
Downloads
Patches
Plain Diff
Key Exchange Protocol
parent
c7683ab4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Scyther Files/KeyExchange.spdl
+41
-0
41 additions, 0 deletions
Scyther Files/KeyExchange.spdl
with
41 additions
and
0 deletions
Scyther Files/KeyExchange.spdl
0 → 100644
+
41
−
0
View file @
c155c2ff
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);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment