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

Add point add/dbl to ec_nistp_felem_meth and rename it to ec_nistp_meth #1654

Merged
merged 4 commits into from
Jun 25, 2024

Conversation

dkostic
Copy link
Contributor

@dkostic dkostic commented Jun 20, 2024

Issues:

N/A

Description of changes:

Add point add/dbl to ec_nistp_felem_meth and rename it to ec_nistp_meth.

Call-outs:

Point out areas that need special attention or support during the review process. Discuss architecture or design changes.

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@dkostic dkostic requested a review from a team as a code owner June 20, 2024 21:21
@@ -34,7 +34,7 @@ typedef uint64_t ec_nistp_felem_limb;
typedef uint32_t ec_nistp_felem_limb;
#endif

// ec_nistp_felem_meth is a struct that holds pointers to implementations of field
// ec_nistp_meth is a struct that holds pointers to implementations of field
Copy link
Contributor

Choose a reason for hiding this comment

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

The rest of the documentation would need to be adjusted to not only mention field arithmetic functions.

void ec_nistp_point_double(const ec_nistp_felem_meth *ctx,
} ec_nistp_meth;

const ec_nistp_meth *p256_felem_methods(void);
Copy link
Contributor

Choose a reason for hiding this comment

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

If the methods contain more than felem now, maybe you'd want to rename them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right, thanks for noticing!

@torben-hansen torben-hansen self-requested a review June 21, 2024 18:26
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@6a949d8). Learn more about missing BASE report.
Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1654   +/-   ##
=======================================
  Coverage        ?   78.21%           
=======================================
  Files           ?      566           
  Lines           ?    95175           
  Branches        ?    13661           
=======================================
  Hits            ?    74443           
  Misses          ?    20137           
  Partials        ?      595           

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

@dkostic dkostic merged commit 845ef24 into aws:main Jun 25, 2024
97 of 99 checks passed
@dkostic dkostic deleted the ec-nistp-point-methods branch June 25, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants