HomePhabricator

Add CKey::SignSchnorr and CPubKey::VerifySchnorr

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

Provenance
Mark LundebergAuthored on Jan 31 2019, 15:02
markblundebergPushed on Jan 31 2019, 20:15
Reviewer
Restricted Project
Differential Revision
D2348: Add CKey::SignSchnorr and CPubKey::VerifySchnorr
Parents
rSTAGING0ecab1630825: Remove NODE_WITNESS from messages.py
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/7075