Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Responds to:
#278 (comment)
  • Loading branch information
jesseposner committed Aug 28, 2024
1 parent 9fcaf25 commit ae39a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/secp256k1_frost.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_frost_pubkey_xonly_twea
* 3. Avoid copying (or serializing) the secnonce. This reduces the possibility
* that it is used more than once for signing.
*
* Remember that nonce reuse will leak the secret key!
* Remember that nonce reuse will leak the secret share!
* Note that using the same agg_share for multiple FROST sessions is fine.
*
* Returns: 0 if the arguments are invalid and 1 otherwise
Expand Down Expand Up @@ -427,7 +427,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_frost_nonce_process(
* This function overwrites the given secnonce with zeros and will abort if given a
* secnonce that is all zeros. This is a best effort attempt to protect against nonce
* reuse. However, this is of course easily defeated if the secnonce has been
* copied (or serialized). Remember that nonce reuse will leak the secret key!
* copied (or serialized). Remember that nonce reuse will leak the secret share!
*
* Returns: 0 if the arguments are invalid or the provided secnonce has already
* been used for signing, 1 otherwise
Expand Down

0 comments on commit ae39a3a

Please sign in to comment.