Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
joydeep
VerifyTESLA
Commits
b76177c9
Commit
b76177c9
authored
Apr 26, 2019
by
Kayla Mesh
Browse files
Added key commitment constraint
parent
cf794446
Changes
1
Hide whitespace changes
Inline
Side-by-side
maude/examples/tesla.psl
View file @
b76177c9
...
...
@@ -13,7 +13,11 @@ Theory
ops TS TR : -> Nat .
op TRUE : -> True .
op FALSE : -> False .
// Sender setup
op DELAY : -> Nat .
op KEY_COMMIT : -> Key .
op START : -> Key .
op _+_ : Nat Nat -> Nat [assoc comm id: ZERO] .
op _-_ : Nat Nat -> Nat .
...
...
@@ -42,8 +46,8 @@ Theory
eq geq(intSrc(i),+(i,DELAY)) = FALSE .
eq geq(
x,w) = FALS
E .
eq
f(x)
= ^(f(w), -(w,
x
)) .
eq geq(
w,START) = TRU
E .
eq
KEY_COMMIT
= ^(f(w), -(w,
START + DELAY
)) .
Protocol
vars SName RName S1Name R1Name : Name .
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment