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

EC help, signed ff? #46

Open
cheako opened this issue Oct 12, 2020 · 0 comments
Open

EC help, signed ff? #46

cheako opened this issue Oct 12, 2020 · 0 comments

Comments

@cheako
Copy link

cheako commented Oct 12, 2020

I'm attempting to improve the performance of my EC library, by migrating to this library. I know I'm not supposed to write my own and I do understand that ff does not offer consistent time.
https://gitlab.com/cheako/jtm-rs/-/commit/714b6d624c485882d3c64b7d6b3b0b8cb38ec92f#b24749917179fb5e3e613ed2a703fcdcc6cdf9da_291_226
Here I'm checking if the value module q is negative, my usual calculations are done module p. So my question is, can ff implement signed finite fields? I'm so confused about finite fields in general... I basically brute forced my way through implementing this using num-bigint-dig.

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

No branches or pull requests

1 participant