From 01712639082f9040a50cae2a8884ecb1e504c78b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Fischer?= Date: Tue, 12 Dec 2023 12:07:17 +0100 Subject: [PATCH] Update docstring of draft-irtf-cfrg-hash-to-curve --- src/lib/pubkey/ec_h2c/ec_h2c.cpp | 2 +- src/lib/pubkey/ec_h2c/ec_h2c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/pubkey/ec_h2c/ec_h2c.cpp b/src/lib/pubkey/ec_h2c/ec_h2c.cpp index 1b145d6d548..c1bb7ba6a7f 100644 --- a/src/lib/pubkey/ec_h2c/ec_h2c.cpp +++ b/src/lib/pubkey/ec_h2c/ec_h2c.cpp @@ -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)); diff --git a/src/lib/pubkey/ec_h2c/ec_h2c.h b/src/lib/pubkey/ec_h2c/ec_h2c.h index c6599fc5adf..3745a89543a 100644 --- a/src/lib/pubkey/ec_h2c/ec_h2c.h +++ b/src/lib/pubkey/ec_h2c/ec_h2c.h @@ -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