MCPcopy Create free account
hub / github.com/albertobsd/keyhunt / IsLower

Method IsLower

secp256k1/Int.cpp:182–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180// ------------------------------------------------
181
182bool Int::IsLower(Int *a) {
183
184 int i;
185
186 for (i = NB64BLOCK - 1; i >= 0;) {
187 if (a->bits64[i] != bits64[i])
188 break;
189 i--;
190 }
191
192 if (i >= 0) {
193 return bits64[i]<a->bits64[i];
194 } else {
195 return false;
196 }
197
198}
199
200// ------------------------------------------------
201

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected