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

Remove the workspace argument to various ECC interfaces #4555

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

randombit
Copy link
Owner

This was a performance crutch for EC_Point and is no longer required.

This should not go into a release without #4554 as otherwise it would pessimize oddball curves

@coveralls
Copy link

coveralls commented Jan 15, 2025

Coverage Status

coverage: 91.211% (+0.003%) from 91.208%
when pulling 449f252 on jack/remove-ws-arg
into 5e2bd03 on master.

secure_vector<uint8_t> mul_x_only(const EC_Scalar& scalar,
RandomNumberGenerator& rng,
std::vector<BigInt>& ws) const;
secure_vector<uint8_t> mul_x_only(const EC_Scalar& scalar, RandomNumberGenerator& rng) const;
Copy link
Collaborator

Choose a reason for hiding this comment

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

For the record: This API was added recently and hence doesn't require a deprecation, correct?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Correct.

If this ends up not making it for 3.7 I'll switch it to be like the others with a second deprecated function that ignores the arg

src/tests/test_ecc_pointmul.cpp Outdated Show resolved Hide resolved
This was a performance crutch for EC_Point and is no longer required.
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