File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments