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

Method ShiftR32Bit

secp256k1/Int.cpp:517–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515// ------------------------------------------------
516
517void Int::ShiftR32Bit() {
518
519 for(int i=0;i<NB32BLOCK-1;i++) {
520 bits[i]=bits[i+1];
521 }
522 if(((int32_t)bits[NB32BLOCK-2])<0)
523 bits[NB32BLOCK-1] = 0xFFFFFFFF;
524 else
525 bits[NB32BLOCK-1]=0;
526
527}
528
529// ------------------------------------------------
530

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected