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 FieldBits impl for Secp256r1 & remove utils module #123

Merged
merged 2 commits into from
Jan 7, 2024
Merged

Conversation

CPerezz
Copy link
Member

@CPerezz CPerezz commented Jan 5, 2024

It doesn't make much sense to have a utils module which in reality
just has one function that only integration tests require.

So, chore: Move fe_from_str to integration tests file removing code
from the lib itself.

Also, notice that the CI was giving an unused warning for MODULUS_32BITS for secp256r1. After checking I saw that it was not used because we weren't implementing FieldBits for it.

So this PR also adds this.

It doesn't make much sense to have a `utils` module which in reality
just has one function that only integration tests require.

So, chore: Move `fe_from_str` to integration tests file removing code
from the lib itself.
Copy link
Contributor

@duguorong009 duguorong009 left a comment

Choose a reason for hiding this comment

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

Thanks for PR! 👍

Copy link
Contributor

@davidnevadoc davidnevadoc left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@CPerezz CPerezz added this pull request to the merge queue Jan 7, 2024
Merged via the queue into main with commit 9fc20ec Jan 7, 2024
7 checks passed
@CPerezz CPerezz mentioned this pull request Jan 10, 2024
@CPerezz CPerezz deleted the fix/warnings branch January 10, 2024 20:10
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.

3 participants