Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k256: impl Eq/PartialEq/ConstantTimeEq for SigningKey #359

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

tarcieri
Copy link
Member

The Eq/PartialEq impls use ConstantTimeEq internally.

This is useful for writing tests that need to compare keys.

The `Eq`/`PartialEq` impls use `ConstantTimeEq` internally.

This is useful for writing tests that need to compare keys.
@tarcieri tarcieri changed the title k256: impl Eq/PartialEq/ConstantTimeEq for SigningKey k256: impl Eq/PartialEq/ConstantTimeEq for SigningKey Jun 14, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #359 (1e0f3b5) into master (08a3f6f) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #359      +/-   ##
==========================================
- Coverage   58.03%   57.97%   -0.06%     
==========================================
  Files          29       29              
  Lines        4032     4036       +4     
==========================================
  Hits         2340     2340              
- Misses       1692     1696       +4     
Impacted Files Coverage Δ
k256/src/ecdsa/sign.rs 17.94% <0.00%> (-0.98%) ⬇️

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 08a3f6f...1e0f3b5. Read the comment docs.

@tarcieri tarcieri merged commit 4fa72c0 into master Jun 14, 2021
@tarcieri tarcieri deleted the k256/signing-key-eq branch June 14, 2021 19:26
@tarcieri tarcieri mentioned this pull request Jun 14, 2021
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