ring icon indicating copy to clipboard operation
ring copied to clipboard

`StaticKeyPair` in agreement module

Open richard-w opened this issue 5 years ago • 2 comments

Adds agreement::StaticKeyPair and agreement::agree_static

Also restructures some existing tests to avoid duplication of code and test vectors.

Closes: #331

richard-w avatar Nov 08 '20 12:11 richard-w

The test failure is a spurious error in appveyor.

richard-w avatar Nov 08 '20 17:11 richard-w

Codecov Report

Merging #1081 (0da2432) into main (27200d4) will increase coverage by 0.03%. The diff coverage is 96.21%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1081      +/-   ##
==========================================
+ Coverage   91.97%   92.01%   +0.03%     
==========================================
  Files         106      106              
  Lines       14238    14395     +157     
==========================================
+ Hits        13096    13246     +150     
- Misses       1142     1149       +7     
Impacted Files Coverage Δ
tests/agreement_tests.rs 95.51% <94.00%> (-1.80%) :arrow_down:
src/agreement.rs 88.00% <98.82%> (+2.65%) :arrow_up:
src/aead/aes.rs 75.23% <0.00%> (-0.48%) :arrow_down:
src/ec/curve25519/x25519.rs 98.86% <0.00%> (+0.05%) :arrow_up:
tests/aead_tests.rs 97.13% <0.00%> (+0.35%) :arrow_up:
src/ec/keys.rs 98.21% <0.00%> (+1.78%) :arrow_up:
src/hkdf.rs 88.50% <0.00%> (+4.81%) :arrow_up:

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 27200d4...0da2432. Read the comment docs.

codecov[bot] avatar Dec 20 '20 10:12 codecov[bot]