Skip to content

Commit

Permalink
Update match security to account for replayable stages
Browse files Browse the repository at this point in the history
  • Loading branch information
dstebila committed Jan 10, 2022
1 parent 4ab2e1c commit 8bf497f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lemmas/match_security.spthy
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ lemma match_prop2:
& SID(tid_b, stage, sid) @ #t2
& Role(tid_a, role_a) @ #t3
& Role(tid_b, role_b) @ #t4
// Added in Definition B.4.1 property 2 of https://eprint.iacr.org/2021/779.pdf
& (
not(role_a = 'server')
| (
role_b = 'server'
& not(Ex #tr . Replayable(tid_a, stage) @ #tr)
)
)
==> not(role_a = role_b)
"

Expand Down Expand Up @@ -161,6 +169,8 @@ lemma match_prop6:
All tid_a tid_b tid_c stage_i sid #t1 #t2 #t3
.
not(tid_a = tid_b)
// Added in Definition B.4.1 property 7 of https://eprint.iacr.org/2021/779.pdf
& not(Ex #tr . Replayable(tid_a, stage_i) @ #tr)
& SID(tid_a, stage_i, sid) @ #t1
& SID(tid_b, stage_i, sid) @ #t2
& SID(tid_c, stage_i, sid) @ #t3
Expand Down

0 comments on commit 8bf497f

Please sign in to comment.