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, 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