-
Notifications
You must be signed in to change notification settings - Fork 36
chore(deps): bump digest pin #185
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
base: master
Are you sure you want to change the base?
Conversation
d3c9004
to
526c47d
Compare
hmac/src/optim.rs
Outdated
} | ||
} | ||
|
||
impl<D: EagerHash> FixedOutputCore for HmacCore<D> { | ||
impl<D: EagerHash> FixedOutput for Hmac<D> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not exactly happy with this change, I think this removes some amount of optimization as we can't access the inner FixedOutputCore
cc @newpavlov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's why we have the CoreProxy
trait. For the optimized implementation you should add bounds on D::Core
and use it in the generic implementation. We may need to add a from_core
method to it (which previously was an inherent method on CoreWrapper
). I planned to do it a bit later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed CoreProxy
!
digest doesn't provide `std` feature anymore
digest doesn't provide
std
feature anymoreDepends;
digest::newtype!
hashes#678