Skip to content

secp256k1: Use new field mulbyx methods.#3717

Merged
davecgh merged 1 commit into
decred:masterfrom
davecgh:spec256k1_use_field_mulby
Jul 15, 2026
Merged

secp256k1: Use new field mulbyx methods.#3717
davecgh merged 1 commit into
decred:masterfrom
davecgh:spec256k1_use_field_mulby

Conversation

@davecgh

@davecgh davecgh commented Jul 1, 2026

Copy link
Copy Markdown
Member

This requires #3716.

This updates the code to make use of the new specialized MulBy2, MulBy3, MulBy4, and MulBy8 methods instead of MulInt in the curve equations.

This will ultimately ensure the faster specialized methods on the 64-bit field implementation are used when it is used as the underlying field.

@davecgh davecgh added this to the 2.2.0 milestone Jul 1, 2026
@davecgh
davecgh force-pushed the spec256k1_use_field_mulby branch from ab8696c to cbd2666 Compare July 8, 2026 04:50
This updates the code to make use of the new specialized MulBy2, MulBy3,
MulBy4, and MulBy8 methods instead of MulInt in the curve equations.

This will ultimately ensure the faster specialized methods on the 64-bit
field implementation are used when it is used as the underlying field.
@davecgh
davecgh force-pushed the spec256k1_use_field_mulby branch from cbd2666 to 173d0c4 Compare July 15, 2026 21:11
@davecgh
davecgh merged commit 173d0c4 into decred:master Jul 15, 2026
32 checks passed
@davecgh
davecgh deleted the spec256k1_use_field_mulby branch July 15, 2026 21:13
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