From de875022fa9ba6c402e8dd51e6ec6c1ce2e93896 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Fri, 17 Dec 2021 09:58:45 +0000 Subject: [PATCH] fixup! mention that args can overlap --- include/secp256k1_musig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/secp256k1_musig.h b/include/secp256k1_musig.h index 143fb6c85..17ddf7d20 100644 --- a/include/secp256k1_musig.h +++ b/include/secp256k1_musig.h @@ -472,7 +472,8 @@ SECP256K1_API int secp256k1_musig_nonce_parity( * invalid (overflowing) values. 1 otherwise (which does NOT mean the * signature or the adaptor are valid!) * Args: ctx: pointer to a context object - * Out: sig64: 64-byte signature + * Out: sig64: 64-byte signature. This pointer may point to the same + * memory area as `pre_sig`. * In: pre_sig64: 64-byte pre-signature * sec_adaptor32: 32-byte secret adaptor to add to the pre-signature * nonce_parity: the output of `musig_nonce_parity` called with the