MCPcopy Create free account
hub / github.com/brichard19/BitCrack / readBigInt

Method readBigInt

CLKeySearchDevice/CLKeySearchDevice.cpp:474–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472
473
474secp256k1::uint256 CLKeySearchDevice::readBigInt(unsigned int *src, int idx)
475{
476 unsigned int value[8] = {0};
477
478 for(int k = 0; k < 8; k++) {
479 value[k] = src[idx * 8 + k];
480 }
481
482 secp256k1::uint256 v(value, secp256k1::uint256::BigEndian);
483
484 return v;
485}
486
487void CLKeySearchDevice::initializeBasePoints()
488{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected