Skip to content

ecdsa: Verifier facade (gated under verifier feature)#110

Merged
tarcieri merged 1 commit into
masterfrom
ecdsa/verifier
Jul 31, 2020
Merged

ecdsa: Verifier facade (gated under verifier feature)#110
tarcieri merged 1 commit into
masterfrom
ecdsa/verifier

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Adds a ecdsa::verifier::Verifier facade which handles parsing of PublicKey and computing digests of messages, ala the Signer facade added in #109.

The implementation is generic over the elliptic curve and digest function, providing a DigestVerifier impl, and when the curve type impls DigestPrimitive, a Verifier impl as well.

@codecov-commenter

codecov-commenter commented Jul 31, 2020

Copy link
Copy Markdown

Codecov Report

Merging #110 into master will decrease coverage by 2.09%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
- Coverage   48.73%   46.63%   -2.10%     
==========================================
  Files           4        5       +1     
  Lines         197      208      +11     
==========================================
+ Hits           96       97       +1     
- Misses        101      111      +10     
Impacted Files Coverage Δ
ecdsa/src/lib.rs 61.76% <ø> (+2.94%) ⬆️
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 b95afa6...9860980. Read the comment docs.

Adds a `ecdsa::verifier::Verifier` facade which handles parsing of
`PublicKey` and computing digests of messages, ala the `Signer` facade
added in #109.

The implementation is generic over the elliptic curve and digest
function, providing a `DigestVerifier` impl, and when the curve type
impls `DigestPrimitive`, a `Verifier` impl as well.
@tarcieri tarcieri merged commit 9cba7df into master Jul 31, 2020
@tarcieri tarcieri deleted the ecdsa/verifier branch July 31, 2020 17:24
tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request Jul 31, 2020
Adds a type alias for `ecdsa::verifier::Verifier` (introduced in
RustCrypto/signatures#110) which provides a high-level ECDSA signing
interface.
tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request Aug 1, 2020
Adds a type alias for `ecdsa::verifier::Verifier` (introduced in
RustCrypto/signatures#110) which provides a high-level ECDSA signing
interface.
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