Module halo2_gadgets::ecc

source ·
Expand description

Elliptic curve operations.

Modules

Chip implementations for the ECC gadgets.

Structs

Precomputed multiples of a fixed point, for full-width scalar multiplication.
Precomputed multiples of a fixed point, that can be multiplied by base-field elements.
Precomputed multiples of a fixed point, for short signed scalar multiplication.
A point on a specific elliptic curve that is guaranteed to not be the identity.
A point on a specific elliptic curve.
An integer representing an element of the scalar field for a specific elliptic curve, for FixedPoint scalar multiplication.
A signed short (64-bit) integer represented as an element of the scalar field for a specific elliptic curve, to be used for FixedPointShort scalar multiplication.
An integer representing an element of the scalar field for a specific elliptic curve.
The affine short Weierstrass x-coordinate of a point on a specific elliptic curve.

Traits

Instructions that can be implemented for a curve whose base field fits into its scalar field.
The set of circuit instructions required to use the ECC gadgets.
Defines the fixed points for a given instantiation of the ECC chip.