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/p256: impl Zeroize for AffinePoint and FieldElement types #124

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

tarcieri
Copy link
Member

This is used by the generic ecdh implementation to zero out the transient shared secret value after it's been serialized to bytes.

This is used by the generic `ecdh` implementation to zero out the
transient shared secret value after it's been serialized to bytes.
@codecov-commenter
Copy link

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   51.63%   51.34%   -0.30%     
==========================================
  Files          21       21              
  Lines        3484     3504      +20     
==========================================
  Hits         1799     1799              
- Misses       1685     1705      +20     
Impacted Files Coverage Δ
k256/src/arithmetic.rs 83.44% <0.00%> (-0.88%) ⬇️
k256/src/arithmetic/field.rs 91.21% <0.00%> (-0.90%) ⬇️
k256/src/arithmetic/field/field_10x26.rs 0.00% <0.00%> (ø)
k256/src/arithmetic/field/field_5x52.rs 92.22% <0.00%> (-0.66%) ⬇️
k256/src/arithmetic/field/field_impl.rs 89.70% <0.00%> (-5.61%) ⬇️
k256/src/arithmetic/field/field_montgomery.rs 0.00% <0.00%> (ø)
p256/src/arithmetic.rs 83.21% <0.00%> (-0.87%) ⬇️
p256/src/arithmetic/field.rs 77.60% <0.00%> (-0.63%) ⬇️
p256/src/ecdsa.rs 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 86845cf...a3bff9b. Read the comment docs.

@tarcieri tarcieri merged commit 68a83c8 into master Aug 10, 2020
@tarcieri tarcieri deleted the zeroize-affine-point-and-field-elements branch August 10, 2020 19:21
@tarcieri tarcieri mentioned this pull request Aug 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