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

feat: add hash to field #855

Merged
merged 1 commit into from
Jan 3, 2022
Merged

feat: add hash to field #855

merged 1 commit into from
Jan 3, 2022

Conversation

mikelodder7
Copy link
Contributor

Upstream hash2field as described in PR 495

Signed-off-by: Michael Lodder <redmike7@gmail.com>
@@ -47,6 +48,7 @@ arithmetic = ["ff", "group"]
bits = ["arithmetic", "ff/bits"]
dev = ["arithmetic", "hex-literal", "pem", "pkcs8"]
ecdh = ["arithmetic"]
hashing = ["digest"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elsewhere in RustCrypto we generally just keep digest-related functionality gated behind the digest feature

@tarcieri
Copy link
Member

tarcieri commented Jan 3, 2022

Going to go ahead and merge this. Can fix up hashing => digest separately.

While I do have some general concerns about how this is structured, I think trying to play with some alternatives really needs to have everything wired up with concrete implementations in the elliptic-curve crates to see what actually works and what doesn't.

@tarcieri tarcieri merged commit 432a964 into RustCrypto:master Jan 3, 2022
@tarcieri tarcieri mentioned this pull request Jan 14, 2022
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.

2 participants