Skip to content

Commit ae39a3a

Browse files
committed
Update comment
Responds to: #278 (comment)
1 parent 9fcaf25 commit ae39a3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/secp256k1_frost.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_frost_pubkey_xonly_twea
356356
* 3. Avoid copying (or serializing) the secnonce. This reduces the possibility
357357
* that it is used more than once for signing.
358358
*
359-
* Remember that nonce reuse will leak the secret key!
359+
* Remember that nonce reuse will leak the secret share!
360360
* Note that using the same agg_share for multiple FROST sessions is fine.
361361
*
362362
* Returns: 0 if the arguments are invalid and 1 otherwise
@@ -427,7 +427,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_frost_nonce_process(
427427
* This function overwrites the given secnonce with zeros and will abort if given a
428428
* secnonce that is all zeros. This is a best effort attempt to protect against nonce
429429
* reuse. However, this is of course easily defeated if the secnonce has been
430-
* copied (or serialized). Remember that nonce reuse will leak the secret key!
430+
* copied (or serialized). Remember that nonce reuse will leak the secret share!
431431
*
432432
* Returns: 0 if the arguments are invalid or the provided secnonce has already
433433
* been used for signing, 1 otherwise

0 commit comments

Comments
 (0)