HomePhabricator

Clarify that a secp256k1_ecdh_hash_function must return 0 or 1

Description

Clarify that a secp256k1_ecdh_hash_function must return 0 or 1

Summary:
and improve style of the ECDH docs.

This is a backport of libsecp256k1 PR718

Depends on D5389

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Tim Ruffing <crypto@timruffing.de>Authored on Feb 10 2020, 11:55
deadalnixCommitted on Mar 2 2020, 15:25
deadalnixPushed on Mar 2 2020, 15:25
Reviewer
Restricted Project
Differential Revision
D5390: Clarify that a secp256k1_ecdh_hash_function must return 0 or 1
Parents
rABCc676868b398c: doc: document the length requirements of output parameter.
Branches
Unknown
Tags
Unknown