Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseposner committed Aug 30, 2024
1 parent 18fbec7 commit 09698c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/frost/keygen_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static int secp256k1_frost_interpolate_pubkey_ecmult_callback(secp256k1_scalar *
return 1;
}

/* See draft-irtf-cfrg-frost-08#appendix-C.2 */
/* See RFC 9591 */
static int secp256k1_frost_vss_verify_internal(const secp256k1_context* ctx, size_t threshold, const unsigned char *id33, const secp256k1_scalar *share, const secp256k1_pubkey * const* vss_commitment) {
secp256k1_scalar share_neg;
secp256k1_gej tmpj, snj;
Expand Down Expand Up @@ -325,7 +325,6 @@ static int secp256k1_frost_vss_verify_internal(const secp256k1_context* ctx, siz
return secp256k1_gej_is_infinity(&tmpj);
}

/* See draft-irtf-cfrg-frost-08#appendix-C.2 */
int secp256k1_frost_share_verify(const secp256k1_context* ctx, size_t threshold, const unsigned char *id33, const secp256k1_frost_share *share, const secp256k1_pubkey * const* vss_commitment) {
secp256k1_scalar share_i;

Expand Down

0 comments on commit 09698c8

Please sign in to comment.