Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docstring of draft-irtf-cfrg-hash-to-curve #3831

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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