Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

We will use formulae for curve arithmetic using affine coordinates on short Weierstrass curves, derived from section 4.1 of Hüseyin Hışıl’s thesis.

Incomplete addition

  • Inputs:
  • Output:

The formulae from Hışıl’s thesis are:

Rename to , to , and to , giving

which is equivalent to

Assuming , we have

So we get the constraints:

    • Note that this constraint is unsatisfiable for (when ), and so cannot be used with arbitrary inputs.

Constraints

Complete addition

Suppose that we represent as . ( is not an -coordinate of a valid point because we would need , and is not square in . Also is not a -coordinate of a valid point because is not a cube in .)

For the doubling case, Hışıl’s thesis tells us that has to instead be computed as .

Define

Witness where:

Constraints

Max degree: 6

Analysis of constraints

Propositions:

Cases:

Note that we rely on the fact that is not a valid -coordinate or -coordinate of a point on the Pallas curve other than .

    • Completeness:

    • Soundness: is the only solution to

  • for

    • Completeness:

    • Soundness: is the only solution to

  • for

    • Completeness:

    • Soundness: is the only solution to

  • for

    • Completeness:

    • Soundness: is computed correctly, and is the only solution.

  • for

    • Completeness:

    • Soundness: is the only solution to

  • for and and

    • Completeness:

    • Soundness: is computed correctly, and is the only solution.