Page MenuHomePhabricator

add Schnorr signing module to test_framework [alternative implementation]
ClosedPublic

Authored by markblundeberg on Feb 5 2019, 16:08.

Details

Summary

This adds an independent Schnorr implementation like the functional test
framework's key.py. No new dependencies as it also runs on OpenSSL.

This will be needed so that we can produce real transaction signatures for
activation testing.

Includes a basic self-test if you execute the file, to make sure it
produces identical sigs as the implementation in libsecp256k1.

Alternative to D2487

Test Plan

includes self-test if you run the python file

Diff Detail

Repository
rABC Bitcoin ABC
Branch
alt_qa_schnorrsign
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4880
Build 7823: Bitcoin ABC Buildbot (legacy)
Build 7822: arc lint + arc unit

Event Timeline

Considering this is for testing, ti doesn't need t be constant time and all.

This revision is now accepted and ready to land.Feb 8 2019, 22:39