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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

markblundeberg created this revision.Feb 5 2019, 16:08
Herald added a reviewer: Restricted Project. · View Herald TranscriptFeb 5 2019, 16:08
Herald added a subscriber: schancel. · View Herald Transcript
deadalnix accepted this revision.Feb 8 2019, 22:39

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
Closed by commit rABC5378d0a4977a: add Schnorr signing module to test_framework [alternative implementation] (authored by Mark Lundeberg <36528214+markblundeberg@users.noreply.github.com>). · Explain WhyFeb 8 2019, 23:48
This revision was automatically updated to reflect the committed changes.