Skip to content

Conversation

@kigawas
Copy link
Member

@kigawas kigawas commented Oct 13, 2025

To get rid of config reference in elliptic module

@kigawas kigawas requested a review from Copilot October 13, 2025 11:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a compressed argument to the encapsulate and decapsulate functions across different elliptic curve implementations to eliminate the need for config references within the elliptic module.

  • Adds compressed boolean parameter to encapsulate and decapsulate functions
  • Updates all function calls to pass the compression flag from config
  • Removes direct config dependencies from elliptic curve modules

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/lib.rs Updates function calls to pass is_hkdf_key_compressed() as parameter
src/elliptic/secp256k1.rs Implements compressed parameter and removes config import
src/elliptic/x25519.rs Adds compressed parameter (unused for this curve)
src/elliptic/ed25519.rs Adds compressed parameter (unused for this curve)
src/elliptic/mod.rs Updates test to use new function signature
Cargo.toml Version bump and dependency updates
CHANGELOG.md Documents the API change

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kigawas kigawas force-pushed the remove-config-in-elliptic branch from 864d2fe to 5acd1bb Compare October 13, 2025 11:14
@kigawas kigawas requested a review from Copilot October 13, 2025 11:19
@codecov
Copy link

codecov bot commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (06a7171) to head (5acd1bb).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #141   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          661       665    +4     
=========================================
+ Hits           661       665    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kigawas kigawas requested a review from Copilot October 13, 2025 11:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kigawas kigawas merged commit 947eeb6 into master Oct 14, 2025
17 checks passed
@kigawas kigawas deleted the remove-config-in-elliptic branch October 14, 2025 00:33
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