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

elliptic-curve: add TODO for replacing UInt with an associated constant #661

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jun 8, 2021

Ideally instead of specifying a Curve::UInt associated type, we could instead specify a constant, and then pass that as a const generic parameter to crypto_bigint::UInt.

Unfortunately that requires a lot more functionality than is implemented in min_const_generics:

rust-lang/rust#60551

This commit makes a note of as much in the comments, calling it out as future work.

Ideally instead of specifying a `Curve::UInt` associated type, we could
instead specify a constant, and then pass that as a const generic
parameter to `crypto_bigint::UInt`.

Unfortunately that requires a lot more functionality than is implemented
in `min_const_generics`:

rust-lang/rust#60551

This commit makes a note of as much in the comments, calling it out as
future work.
@tarcieri tarcieri merged commit 2470bef into master Jun 8, 2021
@tarcieri tarcieri deleted the elliptic-curve/uint-todo branch June 8, 2021 01:14
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.

1 participant