Skip to content

Commit de54a1e

Browse files
jonasnickreal-or-random
authored andcommitted
musig2: clean up ctx doc in include file
1 parent 4f65698 commit de54a1e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/secp256k1_musig.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ typedef struct {
103103
/** Parse a signer's public nonce.
104104
*
105105
* Returns: 1 when the nonce could be parsed, 0 otherwise.
106-
* Args: ctx: a secp256k1 context object
106+
* Args: ctx: pointer to a context object
107107
* Out: nonce: pointer to a nonce object
108108
* In: in66: pointer to the 66-byte nonce to be parsed
109109
*/
@@ -116,7 +116,7 @@ SECP256K1_API int secp256k1_musig_pubnonce_parse(
116116
/** Serialize a signer's public nonce
117117
*
118118
* Returns: 1 when the nonce could be serialized, 0 otherwise
119-
* Args: ctx: a secp256k1 context object
119+
* Args: ctx: pointer to a context object
120120
* Out: out66: pointer to a 66-byte array to store the serialized nonce
121121
* In: nonce: pointer to the nonce
122122
*/
@@ -129,7 +129,7 @@ SECP256K1_API int secp256k1_musig_pubnonce_serialize(
129129
/** Parse an aggregate public nonce.
130130
*
131131
* Returns: 1 when the nonce could be parsed, 0 otherwise.
132-
* Args: ctx: a secp256k1 context object
132+
* Args: ctx: pointer to a context object
133133
* Out: nonce: pointer to a nonce object
134134
* In: in66: pointer to the 66-byte nonce to be parsed
135135
*/
@@ -142,7 +142,7 @@ SECP256K1_API int secp256k1_musig_aggnonce_parse(
142142
/** Serialize an aggregate public nonce
143143
*
144144
* Returns: 1 when the nonce could be serialized, 0 otherwise
145-
* Args: ctx: a secp256k1 context object
145+
* Args: ctx: pointer to a context object
146146
* Out: out66: pointer to a 66-byte array to store the serialized nonce
147147
* In: nonce: pointer to the nonce
148148
*/
@@ -155,7 +155,7 @@ SECP256K1_API int secp256k1_musig_aggnonce_serialize(
155155
/** Serialize a MuSig partial signature
156156
*
157157
* Returns: 1 when the signature could be serialized, 0 otherwise
158-
* Args: ctx: a secp256k1 context object
158+
* Args: ctx: pointer to a context object
159159
* Out: out32: pointer to a 32-byte array to store the serialized signature
160160
* In: sig: pointer to the signature
161161
*/
@@ -168,7 +168,7 @@ SECP256K1_API int secp256k1_musig_partial_sig_serialize(
168168
/** Parse a MuSig partial signature.
169169
*
170170
* Returns: 1 when the signature could be parsed, 0 otherwise.
171-
* Args: ctx: a secp256k1 context object
171+
* Args: ctx: pointer to a context object
172172
* Out: sig: pointer to a signature object
173173
* In: in32: pointer to the 32-byte signature to be parsed
174174
*

0 commit comments

Comments
 (0)