Skip to content

Commit 185a894

Browse files
committed
fixes regression from arkworks-rs/algebra/pull/96
1 parent 33010e9 commit 185a894

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

bw6/src/endo.rs

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,18 @@ use std::ops::AddAssign;
1414
/// 1f2f082d4dcb5e37cb6290012d96f8819c547ba8a4000002f962140000000002a
1515
const OMEGA: Fq = field_new!(
1616
Fq,
17-
BigInteger768([
18-
7467050525960156664,
19-
11327349735975181567,
20-
4886471689715601876,
21-
825788856423438757,
22-
532349992164519008,
23-
5190235139112556877,
24-
10134108925459365126,
25-
2188880696701890397,
26-
14832254987849135908,
27-
2933451070611009188,
28-
11385631952165834796,
29-
64130670718986244
30-
])
31-
);
17+
"196898582409020929727861073970057715139766638230382572845074161156680037021882725775086501\
18+
3421937292370006175842381275743914023380727582819905021229583192207421122272650305267822868\
19+
639090213645505120388400344940985710520836292650"
20+
);
21+
3222

3323
/// lambda in Z s.t. phi(P) = lambda*P for all P
3424
/// \lambda = 0x9b3af05dd14f6ec619aaf7d34594aabc5ed1347970dec00452217cc900000008508c00000000001
3525
const LAMBDA: Fr = field_new!(
3626
Fr,
37-
(BigInteger384([
38-
15766275933608376691,
39-
15635974902606112666,
40-
1934946774703877852,
41-
18129354943882397960,
42-
15437979634065614942,
43-
101285514078273488
44-
]))
27+
"809496482649127194085583631406374772648452947207104994781372872627125359383014618798134594\
28+
10945"
4529
);
4630

4731
const U: &'static [u64] = ark_bls12_377::Parameters::X;

0 commit comments

Comments
 (0)