Skip to content

ecdsa: use FromDigest trait; RFC6979 fixups#134

Merged
tarcieri merged 1 commit into
masterfrom
ecdsa/use-from-digest-and-rfc6979-fixups
Sep 1, 2020
Merged

ecdsa: use FromDigest trait; RFC6979 fixups#134
tarcieri merged 1 commit into
masterfrom
ecdsa/use-from-digest-and-rfc6979-fixups

Conversation

@tarcieri

@tarcieri tarcieri commented Sep 1, 2020

Copy link
Copy Markdown
Member
  • Uses the FromDigest trait to automatically convert message digests into a C::Scalar value
  • Updates SignPrimitive and VerifyPrimitive to accept a scalar
  • Updates the dev module accordingly with the above
  • Exposes the ecdsa::signer::rfc6979 module and makes the generate_k method pub

- Uses the `FromDigest` trait to automatically convert message digests
  into a `C::Scalar` value
- Updates `SignPrimitive` and `VerifyPrimitive` to accept a scalar
- Updates the `dev` module accordingly with the above
- Exposes the `ecdsa::signer::rfc6979` module and makes the `generate_k`
  method `pub`
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #134 into master will decrease coverage by 0.29%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
- Coverage   37.60%   37.30%   -0.30%     
==========================================
  Files           7        7              
  Lines         250      252       +2     
==========================================
  Hits           94       94              
- Misses        156      158       +2     
Impacted Files Coverage Δ
ecdsa/src/hazmat.rs 0.00% <ø> (ø)
ecdsa/src/lib.rs 47.61% <ø> (ø)
ecdsa/src/signer.rs 0.00% <0.00%> (ø)
ecdsa/src/signer/rfc6979.rs 0.00% <0.00%> (ø)
ecdsa/src/verifier.rs 0.00% <0.00%> (ø)

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 66c9393...df15414. Read the comment docs.

@tarcieri tarcieri merged commit 1ed8c2f into master Sep 1, 2020
@tarcieri tarcieri deleted the ecdsa/use-from-digest-and-rfc6979-fixups branch September 1, 2020 14:38
@tarcieri tarcieri mentioned this pull request Sep 11, 2020
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