-
Notifications
You must be signed in to change notification settings - Fork 20
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
Change multiplication proof and add P!=Q constraint #5
base: main
Are you sure you want to change the base?
Conversation
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.
Almost there: I think the next round should solve it, once I understand the paper and we make the code match.
// Step 1: Compute commitments | ||
k_x = rnd(params.c.order), | ||
k_y = rnd(params.c.order), | ||
k_z = rnd(params.c.order), | ||
kx = params.c.newScalar(k_x), | ||
ky = params.c.newScalar(k_y), |
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.
To make my life I easy I would appreciate completely changing the notation to match that of the paper. It's very difficult to determine which variables are supposed to mean which without doing that.
Az = params.commit(k_z), | ||
A4_1 = params.commit(k_z), | ||
A4_2 = Cy.p.mul(kx), | ||
A4_2 = (Cx.p.mul(ky)).add(params.h.mul(kz)), | ||
// Step 2: Compute challenge H(Cx, Cy, Cz, C4, Ax, Ay, Az, A4_1, A4_2) |
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.
The comment will also need changing
A clean version with respect to the pull request #4