code: func (e *G1) ScalarBaseMult(k *big.Int) *G1 {
  	if e.p == nil {
  		e.p = &curvePoint{}
  	}
  	e.p.Mul(curveGen, k)
  	return e
  }
docs: // ScalarBaseMult sets e to g*k where g is the generator of the group and then
  // returns e.