Skip to content

Commit

Permalink
Update docstring of draft-irtf-cfrg-hash-to-curve
Browse files Browse the repository at this point in the history
  • Loading branch information
securitykernel committed Dec 13, 2023
1 parent 858a383 commit 0171263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/pubkey/ec_h2c/ec_h2c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ EC_Point map_to_curve_sswu(const EC_Group& group, const Modular_Reducer& mod_p,
const BigInt c2 = mod_p.multiply(p - 1, inverse_mod(Z, p));

/*
* See Appendix F.2 of draft-irtf-cfrg-hash-to-curve
* See Appendix F.2 of RFC 9380
*/

const BigInt tv1 = mod_p.multiply(Z, mod_p.square(u));
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pubkey/ec_h2c/ec_h2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void BOTAN_TEST_API expand_message_xmd(std::string_view hash_fn,

/**
* Hash an input onto an elliptic curve point using the
* methods from draft-irtf-cfrg-hash-to-curve
* methods from RFC 9380
*
* This method requires that the ECC group have (a*b) != 0
* which excludes certain groups including secp256k1
Expand Down

0 comments on commit 0171263

Please sign in to comment.