code: func Ecp2ToProto(p *FP256BN.ECP2) *ECP2 {
  	return &ECP2{
  		Xa: BigToBytes(p.GetX().GetA()),
  		Xb: BigToBytes(p.GetX().GetB()),
  		Ya: BigToBytes(p.GetY().GetA()),
  		Yb: BigToBytes(p.GetY().GetB())}
  }
docs: // Ecp2ToProto converts a *amcl.ECP2 into the proto struct *ECP2