Page MenuHomePhabricator

[SECP256K1] Optimization: use formulas instead of lookup tables for cancelling g bits
ClosedPublic

Authored by Fabien on Tue, Apr 13, 18:33.

Details

Summary
This only seems to be a win on 64-bit platforms, so only do it there.

Partial backport of secp256k1#831:
https://github.com/bitcoin-core/secp256k1/pull/831/commits/b306935ac12bb24fd931d735b4dfc07f707e7447

Depends on D9409.

Test Plan
ninja check-secp256k1

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable