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

Compile basepoint multiplication tables into a binary form in build.rs #5

Closed
LLFourn opened this issue Jun 4, 2020 · 2 comments
Closed

Comments

@LLFourn
Copy link
Owner

LLFourn commented Jun 4, 2020

Right now we compile the multiplication tables into rust code as in the original parity code:
https://github.com/LLFourn/secp256kfun/blob/master/secp256kfun/build.rs#L41

We should compile it to a binary form and then read it in efficiently at compile time. We will probably need const_looping as mentioned in #3 (which will be stabilised soon I think).

@LLFourn
Copy link
Owner Author

LLFourn commented Jun 7, 2020

This was almost possible but rust-lang/rust#73083 got in the way.

@LLFourn
Copy link
Owner Author

LLFourn commented Nov 12, 2021

We're moving away from the parity backend so this is no longer relevant.

@LLFourn LLFourn closed this as completed Nov 12, 2021
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