// Mul computes a * b in ECGroup. This actually means a + b as this is additive group.
Mul computes a * b in ECGroup. This actually means a + b as this is additive group.
// Mul computes a * b in ECGroup . This actually means a + b as this is additive group .
func (group *ECGroup) Mul(a, b *ECGroupElement) *ECGroupElement {
	x, y := group.Curve.Add(a.X, a.Y, b.X, b.Y)
	return NewECGroupElement(x, y)
}
func ( group * ECGroup ) Mul ( a , b * ECGroupElement ) * ECGroupElement { x , y := group . Curve . Add ( a . X , a . Y , b . X , b . Y ) return NewECGroupElement ( x , y ) }
Mul computes a * b in ECGroup.
Mul computes a * b in ECGroup .
// computes (x1, y1) + (x2, y2) as this is group on elliptic curves