Skip to content

Commit

Permalink
First stage of PDK SAUTH or MUTUAL is not distinguished
Browse files Browse the repository at this point in the history
  • Loading branch information
dstebila committed Jan 10, 2022
1 parent 8bf497f commit 006588e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lemmas/reachable.spthy
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ M_LEMMA_REACHABLE(KEMTLS_MUTUAL, 6, 6, ⊤, ⊥, fs, fs, ⊥)
* codification of the FS and auth parameters specified in Section B.3
* of https://eprint.iacr.org/2021/779.pdf.
*/
M_LEMMA_REACHABLE(KEMTLS_PDK_SAUTH, 1, 1, ⊥, ⊥, nofs, nofs, ⊤)
M_LEMMA_REACHABLE(KEMTLS_PDK_SAUTH_OR_MUTUAL, 1, 1, ⊥, ⊥, nofs, nofs, ⊤)
M_LEMMA_REACHABLE(KEMTLS_PDK_SAUTH, 1, 2, ⊥, ⊥, nofs, nofs, ⊤)
M_LEMMA_REACHABLE(KEMTLS_PDK_SAUTH, 1, 3, ⊥, ⊥, nofs, nofs, ⊤)
M_LEMMA_REACHABLE(KEMTLS_PDK_SAUTH, 1, 4, ⊤, ⊥, nofs, nofs, ⊤)
Expand All @@ -151,7 +151,7 @@ M_LEMMA_REACHABLE(KEMTLS_PDK_SAUTH, 5, 5, ⊥, ⊥, fs, wfs1, ⊥)
* codification of the FS and auth parameters specified in Section B.3
* of https://eprint.iacr.org/2021/779.pdf.
*/
M_LEMMA_REACHABLE(KEMTLS_PDK_MUTUAL, 1, 1, ⊥, ⊥, nofs, nofs, ⊤)
dnl M_LEMMA_REACHABLE(KEMTLS_PDK_MUTUAL, 1, 1, ⊥, ⊥, nofs, nofs, ⊤)
M_LEMMA_REACHABLE(KEMTLS_PDK_MUTUAL, 1, 2, ⊥, ⊥, nofs, nofs, ⊤)
M_LEMMA_REACHABLE(KEMTLS_PDK_MUTUAL, 1, 3, ⊥, ⊥, nofs, nofs, ⊤)
M_LEMMA_REACHABLE(KEMTLS_PDK_MUTUAL, 1, 4, ⊤, ⊥, nofs, nofs, ⊤)
Expand Down
2 changes: 1 addition & 1 deletion protocol/kemtls_pdk_mutual_client.spthy
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rule KEMTLS_PDK_MUTUAL_ClientAction1:
]
--[
Role(~tid, 'client'),
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_MUTUAL'),
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_SAUTH_OR_MUTUAL'),
CID(~tid, '1', cid_1), SID(~tid, '1', sid_1),
Accept(~tid, '1'),
Owner(~tid, $C),
Expand Down
2 changes: 1 addition & 1 deletion protocol/kemtls_pdk_mutual_server.spthy
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rule KEMTLS_PDK_MUTUAL_ServerAction1:
Fr(~r_s)
]
--[
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_MUTUAL'),
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_SAUTH_OR_MUTUAL'),
ProtocolMode(~tid, '1', '2', 'KEMTLS_PDK_MUTUAL'),
ProtocolMode(~tid, '1', '3', 'KEMTLS_PDK_MUTUAL'),
ProtocolMode(~tid, '1', '4', 'KEMTLS_PDK_MUTUAL'),
Expand Down
2 changes: 1 addition & 1 deletion protocol/kemtls_pdk_sauth_client.spthy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rule KEMTLS_PDK_SAUTH_ClientAction1:
]
--[
Role(~tid, 'client'),
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_SAUTH'),
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_SAUTH_OR_MUTUAL'),
CID(~tid, '1', cid_1), SID(~tid, '1', sid_1),
Accept(~tid, '1'),
Owner(~tid, 'anonymous'),
Expand Down
2 changes: 1 addition & 1 deletion protocol/kemtls_pdk_sauth_server.spthy
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rule KEMTLS_PDK_SAUTH_ServerAction1:
Fr(~r_s)
]
--[
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_SAUTH'),
ProtocolMode(~tid, '1', '1', 'KEMTLS_PDK_SAUTH_OR_MUTUAL'),
ProtocolMode(~tid, '1', '2', 'KEMTLS_PDK_SAUTH'),
ProtocolMode(~tid, '1', '3', 'KEMTLS_PDK_SAUTH'),
ProtocolMode(~tid, '1', '4', 'KEMTLS_PDK_SAUTH'),
Expand Down

0 comments on commit 006588e

Please sign in to comment.