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

Method ShiftR64Bit

secp256k1/Int.cpp:531–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529// ------------------------------------------------
530
531void Int::ShiftR64Bit() {
532
533 for (int i = 0; i<NB64BLOCK - 1; i++) {
534 bits64[i] = bits64[i + 1];
535 }
536 if (((int64_t)bits64[NB64BLOCK - 2])<0)
537 bits64[NB64BLOCK - 1] = 0xFFFFFFFFFFFFFFFF;
538 else
539 bits64[NB64BLOCK - 1] = 0;
540
541}
542
543// ---------------------------------D---------------
544

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected