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

no_std support #9

Merged
merged 1 commit into from
Sep 3, 2020
Merged

no_std support #9

merged 1 commit into from
Sep 3, 2020

Conversation

tarcieri
Copy link
Contributor

No description provided.

Cargo.toml Outdated Show resolved Hide resolved
tarcieri added a commit to RustCrypto/traits that referenced this pull request Sep 3, 2020
Vendors the core set of group traits from the `group` crate:

https://github.com/zkcrypto/group

Using the upstream crate is presently blocked on `no_std` support:

zkcrypto/group#9

However, aside from a suggested change to the RNG API
(zkcrypto/group#10) the traits used in this PR are verbatim from the
upstream crate, so migrating to it should be easy.

This PR also removes the `rand` and `weierstrass` features from the
`elliptic-curve` crate, making `rand_core` a hard requirement, since it
seems at least `rand_core` will probably be a hard requirement for
`group`, and requiring an RNG as a hard dependency makes sense.
tarcieri added a commit to RustCrypto/traits that referenced this pull request Sep 3, 2020
Vendors the core set of group traits from the `group` crate:

https://github.com/zkcrypto/group

Using the upstream crate is presently blocked on `no_std` support:

zkcrypto/group#9

However, aside from a suggested change to the RNG API
(zkcrypto/group#10) the traits used in this PR are verbatim from the
upstream crate, so migrating to it should be easy.

This PR also removes the `rand` and `weierstrass` features from the
`elliptic-curve` crate, making `rand_core` a hard requirement, since it
seems at least `rand_core` will probably be a hard requirement for
`group`, and requiring an RNG as a hard dependency makes sense.
tarcieri added a commit to RustCrypto/traits that referenced this pull request Sep 3, 2020
Vendors the core set of group traits from the `group` crate:

https://github.com/zkcrypto/group

Using the upstream crate is presently blocked on `no_std` support:

zkcrypto/group#9

However, aside from a suggested change to the RNG API
(zkcrypto/group#10) the traits used in this PR are verbatim from the
upstream crate, so migrating to it should be easy.

This PR also removes the `rand` and `weierstrass` features from the
`elliptic-curve` crate, making `rand_core` a hard requirement, since it
seems at least `rand_core` will probably be a hard requirement for
`group`, and requiring an RNG as a hard dependency makes sense.
@ebfull ebfull merged commit 6c9dcc1 into zkcrypto:master Sep 3, 2020
@tarcieri tarcieri deleted the no_std branch September 3, 2020 17:31
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.

3 participants