This commit is contained in:
Pratyush Mishra
2020-12-09 11:05:07 -08:00
parent 4e45f92ca9
commit 0486c30b3b
19 changed files with 95 additions and 65 deletions

View File

@@ -26,13 +26,25 @@ impl BnParameters for Parameters {
const TWIST_MUL_BY_Q_X: Fq2 = field_new!(
Fq2,
field_new!(Fq, "21575463638280843010398324269430826099269044274347216827212613867836435027261"),
field_new!(Fq, "10307601595873709700152284273816112264069230130616436755625194854815875713954"),
field_new!(
Fq,
"21575463638280843010398324269430826099269044274347216827212613867836435027261"
),
field_new!(
Fq,
"10307601595873709700152284273816112264069230130616436755625194854815875713954"
),
);
const TWIST_MUL_BY_Q_Y: Fq2 = field_new!(
Fq2,
field_new!(Fq, "2821565182194536844548159561693502659359617185244120367078079554186484126554"),
field_new!(Fq, "3505843767911556378687030309984248845540243509899259641013678093033130930403"),
field_new!(
Fq,
"2821565182194536844548159561693502659359617185244120367078079554186484126554"
),
field_new!(
Fq,
"3505843767911556378687030309984248845540243509899259641013678093033130930403"
),
);
const TWIST_TYPE: TwistType = TwistType::D;
type Fp = Fq;