Skip to content

bug: Invalid Jubjub curve generator #805

@sug0

Description

@sug0

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

curveParams.Base.X.SetString("23426137002068529236790192115758361610982344002369094106619281483467893291614")
curveParams.Base.Y.SetString("39325435222430376843701388596190331198052476467368316772266670064146548432123")

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

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

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