MCPcopy Create free account
hub / github.com/DOSNetwork/core / ToProjective

Method ToProjective

group/edwards25519/ge.go:161–165  ·  view source on GitHub ↗

completedGroupElement methods

(r *projectiveGroupElement)

Source from the content-addressed store, hash-verified

159// completedGroupElement methods
160
161func (c *completedGroupElement) ToProjective(r *projectiveGroupElement) {
162 feMul(&r.X, &c.X, &c.T)
163 feMul(&r.Y, &c.Y, &c.Z)
164 feMul(&r.Z, &c.Z, &c.T)
165}
166
167func (c *completedGroupElement) ToExtended(r *extendedGroupElement) {
168 feMul(&r.X, &c.X, &c.T)

Callers 3

geScalarMultVartimeFunction · 0.95
geScalarMultBaseFunction · 0.95
geScalarMultFunction · 0.95

Calls 1

feMulFunction · 0.85

Tested by

no test coverage detected