Skip to main content

Module curve

Module curve 

Source
Expand description

This file defines a trait similar to kimchi::curve::KimchiCurve for Pallas and Vesta. It aims to define all the parameters that are needed by a curve to be used in Arrabbiata. For instance, the sponge parameters, the endomorphism coefficients, etc. The goal of this trait is to parametrize the whole library with the different curves.

Re-exportsยง

use ark_ec::short_weierstrass::Affine; ๐Ÿ”’
use ark_ec::short_weierstrass::SWCurveConfig; ๐Ÿ”’
use ark_ff::PrimeField; ๐Ÿ”’
use kimchi::curve::pallas_endos; ๐Ÿ”’
use kimchi::curve::vesta_endos; ๐Ÿ”’
use mina_curves::pasta::curves::pallas::PallasParameters; ๐Ÿ”’
use mina_curves::pasta::curves::vesta::VestaParameters; ๐Ÿ”’
use mina_poseidon::constants::SpongeConstants; ๐Ÿ”’
use mina_poseidon::poseidon::ArithmeticSpongeParams as SpongeParams; ๐Ÿ”’
use mina_poseidon::sponge; ๐Ÿ”’
use mina_poseidon::FqSponge; ๐Ÿ”’
use poly_commitment::commitment::EndoCurve; ๐Ÿ”’

Structsยง

PlonkSpongeConstants

Constantsยง

SPONGE_PARAM_FULL_ROUNDS ๐Ÿ”’

Traitsยง

ArrabbiataCurve
Represents additional information that a curve needs in order to be used with Arrabbiata.

Type Aliasesยง

ArithmeticSpongeParams ๐Ÿ”’
DefaultFqSponge ๐Ÿ”’