Exemple #1
0
func (g *gtgroup) Secret() abstract.Secret {
	s := newSecret()
	C.element_init_Zr(&s.e[0], &g.p.p[0])
	return s
}
Exemple #2
0
func (g *gtgroup) Scalar() abstract.Scalar {
	s := newScalar()
	C.element_init_Zr(&s.e[0], &g.p.p[0])
	return s
}