Skip to content

bug: Invalid Jubjub curve generator #805

Description

@sug0

The curve generator of Jubjub is configured improperly, see the following snippet:

https://github.com/Consensys/gnark-crypto/blob/b81524c967d751247058da7384ecc6fb733c9595/ecc/bls12-381/twistededwards/curve.go#L49-L50

It follows from the reference at https://std.neuromancer.sk/other/JubJub that:

Gx := 0x11dafe5d23e1218086a365b99fbf3d3be72f6afd7d1f72623e6b071492d1122b = 8076246640662884909881801758704306714034609987455869804520522091855516602923
Gy := 0x1d523cf1ddab1a1793132e78c866c0c33e26ba5cc220fed7cc3f870e59d292aa = 13262374693698910701929044844600465831413122818447359594527400194675274060458

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions