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

Added features and a bug fix from https://github.com/arnaucube/babyjubjub-rs/issues/7 #8

Open
wants to merge 46 commits into
base: master
Choose a base branch
from

Conversation

nanaknihal
Copy link

I merged the changes mentioned in #7 for more Point functions, ElGamal encryption/decryption, DLEQ proofs, (unoptimized) serialization/deserialization, a new Fl struct, and a bug fix.

Note: There is one planned change in that issue I did not make: preventing mul_scalar from accepting negative inputs. I imagine this is not unique to mul_scalar, so a better solution would be to replace all instances of BigInt to BigUint except when negative numbers are needed. There seem to be some places negative numbers are needed, and I wanted to be conservative by not changing them. Thus, refactoring BigInt usage to BigUint usage became a bit hairy and I opted not to make that change out of concern with potentially breaking some functionality.

@arnaucube
Copy link
Owner

Hi, just wanted to comment that I have this PR pending to check, but I'm not finding the needed time slot (as it introduces several new things that need time to be checked), but I'm not forgetting about it. Thanks a lot for the PR ☺️

@nanaknihal
Copy link
Author

Awesome. Incidentally, I've been working on it a bit today so there is a new push with some pretty minor changes

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