crypto-common: add SerializableState trait#1361
Closed
rpiasetskyi wants to merge 12 commits intoRustCrypto:cipher+digest/hybrid-arrayfrom
Closed
crypto-common: add SerializableState trait#1361rpiasetskyi wants to merge 12 commits intoRustCrypto:cipher+digest/hybrid-arrayfrom
rpiasetskyi wants to merge 12 commits intoRustCrypto:cipher+digest/hybrid-arrayfrom
Conversation
Replaces `generic-array` with `hybrid-array`, which is built on a combination of `typenum` and const generics, providing a degree of interoperability between the two systems. `hybrid-array` is designed to be a largely drop-in replacement, and the number of changes required to switch are relatively minimal aside from some idiosyncracies.
Replaces `generic-array` with `hybrid-array`, which is built on a combination of `typenum` and const generics, providing a degree of interoperability between the two systems. `hybrid-array` is designed to be a largely drop-in replacement, and the number of changes required to switch are relatively minimal aside from some idiosyncrasies.
Contributor
Author
|
@tarcieri sorry for the mess with PR :( |
Member
|
No worries |
fef2d6d to
470f0ac
Compare
This trait is used for saving the internal state of the object and restoring the object from the serialized state.
fb64380 to
f93a1d6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trait for saving the internal state of the object and restoring it later.
Original PR: #1078