Skip to content
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

feat: add proving system relations #96

Merged
merged 1 commit into from
Jul 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/RFC-0182_CommitmentSignatures.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ While it is defined as an interactive protocol, the (strong) Fiat-Shamir techniq
## Value-hiding protocol

We first describe the version of the protocol that does not reveal the commitment value.
It is a sigma protocol for the following relation, where $G$ and $H$ are fixed group generators with no efficiently-computable discrete logarithm relationship:
\\[
\left\\{ C, P ; (a, x, y) | C = aH + xG, P = yG \right\\}
\\]
The interactive form of this protocol proceeds as follows:
- The prover samples scalar nonces $r_a, r_x, r_y$ uniformly at random.
- The prover computes ephemeral values $C_{eph} = r_a H + r_x G$ and $P_{eph} = r_y G$, and sends these values to the verifier.
Expand Down Expand Up @@ -122,6 +126,10 @@ This shows the protocol is special honest-verifier zero knowledge.

We now describe a modified version of the protocol that reveals the commitment value.
While this protocol can be made more efficient than we list here (discussed later), this design is intended to be more closely compatible with the value-hiding protocol for easier implementation.
It is a sigma protocol for the following relation, where $G$ and $H$ are fixed group generators with no efficiently-computable discrete logarithm relationship:
\\[
\left\\{ C, P, a ; (x, y) | C = aH + xG, P = yG \right\\}
\\]
The interactive form of this protocol proceeds as follows:
- The prover samples scalar nonces $r_x, r_y$ uniformly at random.
- The prover computes ephemeral values $C_{eph} = r_x G$ and $P_{eph} = r_y G$, and sends these values to the verifier.
Expand Down
Loading