mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-09 07:21:30 +01:00
Format
This commit is contained in:
@@ -2,7 +2,7 @@ use ark_ec::{
|
||||
mnt6,
|
||||
models::{ModelParameters, SWModelParameters},
|
||||
};
|
||||
use ark_ff::{field_new};
|
||||
use ark_ff::field_new;
|
||||
|
||||
use crate::{Fq, Fr};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ use ark_ec::{
|
||||
mnt6::MNT6Parameters,
|
||||
models::{ModelParameters, SWModelParameters},
|
||||
};
|
||||
use ark_ff::{field_new};
|
||||
use ark_ff::field_new;
|
||||
|
||||
use crate::{g1, Fq, Fq3, Fr, FQ_ZERO};
|
||||
|
||||
@@ -81,10 +81,28 @@ const G2_GENERATOR_X: Fq3 =
|
||||
const G2_GENERATOR_Y: Fq3 =
|
||||
field_new!(Fq3, G2_GENERATOR_Y_C0, G2_GENERATOR_Y_C1, G2_GENERATOR_Y_C2);
|
||||
|
||||
pub const G2_GENERATOR_X_C0: Fq = field_new!(Fq, "421456435772811846256826561593908322288509115489119907560382401870203318738334702321297427");
|
||||
pub const G2_GENERATOR_X_C1: Fq = field_new!(Fq, "103072927438548502463527009961344915021167584706439945404959058962657261178393635706405114");
|
||||
pub const G2_GENERATOR_X_C2: Fq = field_new!(Fq, "143029172143731852627002926324735183809768363301149009204849580478324784395590388826052558");
|
||||
pub const G2_GENERATOR_X_C0: Fq = field_new!(
|
||||
Fq,
|
||||
"421456435772811846256826561593908322288509115489119907560382401870203318738334702321297427"
|
||||
);
|
||||
pub const G2_GENERATOR_X_C1: Fq = field_new!(
|
||||
Fq,
|
||||
"103072927438548502463527009961344915021167584706439945404959058962657261178393635706405114"
|
||||
);
|
||||
pub const G2_GENERATOR_X_C2: Fq = field_new!(
|
||||
Fq,
|
||||
"143029172143731852627002926324735183809768363301149009204849580478324784395590388826052558"
|
||||
);
|
||||
|
||||
pub const G2_GENERATOR_Y_C0: Fq = field_new!(Fq, "464673596668689463130099227575639512541218133445388869383893594087634649237515554342751377");
|
||||
pub const G2_GENERATOR_Y_C1: Fq = field_new!(Fq, "100642907501977375184575075967118071807821117960152743335603284583254620685343989304941678");
|
||||
pub const G2_GENERATOR_Y_C2: Fq = field_new!(Fq, "123019855502969896026940545715841181300275180157288044663051565390506010149881373807142903");
|
||||
pub const G2_GENERATOR_Y_C0: Fq = field_new!(
|
||||
Fq,
|
||||
"464673596668689463130099227575639512541218133445388869383893594087634649237515554342751377"
|
||||
);
|
||||
pub const G2_GENERATOR_Y_C1: Fq = field_new!(
|
||||
Fq,
|
||||
"100642907501977375184575075967118071807821117960152743335603284583254620685343989304941678"
|
||||
);
|
||||
pub const G2_GENERATOR_Y_C2: Fq = field_new!(
|
||||
Fq,
|
||||
"123019855502969896026940545715841181300275180157288044663051565390506010149881373807142903"
|
||||
);
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
use ark_ff::{biginteger::BigInteger320, field_new, Fp3};
|
||||
|
||||
use ark_ec::{models::mnt6::{MNT6Parameters, MNT6}, SWModelParameters};
|
||||
use ark_ec::{
|
||||
models::mnt6::{MNT6Parameters, MNT6},
|
||||
SWModelParameters,
|
||||
};
|
||||
|
||||
use crate::{Fq, Fq3, Fq3Parameters, Fq6Parameters, Fr};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user