Skip to content

Add check in mta_proof #205

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

Merged
merged 2 commits into from
Sep 1, 2022
Merged

Add check in mta_proof #205

merged 2 commits into from
Sep 1, 2022

Conversation

yycen
Copy link
Contributor

@yycen yycen commented Sep 1, 2022

Add some checks according to report

// not a prime number. In this case, add `2` and try again. Do it at most 10
// times. If `q != 1 (mod 3)`, go to the point 4.
// 4. Now we know `q` is potentially prime and `p = 2q+1` is not a multiple of
// 3. We execute a preliminary primality test on `p`, checking whether
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should delete the indent here

@yycen yycen force-pushed the mta_proof_edge_check branch from 4871684 to 5ae8ad0 Compare September 1, 2022 10:06
This reverts commit 4871684.
@yycen yycen merged commit bde1ac3 into master Sep 1, 2022
@yycen yycen deleted the mta_proof_edge_check branch September 1, 2022 13:40
lukasz-zimnoch pushed a commit to keep-network/tss-lib that referenced this pull request Sep 14, 2022
* Add check in mta_proof

* go fmt on range_proof.go

This reverts commit 4871684.

(cherry picked from commit bde1ac3)
lukasz-zimnoch pushed a commit to keep-network/tss-lib that referenced this pull request Sep 14, 2022
* Add check in mta_proof

* go fmt on range_proof.go

This reverts commit 4871684.

(cherry picked from commit bde1ac3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants