Page MenuHomePhabricator

Pure python EC
ClosedPublic

Authored by Fabien on May 5 2020, 14:37.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rSTAGINGfb0ea54f2efe: Pure python EC
rABCfb0ea54f2efe: Pure python EC
Summary
This removes the dependency on OpenSSL for the interaction tests, by
providing a pure-Python
toy implementation of secp256k1.

Backport of core PR15826.

Test Plan
ninja check-functional-extended

*The following depends on D14007:*
Build for windows, then:

  • Install python if needed and add it to your path
  • If you copy the project to some place, you need at least the src,

test, share and your build directories.

  • Copy the test_runner.py to the build directory to replace the symlink
  • Update the config.ini file to match you paths

Then in a powershell:

$env:PYTHONIOENCODING="utf-8"
python .\test\functional\test_runner.py --force

You should note that only a few tests remain red, in particular all the
schnorr related tests since they still use openssl.

Diff Detail

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

Event Timeline

Fabien requested review of this revision.May 5 2020, 14:37

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix added a subscriber: deadalnix.

A follow up with the schnorr module is in order.

This revision is now accepted and ready to land.May 5 2020, 18:32
This revision was automatically updated to reflect the committed changes.