1// Copyright 2020 ConsenSys Software Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by consensys/gnark-crypto DO NOT EDIT
16
17package fptower
18
19// q (modulus)
20var qE2 = [6]uint64{
21	9586122913090633729,
22	1660523435060625408,
23	2230234197602682880,
24	1883307231910630287,
25	14284016967150029115,
26	121098312706494698,
27}
28
29// q'[0], see montgommery multiplication algorithm
30var (
31	qE2Inv0 uint64 = 9586122913090633727
32	_              = qE2Inv0 // used in asm
33)
34
35//go:noescape
36func addE2(res, x, y *E2)
37
38//go:noescape
39func subE2(res, x, y *E2)
40
41//go:noescape
42func doubleE2(res, x *E2)
43
44//go:noescape
45func negE2(res, x *E2)
46