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

universal-hash: add back finalize_reset #1054

Merged
merged 1 commit into from Jul 19, 2022

Conversation

tarcieri
Copy link
Member

This method was used by the aes-gcm-siv crate to handle a case where consuming self is problematic and borrowing &mut self is much more straightforward. It seems we've had several cases like this pop up with similar methods that were removed in other crates like block-modes and digest.

The method is provided but bounded on Clone + Reset, with the latter sourced from crypto-common.

This method was used by the `aes-gcm-siv` crate to handle a case where
consuming `self` is problematic and borrowing `&mut self` is much more
straightforward. It seems we've had several cases like this pop up with
similar methods that were removed in other crates like `block-modes` and
`digest`.

The method is provided but bounded on `Clone + Reset`, with the latter
sourced from `crypto-common`.
@tarcieri tarcieri merged commit ccd7182 into master Jul 19, 2022
@tarcieri tarcieri deleted the universal-hash/add-back-finalize-reset branch July 19, 2022 17:57
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

1 participant