Skip to content

NFC EC: DRY PRIVATE_SCALAR_OPS.oneRR_mod_n.limbs#1755

Merged
briansmith merged 1 commit into
mainfrom
b/curve-gen-1
Oct 17, 2023
Merged

NFC EC: DRY PRIVATE_SCALAR_OPS.oneRR_mod_n.limbs#1755
briansmith merged 1 commit into
mainfrom
b/curve-gen-1

Conversation

@briansmith

Copy link
Copy Markdown
Owner

p256.rs and p384.rs were inconsistently doing the same thing. Make them consistent. Also in the case of p256.rs, avoid repeating the value of the constant.

@briansmith briansmith self-assigned this Oct 17, 2023
@briansmith

Copy link
Copy Markdown
Owner Author

@vkrasnov Please review this.

@codecov

codecov Bot commented Oct 17, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1755 (7502367) into main (20672b2) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1755      +/-   ##
==========================================
- Coverage   95.98%   95.97%   -0.02%     
==========================================
  Files         138      138              
  Lines       20609    20616       +7     
  Branches      221      221              
==========================================
+ Hits        19782    19786       +4     
- Misses        790      792       +2     
- Partials       37       38       +1     
Files Coverage Δ
src/ec/suite_b/ops/p256.rs 100.00% <100.00%> (ø)
src/ec/suite_b/ops/p384.rs 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Avoid repeating the value of `oneRR_mod_n` twice in each file.
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