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

Implement SerializableState for hashes #574

Merged
merged 19 commits into from Mar 19, 2024

Conversation

baloo
Copy link
Member

@baloo baloo commented Mar 17, 2024

This is a rebase of #385 on master.

RustCrypto/traits#1369 introduced a SerializableState trait to serialize the hasher. This implements it for each of the hashers we have.

This depends on:

@baloo
Copy link
Member Author

baloo commented Mar 17, 2024

cc @rpiasetskyi

Edit: The github UI is a bit confusing. I tried my best to keep your authorship, and I think individual commits should reflect that, but the github UI only lists me.

@baloo baloo force-pushed the baloo/serialize-state/rebase branch from 375bdc1 to fce1d94 Compare March 18, 2024 03:13
fsb/src/macros.rs Outdated Show resolved Hide resolved
@baloo baloo force-pushed the baloo/serialize-state/rebase branch from 6f1cd19 to a31cc1f Compare March 18, 2024 03:41
@wiktor-k
Copy link

This PR solves the issue with using SerializableState in my project that I've reported in RustCrypto/traits#1369 (comment)

Thanks for your work @baloo 🙏 !

@baloo baloo force-pushed the baloo/serialize-state/rebase branch from a31cc1f to e7f742b Compare March 18, 2024 22:27
@tarcieri tarcieri merged commit c30e701 into RustCrypto:master Mar 19, 2024
203 checks passed
@baloo baloo deleted the baloo/serialize-state/rebase branch March 19, 2024 21:48
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

3 participants