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

powmod functions from GMP #193

Merged
merged 13 commits into from
Feb 13, 2017
Merged

powmod functions from GMP #193

merged 13 commits into from
Feb 13, 2017

Conversation

jpflori
Copy link
Contributor

@jpflori jpflori commented Feb 13, 2017

This is just a trivial merge with my old branch from 2014.
Code in GMP might have evolved since then, but at least in 2014 their code was faster than MPIR's code.

I did not autoreconf'ed MPIR, one need to do it before configure/make/make check...

Closes #83.

@wbhart
Copy link
Owner

wbhart commented Feb 13, 2017

Thanks. I can handle the autoreconf.

@wbhart wbhart merged commit 8f7df12 into wbhart:master Feb 13, 2017
@wbhart
Copy link
Owner

wbhart commented Feb 13, 2017

I made all the changes to get this working with the latest MPIR. We'll need to return for all the arches we have access to though, to get

BINV_NEWTON_THRESHOLD
REDC_1_TO_REDC_2_THRESHOLD
REDC_2_TO_REDC_N_THRESHOLD

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