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

Traits for multiscalar multiplication #139

Closed
hdevalence opened this issue May 14, 2018 · 1 comment
Closed

Traits for multiscalar multiplication #139

hdevalence opened this issue May 14, 2018 · 1 comment

Comments

@hdevalence
Copy link
Contributor

Split from #125: without settling on the design of the precomputation API, I think it makes sense to refactor the multiscalar functions to be traits implemented on the point types. Some of this is already done in the precomputation branch and could be extracted.

One question that would be worth thinking about is whether we want to stay with static dispatch for the iterators or to use dynamic dispatch. The downside of static dispatch is that it bloats the code size (maybe this doesn't matter) and that it prevents the multiscalar trait from being object-safe (which would prevent making opaque precomputation structs).

@hdevalence
Copy link
Contributor Author

This is closed by #144.

pinkforest pushed a commit to pinkforest/curve25519-dalek that referenced this issue Jun 27, 2023
…_usage

Make `use rand::...` gated on `cfg(feature = "rand")`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant