Page MenuHomePhabricator

[SECP256K1] Move secp256k1_scalar_{inverse{_var},is_even} and secp256k1_fe_inverse{_var} to per-impl files
ClosedPublic

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

Details

Summary

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

These are move only commits in preparation for replacing the functions
with their new safegcd variants. There is no change in behavior.

Depends on D9403.

Test Plan
ninja check-secp256k1

Diff Detail

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