-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
80 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,24 @@ | ||
lemma reachable_stage1: | ||
define(<!M_LEMMA_REACHABLE!>,<! | ||
lemma reachable_$1_stage$2: | ||
exists-trace | ||
" | ||
Ex tid_c tid_s sid #t1 #t2 #t3 #t4 #t5 #t6 | ||
Ex tid_c tid_s sid #t1 #t2 #t3 #t4 #t5 #t6 #t7 #t8 | ||
. | ||
Accept(tid_c, '1') @ #t1 | ||
& Accept(tid_s, '1') @ #t2 | ||
Accept(tid_c, '$2') @ #t1 | ||
& Accept(tid_s, '$2') @ #t2 | ||
& Role(tid_c, 'client') @ #t3 | ||
& Role(tid_s, 'server') @ #t4 | ||
& SID(tid_c, '1', sid) @ #t5 | ||
& SID(tid_s, '1', sid) @ #t6 | ||
& not(tid_c = tid_s) | ||
" | ||
|
||
lemma reachable_stage2: | ||
exists-trace | ||
" | ||
Ex tid_c tid_s sid #t1 #t2 #t3 #t4 #t5 #t6 | ||
. | ||
Accept(tid_c, '2') @ #t1 | ||
& Accept(tid_s, '2') @ #t2 | ||
& Role(tid_c, 'client') @ #t3 | ||
& Role(tid_s, 'server') @ #t4 | ||
& SID(tid_c, '2', sid) @ #t5 | ||
& SID(tid_s, '2', sid) @ #t6 | ||
& not(tid_c = tid_s) | ||
" | ||
|
||
lemma reachable_stage3: | ||
exists-trace | ||
" | ||
Ex tid_c tid_s sid #t1 #t2 #t3 #t4 #t5 #t6 | ||
. | ||
Accept(tid_c, '3') @ #t1 | ||
& Accept(tid_s, '3') @ #t2 | ||
& Role(tid_c, 'client') @ #t3 | ||
& Role(tid_s, 'server') @ #t4 | ||
& SID(tid_c, '3', sid) @ #t5 | ||
& SID(tid_s, '3', sid) @ #t6 | ||
& not(tid_c = tid_s) | ||
" | ||
|
||
lemma reachable_stage4: | ||
exists-trace | ||
" | ||
Ex tid_c tid_s sid #t1 #t2 #t3 #t4 #t5 #t6 | ||
. | ||
Accept(tid_c, '4') @ #t1 | ||
& Accept(tid_s, '4') @ #t2 | ||
& Role(tid_c, 'client') @ #t3 | ||
& Role(tid_s, 'server') @ #t4 | ||
& SID(tid_c, '4', sid) @ #t5 | ||
& SID(tid_s, '4', sid) @ #t6 | ||
& not(tid_c = tid_s) | ||
" | ||
|
||
lemma reachable_stage5: | ||
exists-trace | ||
" | ||
Ex tid_c tid_s sid #t1 #t2 #t3 #t4 #t5 #t6 | ||
. | ||
Accept(tid_c, '5') @ #t1 | ||
& Accept(tid_s, '5') @ #t2 | ||
& Role(tid_c, 'client') @ #t3 | ||
& Role(tid_s, 'server') @ #t4 | ||
& SID(tid_c, '5', sid) @ #t5 | ||
& SID(tid_s, '5', sid) @ #t6 | ||
& not(tid_c = tid_s) | ||
" | ||
|
||
lemma reachable_stage6: | ||
exists-trace | ||
" | ||
Ex tid_c tid_s sid #t1 #t2 #t3 #t4 #t5 #t6 | ||
. | ||
Accept(tid_c, '6') @ #t1 | ||
& Accept(tid_s, '6') @ #t2 | ||
& Role(tid_c, 'client') @ #t3 | ||
& Role(tid_s, 'server') @ #t4 | ||
& SID(tid_c, '6', sid) @ #t5 | ||
& SID(tid_s, '6', sid) @ #t6 | ||
& SID(tid_c, '$2', sid) @ #t5 | ||
& SID(tid_s, '$2', sid) @ #t6 | ||
& ProtocolMode(tid_c, '$1') @ #t7 | ||
& ProtocolMode(tid_s, '$1') @ #t8 | ||
& not(tid_c = tid_s) | ||
" | ||
!>) | ||
|
||
M_LEMMA_REACHABLE(KEMTLS_SAUTH, 1) | ||
M_LEMMA_REACHABLE(KEMTLS_SAUTH, 2) | ||
M_LEMMA_REACHABLE(KEMTLS_SAUTH, 3) | ||
M_LEMMA_REACHABLE(KEMTLS_SAUTH, 4) | ||
M_LEMMA_REACHABLE(KEMTLS_SAUTH, 5) | ||
M_LEMMA_REACHABLE(KEMTLS_SAUTH, 6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
define(<!M_KEMTLS_SAUTH_STAGE1_TRANSCRIPT!>,<!<CLIENT_HELLO, SERVER_HELLO>!>) | ||
define(<!M_KEMTLS_SAUTH_STAGE2_TRANSCRIPT!>,<!<CLIENT_HELLO, SERVER_HELLO>!>) | ||
define(<!M_KEMTLS_SAUTH_STAGE3_TRANSCRIPT!>,<!<CLIENT_HELLO, SERVER_HELLO, SERVER_CERTIFICATE, CLIENT_KEM_CIPHERTEXT>!>) | ||
define(<!M_KEMTLS_SAUTH_STAGE4_TRANSCRIPT!>,<!<CLIENT_HELLO, SERVER_HELLO, SERVER_CERTIFICATE, CLIENT_KEM_CIPHERTEXT>!>) | ||
define(<!M_KEMTLS_SAUTH_STAGE5_TRANSCRIPT!>,<!<CLIENT_HELLO, SERVER_HELLO, SERVER_CERTIFICATE, CLIENT_KEM_CIPHERTEXT, CLIENT_FINISHED>!>) | ||
define(<!M_KEMTLS_SAUTH_STAGE6_TRANSCRIPT!>,<!<CLIENT_HELLO, SERVER_HELLO, SERVER_CERTIFICATE, CLIENT_KEM_CIPHERTEXT, CLIENT_FINISHED, SERVER_FINISHED>!>) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters