Skip to content

Commit 1cf15eb

Browse files
committed
Merge bitcoin-core/secp256k1#1296: docs: complete interface description for secp256k1_schnorrsig_sign_custom
149c41c docs: complete interface description for `secp256k1_schnorrsig_sign_custom` (Sebastian Falbesoner) Pull request description: ACKs for top commit: real-or-random: utACK 149c41c jonasnick: ACK 149c41c Tree-SHA512: ee677ed6b474b547066ce149688edab7ba6d2572acfbc0989256a669341fff4cf2e17b451cd3fc6fff3944a896647f0f5c1411056678505fa85ba71e8cfe6229
2 parents f30c748 + 149c41c commit 1cf15eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

include/secp256k1_schnorrsig.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,13 @@ SECP256K1_API int secp256k1_schnorrsig_sign(
144144
* Creates the same signatures as schnorrsig_sign if msglen is 32 and the
145145
* extraparams.ndata is the same as aux_rand32.
146146
*
147+
* Returns 1 on success, 0 on failure.
148+
* Args: ctx: pointer to a context object (not secp256k1_context_static).
149+
* Out: sig64: pointer to a 64-byte array to store the serialized signature.
147150
* In: msg: the message being signed. Can only be NULL if msglen is 0.
148-
* msglen: length of the message
149-
* extraparams: pointer to a extraparams object (can be NULL)
151+
* msglen: length of the message.
152+
* keypair: pointer to an initialized keypair.
153+
* extraparams: pointer to an extraparams object (can be NULL).
150154
*/
151155
SECP256K1_API int secp256k1_schnorrsig_sign_custom(
152156
const secp256k1_context *ctx,

0 commit comments

Comments
 (0)