Skip to content

Conversation

@baloo
Copy link
Member

@baloo baloo commented Oct 14, 2025

I'm not sure I see why usage of DynDigest was originally introduced. The need to make the Digest also Send is hard to use in downstream crates.
I don't believe this was necessary, this removes its use and makes the consumer specify the Digest types.

@baloo
Copy link
Member Author

baloo commented Oct 14, 2025

cc @dignifiedquire

@baloo baloo force-pushed the baloo/remove-dyndigest branch from 80eca79 to c69f0f5 Compare October 14, 2025 07:20
I'm not sure I see why usage of `DynDigest` was originally introduced.
The need to make the Digest also Send is hard to use in downstream
crates.
I don't believe this was necessary, this removes its use and makes the
consumer specify the Digest types.
@baloo baloo force-pushed the baloo/remove-dyndigest branch from c69f0f5 to 36ba73e Compare October 14, 2025 07:24
@dignifiedquire
Copy link
Member

seems fine to me, I don't remember if there was a specific reason to use it

@tarcieri
Copy link
Member

I'm also fine with it, although my guess would be it was originally there to better support digests selected at runtime with less monomorphization bloat

@tarcieri tarcieri merged commit d0405d2 into RustCrypto:master Oct 14, 2025
12 checks passed
@baloo baloo deleted the baloo/remove-dyndigest branch October 14, 2025 17:52
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