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

Modular adaptor #161

Open
wants to merge 328 commits into
base: develop
Choose a base branch
from

Conversation

nemothenoone
Copy link
Contributor

@nemothenoone nemothenoone commented Oct 15, 2019

Initial modular adaptor implementation.

Consists of a couple of reduction techniques (Montgomery and Barrett reduction techniques). Several supplementary functions. Works for all the backends available now.

Still has a huge room for improvements (e.g. speed, docs etc) and this is coming.

Right now usage examples can be found in examples/modular_examples.cpp.

Dependent on #143. Resolves #144 and NilFoundation#2.

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.

Modular arithmetics adaptor
5 participants