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

Preallocated Contexts - Take 2 #63

Merged
merged 10 commits into from
Apr 8, 2021

Conversation

DavidBurkett
Copy link
Contributor

Replaces #61

Slightly more focused, with lower risk

@phyro
Copy link
Member

phyro commented Apr 3, 2021

@GeneFerneau could you throw an eye again on this one?
Would it make sense to get this one merged as well https://github.com/mimblewimble/secp256k1-zkp/pull/62/files and rerun the tests?

src/ecmult_gen_impl.h Show resolved Hide resolved
src/ecmult_gen_impl.h Show resolved Hide resolved
Comment on lines +142 to +148
secp256k1_gej d;
secp256k1_ge a_ge, d_ge, p_ge;
secp256k1_ge last_ge;
secp256k1_gej pj;
secp256k1_fe zi;
secp256k1_fe zr;
secp256k1_fe dx_over_dz_squared;
Copy link
Member

Choose a reason for hiding this comment

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

src/ecmult_gen_impl.h Show resolved Hide resolved
src/ecmult_impl.h Show resolved Hide resolved
Copy link
Member

@quentinlesceller quentinlesceller left a comment

Choose a reason for hiding this comment

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

Looks good to me. Cross checked every line with:

src/secp256k1.c Show resolved Hide resolved
src/secp256k1.c Show resolved Hide resolved
@quentinlesceller quentinlesceller merged commit 8d1f5bb into mimblewimble:master Apr 8, 2021
@GeneFerneau
Copy link

Re-ran tests with ASAN and the fixes from #64, no issues 🚀

Tested against static precomp enabled and disabled.

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.

4 participants