-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add ternary cryptographic sponges #109
Add ternary cryptographic sponges #109
Conversation
} | ||
} | ||
|
||
impl<T: Sponge, U: DerefMut<Target = T>> Sponge for U { |
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.
Is this necessary? Uses of this impl could just borrow &mut foo
and Rust's dereference coercion should do the rest.
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.
This is necessary for CurlP27
and CurlP81
that are wrappers of CurlP
implementing Deref
.
28502a2
Description of change
Add ternary cryptographic sponges
Links to any relevant issues
#77
How the change has been tested
Added tests.
Change checklist
Tick the boxes that are relevant to your changes, and delete any items that are not.