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

digest: add ExtendableOutputDirty and VariableOutputDirty traits #183

Merged
merged 1 commit into from Jun 9, 2020

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jun 9, 2020

Adds traits which provide an implementation-focused low-level API similar to the FixedOutputDirty trait introduced in #180, but for the ExtendableOutput and VariableOutput traits.

Like FixedOutputDirty, these traits have blanket impls when the same type also impls the Reset trait.

Also adds corresponding *_reset methods to the respective finalize* methods of these traits.

Adds traits which provide an implementation-focused low-level API
similar to the `FixedOutputDirty` trait introduced in #180,
but for the `ExtendableOutput` and `VariableOutput` traits.

Like `FixedOutputDirty`, these traits have blanket impls when the same
type also impls the `Reset` trait.

Also adds corresponding `*_reset` methods to the respective `finalize*`
methods of these traits.
@tarcieri tarcieri requested a review from newpavlov June 9, 2020 18:22
@tarcieri tarcieri force-pushed the dirty-variable-output-and-xof branch from 5b4b533 to 4ce01a5 Compare June 9, 2020 18:47
@tarcieri tarcieri merged commit 35d7459 into master Jun 9, 2020
@tarcieri tarcieri deleted the dirty-variable-output-and-xof branch June 9, 2020 18:48
This was referenced Jun 9, 2020
dns2utf8 pushed a commit to dns2utf8/traits that referenced this pull request Jan 24, 2023
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

2 participants