Skip to content

Conversation

@cryptosidh
Copy link
Contributor

Issue

Fixes #411

Description

Changed the computation of the Chaum-Pederson proofs to more efficient versions saving two modular exponentiations per proof. Still computes the exact same proofs and verification stays the same.

(Note, there is a typo in the Word document that is attached to the issue: the alternative for the proof of an encryption of zero needs to compute v1 = (v + c1*R) mod q.)

Testing

Run Chaum-Pedersen tests.

@keithrfung keithrfung changed the title optimized encryption equations issue 411 🧮 Utilize optimized encryption equations Sep 30, 2021
@keithrfung keithrfung self-requested a review September 30, 2021 18:31
Copy link
Contributor

@keithrfung keithrfung left a comment

Choose a reason for hiding this comment

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

@keithrfung keithrfung merged commit 58daf24 into Election-Tech-Initiative:main Sep 30, 2021
@cryptosidh cryptosidh deleted the feature/optimized-encryption-issue-411 branch September 30, 2021 18:35
@keithrfung keithrfung added hacktoberfest Issues for the Hacktoberfest hacktoberfest-accepted Pull Request will count towards Hacktoberfest labels Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest Issues for the Hacktoberfest hacktoberfest-accepted Pull Request will count towards Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🧮 Utilize optimized encryption equations

2 participants