cryptography-cafe / curve25519-elisabeth

Pure Java implementation of group operations on ristretto255 and Curve25519
Other
26 stars 9 forks source link

Introduce Scalar.reduce() #15

Closed str4d closed 5 years ago

str4d commented 5 years ago

Also clarifies that Scalar.add() and Scalar.subtract() only return canonical Scalars if the inputs are canonical.

codecov[bot] commented 5 years ago

Codecov Report

Merging #15 into master will decrease coverage by 0.43%. The diff coverage is 11.11%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #15      +/-   ##
============================================
- Coverage     96.39%   95.96%   -0.44%     
- Complexity      164      166       +2     
============================================
  Files            12       13       +1     
  Lines          1527     1536       +9     
  Branches         73       74       +1     
============================================
+ Hits           1472     1474       +2     
- Misses           36       44       +8     
+ Partials         19       18       -1
Impacted Files Coverage Δ Complexity Δ
...in/java/cafe/cryptography/curve25519/StrUtils.java 0% <0%> (ø) 0 <0> (?)
...main/java/cafe/cryptography/curve25519/Scalar.java 98.59% <50%> (ø) 35 <1> (+2) :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 03b9a17...e3f5334. Read the comment docs.