Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Terminology 1.2-4.14.1 - hash_to_curve_g2 refers to G1 #4

Closed
jdspdx opened this issue Apr 8, 2021 · 4 comments
Closed

Terminology 1.2-4.14.1 - hash_to_curve_g2 refers to G1 #4

jdspdx opened this issue Apr 8, 2021 · 4 comments

Comments

@jdspdx
Copy link
Contributor

jdspdx commented Apr 8, 2021

The spec currently says that this function returns a point in G1. I believe this is intended to be G2?

hash_to_curve_g2(ostr) -> P

    The cryptographic hash function that takes as an arbitrary octet string input and returns a point in **G1** as defined in [I-D.irtf-cfrg-hash-to-curve]. The algorithm is BLS12381G2_XMD:BLAKE2B_SSWU_RO, i.e use Blake2b-512 as part of expand message digest, apply the isogeny simplified SWU map to compute a point in G2 using the random oracle method. The domain separation tag value is dst.
@jdspdx
Copy link
Contributor Author

jdspdx commented Apr 8, 2021

Heya @mikelodder7 - Just came across this when reading some docs.

@mikelodder7
Copy link
Contributor

Yes you are correct. Just a typo

@jdspdx
Copy link
Contributor Author

jdspdx commented Apr 8, 2021

Okay, happy to PR

@jdspdx
Copy link
Contributor Author

jdspdx commented Apr 8, 2021

#5

@jdspdx jdspdx closed this as completed Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants