File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,11 @@ typedef int (*secp256k1_nonce_function_hardened)(
50
50
*
51
51
* If a data pointer is passed, it is assumed to be a pointer to 32 bytes of
52
52
* auxiliary random data as defined in BIP-340. If the data pointer is NULL,
53
- * schnorrsig_sign does not produce BIP-340 compliant signatures. The algo16
54
- * argument must be non-NULL, otherwise the function will fail and return 0.
55
- * The hash will be tagged with algo16 after removing all terminating null
56
- * bytes. Therefore, to create BIP-340 compliant signatures, algo16 must be set
57
- * to "BIP0340/nonce\0\0\0"
53
+ * the nonce derivation procedure follows BIP-340 by setting the auxiliary
54
+ * random data to zero. The algo16 argument must be non-NULL, otherwise the
55
+ * function will fail and return 0. The hash will be tagged with algo16 after
56
+ * removing all terminating null bytes. Therefore, to create BIP-340 compliant
57
+ * signatures, algo16 must be set to "BIP0340/nonce\0\0\0"
58
58
*/
59
59
SECP256K1_API extern const secp256k1_nonce_function_hardened secp256k1_nonce_function_bip340 ;
60
60
You can’t perform that action at this time.
0 commit comments