-
Notifications
You must be signed in to change notification settings - Fork 1
docs: clarify X3DH primitive interfaces and passive-secrecy game #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jinxinglim
wants to merge
4
commits into
main
Choose a base branch
from
minor-refinements/comments-and-cleanup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+68
−6
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f45379d
docs: add future work comments to KEM.lean
jinxinglim 35fb47c
docs: add future work comments to AEAD.lean
jinxinglim e2a87c8
docs: add notation convention and fix subscripts in X3DH.lean
jinxinglim 2cda163
docs: clarify game setup and DDH reduction in X3DHPassiveMessageSecrecy
jinxinglim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you revise and elaborate this further?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. While I was reading through this file, I was wondering why do we embeds T as DH3 and not other DH. So wanted this paragraph to briefly explains why DH3 was chosen to be embedded by T. Perhaps it is not clear in my explanation. The following is an updated version of it:
"""
Why the reduction embeds T as DH3? The DDH challenge fixes two group elements (A, B) whose discrete logs are hidden from the reduction; these are installed as EKₐ and SPKᵦ in the simulated game, while ikₐ, ikᵦ, opkᵦ are sampled by the reduction itself. Of the four DH values, three can then be computed directly from the public keys and the reduction's own scalars: DH1 = ikₐ • SPKᵦ uses ikₐ, and DH2 = ekₐ • IKᵦ, DH4 = ekₐ • OPKᵦ are recovered via DH commutativity as ikᵦ • EKₐ and opkᵦ • EKₐ. DH3 = ekₐ • SPKᵦ is the only one requiring both hidden scalars — exactly the product ab • g that the challenge T encodes. So T is embedded at DH3, and the rest of the tuple is filled in honestly.
"""
WDYT? If you think providing more explanation may be even more confusing, then we can simply remove this newly added paragraph completely.