Skip to content

k256/p256: impl Generate for Scalar types#90

Merged
tarcieri merged 1 commit into
masterfrom
scalar-generate
Jul 27, 2020
Merged

k256/p256: impl Generate for Scalar types#90
tarcieri merged 1 commit into
masterfrom
scalar-generate

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Impls the new trait for random generation added in RustCrypto/traits#220.

This can potentially be used to completely replace the GenerateSecretKey trait, since that can now be made a conditionally impl'd inherent method on SecretKey with where bounds on Scalar: Generate.

Impls the new trait for random generation added in
RustCrypto/traits#220.

This can potentially be used to completely replace the
`GenerateSecretKey` trait, since that can now be made a conditionally
impl'd inherent method on `SecretKey` with where bounds on
`Scalar: Generate`.
@codecov-commenter

codecov-commenter commented Jul 27, 2020

Copy link
Copy Markdown

Codecov Report

Merging #90 into master will decrease coverage by 0.09%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
- Coverage   53.19%   53.10%   -0.10%     
==========================================
  Files          18       18              
  Lines        3412     3418       +6     
==========================================
  Hits         1815     1815              
- Misses       1597     1603       +6     
Impacted Files Coverage Δ
k256/src/arithmetic.rs 85.52% <0.00%> (+0.28%) ⬆️
k256/src/arithmetic/scalar.rs 75.59% <0.00%> (-1.11%) ⬇️
p256/src/arithmetic.rs 83.84% <0.00%> (+1.13%) ⬆️
p256/src/arithmetic/scalar.rs 64.66% <0.00%> (-1.78%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a56ecd...66644ab. Read the comment docs.

@tarcieri tarcieri merged commit 5eb60d0 into master Jul 27, 2020
@tarcieri tarcieri deleted the scalar-generate branch July 27, 2020 17:05
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.

2 participants