Rename all *Parameters to *Config (#136)

* Rename all `*Parameters` to `*Config`

* Tweak
This commit is contained in:
Pratyush Mishra
2022-12-16 22:35:32 -05:00
committed by GitHub
parent f8a6a4050e
commit febd7635fb
63 changed files with 382 additions and 414 deletions

View File

@@ -9,9 +9,9 @@ use ark_ff::{Field, MontFp, Zero};
mod tests;
#[derive(Copy, Clone, Default, PartialEq, Eq)]
pub struct VestaParameters;
pub struct VestaConfig;
impl CurveConfig for VestaParameters {
impl CurveConfig for VestaConfig {
type BaseField = Fq;
type ScalarField = Fr;
@@ -22,10 +22,10 @@ impl CurveConfig for VestaParameters {
const COFACTOR_INV: Fr = Fr::ONE;
}
pub type Affine = sw::Affine<VestaParameters>;
pub type Projective = sw::Projective<VestaParameters>;
pub type Affine = sw::Affine<VestaConfig>;
pub type Projective = sw::Projective<VestaConfig>;
impl SWCurveConfig for VestaParameters {
impl SWCurveConfig for VestaConfig {
/// COEFF_A = 0
const COEFF_A: Fq = Fq::ZERO;