Bump k256 version and use the new functionality #87
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.
k256
dependency to 0.10.1 (.1 supportsReduceNonZero<U256>
that we need), and the sub-dependencies accordingly.k256
0.10 requirement)NonZeroCurveScalar
type (a wrapper for the backend type). Fixes Hashing to nonzero scalars #39.ZeroHash
errors were removedNonZeroCurveScalar
so that it could be used transparently in the code. If Add impl ofMul
forNonZeroScalar
*NonZeroScalar
RustCrypto/traits#857 is merged, the impl forNonZeroCurveScalar * NonZeroCurveScalar
can be simplified.SecretBox
in some places to wrap secret data. Filed Rethink zeroization whenZeroizeOnDrop
is available #89 to be fixed whenZeroizeOnDrop
is available.If RustCrypto/elliptic-curves#499 is resolved before this PR is merged (unlikely, but who knows),
NonZeroCurveScalar::invert()
can be simplified.