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

Deduplicate hash support check functions #1322

Merged
merged 4 commits into from
Sep 19, 2024
Merged

Conversation

qmuntal
Copy link
Contributor

@qmuntal qmuntal commented Sep 18, 2024

There were three functions checking if a given backend supported a given hash function. This PR consolidates them into boring.SupportsHash, which is the only one that really queries the underlying crypto module.

This will help supporting SymCrypt.

Related to https://github.com/microsoft/go-lab/issues/110.

@karianna karianna merged commit 8a9f010 into microsoft/main Sep 19, 2024
23 checks passed
@qmuntal qmuntal deleted the dev/qmuntal/hashnorm branch September 19, 2024 06:55
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