MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / Reduce

Method Reduce

Point.cpp:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void Point::Reduce() {
65
66 Int i(&z);
67 i.ModInv();
68 x.ModMul(&x,&i);
69 y.ModMul(&y,&i);
70 z.SetInt32(1);
71
72}
73
74bool Point::equals(Point &p) {
75 return x.IsEqual(&p.x) && y.IsEqual(&p.y) && z.IsEqual(&p.z);

Callers 2

CheckMethod · 0.80
ComputePublicKeyMethod · 0.80

Calls 3

ModMulMethod · 0.80
SetInt32Method · 0.80
ModInvMethod · 0.45

Tested by

no test coverage detected