File tree 5 files changed +6
-7
lines changed
5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ extern "C" {
43
43
/** Export a private key in DER format.
44
44
*
45
45
* Returns: 1 if the private key was valid.
46
- * Args: ctx: pointer to a context object, initialized for signing (cannot
47
- * be NULL)
46
+ * Args: ctx: pointer to a context object (not secp256k1_context_static).
48
47
* Out: privkey: pointer to an array for storing the private key in BER.
49
48
* Should have space for 279 bytes, and cannot be NULL.
50
49
* privkeylen: Pointer to an int where the length of the private key in
Original file line number Diff line number Diff line change @@ -636,7 +636,7 @@ SECP256K1_API extern const secp256k1_nonce_function secp256k1_nonce_function_def
636
636
*
637
637
* Returns: 1: signature created
638
638
* 0: the nonce generation function failed, or the secret key was invalid.
639
- * Args: ctx: pointer to a context object, initialized for signing .
639
+ * Args: ctx: pointer to a context object (not secp256k1_context_static) .
640
640
* Out: sig: pointer to an array where the signature will be placed.
641
641
* In: msghash32: the 32-byte message hash being signed.
642
642
* seckey: pointer to a 32-byte secret key.
@@ -680,7 +680,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_seckey_verify(
680
680
*
681
681
* Returns: 1: secret was valid, public key stores.
682
682
* 0: secret was invalid, try again.
683
- * Args: ctx: pointer to a context object, initialized for signing .
683
+ * Args: ctx: pointer to a context object (not secp256k1_context_static) .
684
684
* Out: pubkey: pointer to the created public key.
685
685
* In: seckey: pointer to a 32-byte secret key.
686
686
*/
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_xonly_pubkey_tweak_add_
159
159
*
160
160
* Returns: 1: secret was valid, keypair is ready to use
161
161
* 0: secret was invalid, try again with a different secret
162
- * Args: ctx: pointer to a context object, initialized for signing .
162
+ * Args: ctx: pointer to a context object (not secp256k1_context_static) .
163
163
* Out: keypair: pointer to the created keypair.
164
164
* In: seckey: pointer to a 32-byte secret key.
165
165
*/
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ SECP256K1_API int secp256k1_ecdsa_recoverable_signature_serialize_compact(
72
72
*
73
73
* Returns: 1: signature created
74
74
* 0: the nonce generation function failed, or the secret key was invalid.
75
- * Args: ctx: pointer to a context object, initialized for signing .
75
+ * Args: ctx: pointer to a context object (not secp256k1_context_static) .
76
76
* Out: sig: pointer to an array where the signature will be placed.
77
77
* In: msghash32: the 32-byte message hash being signed.
78
78
* seckey: pointer to a 32-byte secret key.
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ typedef struct {
106
106
* signatures from being valid in multiple contexts by accident.
107
107
*
108
108
* Returns 1 on success, 0 on failure.
109
- * Args: ctx: pointer to a context object, initialized for signing .
109
+ * Args: ctx: pointer to a context object (not secp256k1_context_static) .
110
110
* Out: sig64: pointer to a 64-byte array to store the serialized signature.
111
111
* In: msg32: the 32-byte message being signed.
112
112
* keypair: pointer to an initialized keypair.
You can’t perform that action at this time.
0 commit comments