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

Expose sha256_utils behind a feature flag. #108

Merged
merged 4 commits into from Mar 24, 2020
Merged

Expose sha256_utils behind a feature flag. #108

merged 4 commits into from Mar 24, 2020

Conversation

dconnolly
Copy link
Contributor

We need to use compress256 as part of Zcash Sprout key derivation; this change exposes it as part of the sha256_utils module when using the utils feature.

@tarcieri tarcieri requested a review from newpavlov March 24, 2020 14:51
@tarcieri
Copy link
Member

In general this PR has a lot of seemingly unrelated formatting changes which, while good on their own, make it a bit hard to review.

@tarcieri
Copy link
Member

An alternative suggestion for accomplishing your intended goals here:

How about an off-by-default compress cargo feature which re-exports compress256 and compress512 from the toplevel?

@tarcieri
Copy link
Member

Awesome, looks great!

@tarcieri tarcieri merged commit 30b416a into RustCrypto:master Mar 24, 2020
@dconnolly
Copy link
Contributor Author

Thank you very much! 🎉

@dconnolly dconnolly deleted the expose-utils branch March 24, 2020 23:09
@tarcieri tarcieri mentioned this pull request May 24, 2020
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.

None yet

2 participants