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

Test all hashes using cryptotest.TestHash #65

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Conversation

qmuntal
Copy link
Member

@qmuntal qmuntal commented Sep 27, 2024

cryptotest.TestHash is copied from the standard library. It ensures that a given hash objects meets the behavior expected from a hash.Hash.

No bugs have been found here, but it is a nice to have to avoid regressions.

cng/hash_test.go Show resolved Hide resolved
Co-authored-by: Davis Goodin <[email protected]>
@karianna karianna merged commit f9843f6 into main Sep 27, 2024
16 checks passed
@dagood dagood deleted the dev/qmuntal/hashtest branch September 30, 2024 16:54
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.

4 participants