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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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