diff --git a/include/secp256k1.h b/include/secp256k1.h index b7ec6a22..2f3383e1 100644 --- a/include/secp256k1.h +++ b/include/secp256k1.h @@ -687,7 +687,7 @@ SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_default; * Returns: 1: signature created * 0: the nonce generation function failed, or the secret key was invalid. * Args: ctx: pointer to a context object (not secp256k1_context_static). - * Out: sig: pointer to an array where the signature will be placed. + * Out: sig: pointer to a signature object. * In: msghash32: the 32-byte message hash being signed. * seckey: pointer to a 32-byte secret key. * noncefp: pointer to a nonce generation function. If NULL, diff --git a/include/secp256k1_recovery.h b/include/secp256k1_recovery.h index 2430f993..45f20aba 100644 --- a/include/secp256k1_recovery.h +++ b/include/secp256k1_recovery.h @@ -73,7 +73,7 @@ SECP256K1_API int secp256k1_ecdsa_recoverable_signature_serialize_compact( * Returns: 1: signature created * 0: the nonce generation function failed, or the secret key was invalid. * Args: ctx: pointer to a context object (not secp256k1_context_static). - * Out: sig: pointer to an array where the signature will be placed. + * Out: sig: pointer to a signature object. * In: msghash32: the 32-byte message hash being signed. * seckey: pointer to a 32-byte secret key. * noncefp: pointer to a nonce generation function. If NULL,