Home
last modified time | relevance | path

Searched refs:PointG1 (Results 1 – 6 of 6) sorted by relevance

/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/crypto/bls12381/
H A Dg1.go28 type PointG1 [3]fe
30 func (p *PointG1) Set(p2 *PointG1) *PointG1 {
38 func (p *PointG1) Zero() *PointG1 {
173 p := &PointG1{}
232 func (g *G1) Affine(p *PointG1) *PointG1 {
249 func (g *G1) Add(r, p1, p2 *PointG1) *PointG1 {
297 func (g *G1) Double(r, p *PointG1) *PointG1 {
329 func (g *G1) Neg(r, p *PointG1) *PointG1 {
337 func (g *G1) Sub(c, a, b *PointG1) *PointG1 {
346 q, n := &PointG1{}, &PointG1{}
[all …]
H A Dg1_test.go12 func (g *G1) one() *PointG1 {
22 func (g *G1) rand() *PointG1 {
27 return g.MulScalar(&PointG1{}, g.one(), k)
63 p := &PointG1{*one, *one, *one}
180 var bases [2]*PointG1
183 bases[0], bases[1] = new(PointG1).Set(one), new(PointG1).Set(one)
196 bases := make([]*PointG1, n)
257 a, b, c := g1.rand(), g1.rand(), PointG1{}
266 a, e, c := g1.rand(), q, PointG1{}
H A Dpairing.go20 g1 *PointG1
24 func newPair(g1 *PointG1, g2 *PointG2) pair { argument
69 func (e *Engine) AddPair(g1 *PointG1, g2 *PointG2) *Engine {
79 func (e *Engine) AddPairInv(g1 *PointG1, g2 *PointG2) *Engine {
H A Dbls12_381.go96 var g1One = PointG1{
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/tests/fuzzers/bls12381/
H A Dbls12381_fuzz.go86 kp := bls12381.PointG1{}
140 gethPoints []*bls12381.PointG1
160 gethPoints = append(gethPoints, new(bls12381.PointG1).Set(kp1))
168 kp := bls12381.PointG1{}
186 func getG1Points(input io.Reader) (*bls12381.PointG1, *gnark.G1Affine, error) {
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/core/vm/
H A Dcontracts.go645 var p0, p1 *bls12381.PointG1
683 var p0 *bls12381.PointG1
734 points := make([]*bls12381.PointG1, k)