MCPcopy Create free account
hub / github.com/LUX-Core/lux / SquareRoot

Method SquareRoot

src/cryptopp/gf2n.cpp:560–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560GF2NP::Element GF2NP::SquareRoot(const Element &a) const
561{
562 Element r = a;
563 for (unsigned int i=1; i<m; i++)
564 r = Square(r);
565 return r;
566}
567
568GF2NP::Element GF2NP::HalfTrace(const Element &a) const
569{

Callers 3

GetCofactorMethod · 0.80
ValidateGroupMethod · 0.80
DecodePointMethod · 0.80

Calls 1

SquareClass · 0.85

Tested by

no test coverage detected