cfrg / draft-irtf-cfrg-hash-to-curve

Hashing to Elliptic Curves
Other
79 stars 27 forks source link

Various edits #50

Closed chris-wood closed 6 years ago

chris-wood commented 6 years ago
  1. Section 2 states that n = qh + r, where n is order of the group of elliptic curve points, q is a prime order of a subgroup of the group of elliptic curve points, h is a cofactor and r is a remainder. Is there any sense to use value r? Every nonzero r directly violates Lagrange's theorem.

  2. In the sixth paragraph of Section 2 states that n can be estimated using Hasse's theorem as |n-p| < 2 * sqrt(p). This is true for the prime field case, otherwise we have to use Hasse-Weil theorem.

  3. The same paragraph refers that if point (x, y) belongs to some curve, then (x, -y) also does. It must be stated explicitly, that it is true for certain curve forms – because this is not true for some coordinate forms like twisted Edwards.

  4. The second paragraph of Section 2.1.1 states that "In most cases, the curve E is over a finite field GF(p^k), with p > 2.". Are you sure about it? The vast majority of standardized curves defined over extension fields seems to have p = 2.

  5. Some clarifications about two separate HashToBase implementations should be added into Section 5.2.2.

  6. Section 5.2.2, paragraph 6. Add word <> before <>.

  7. Section 5.2.4. Description of Elligator2 method uses f(x) function and returns its value instead of a pair of coordinates.

  8. Appendix B, paragraph 1. “Section Section”.

  9. Appendix B, algorithm description, step 4E. Does symbol ^ stay here for scalar point multiplication?

  10. I believe that the HashToBase function has to be described as explicitly as it is possible (including byte order, possible hash function sets for different curves) (the same issue with “be as explicit as possible” applies to our “Randomness improvements …” draft also J

  11. Appendix A.5. “&#8746” instead of cup symbol?

  12. Misprints: “artbirary”, “simplified”.

grittygrease commented 6 years ago