HomePhabricator

Add CKey::SignSchnorr and CPubKey::VerifySchnorr

Authored by Mark Lundeberg on Jan 31 2019, 15:02.

Description

Add CKey::SignSchnorr and CPubKey::VerifySchnorr

Summary:
This is coded for 64-byte schnorr sigs (no flag byte).

Depends on D2345 and D2169 .

Test Plan:

  • Tests added that mimic those used for SignECDSA/VerifyECDSA.
  • Test that nonce reuse does not occur for ECDSA and Schnorr.

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, deadalnix, jasonbcox

Subscribers: jasonbcox, teamcity, schancel

Maniphest Tasks: T527

Differential Revision: https://reviews.bitcoinabc.org/D2348

Details

Committed
Mark LundebergJan 31 2019, 19:05
Pushed
markblundebergJan 31 2019, 19:05
Reviewer
Restricted Project
Differential Revision
D2348: Add CKey::SignSchnorr and CPubKey::VerifySchnorr
Parents
rABC0ecab1630825: Remove NODE_WITNESS from messages.py
Branches
Unknown
Tags
Unknown

Event Timeline