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

Method ModSquare

IntMod.cpp:598–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596// ------------------------------------------------
597
598void Int::ModSquare(Int *a) {
599
600 Int p;
601 p.MontgomeryMult(a, a);
602 MontgomeryMult(&_R2, &p);
603
604}
605
606// ------------------------------------------------
607

Callers 3

IsProbablePrimeMethod · 0.80
CheckMethod · 0.80
ModSqrtMethod · 0.80

Calls 1

MontgomeryMultMethod · 0.80

Tested by

no test coverage detected