| 190 | } |
| 191 | |
| 192 | bool CudaKeySearchDevice::isTargetInList(const unsigned int hash[5]) |
| 193 | { |
| 194 | size_t count = _targets.size(); |
| 195 | |
| 196 | while(count) { |
| 197 | if(memcmp(hash, _targets[count - 1].h, 20) == 0) { |
| 198 | return true; |
| 199 | } |
| 200 | count--; |
| 201 | } |
| 202 | |
| 203 | return false; |
| 204 | } |
| 205 | |
| 206 | uint32_t CudaKeySearchDevice::getPrivateKeyOffset(int thread, int block, int idx) |
| 207 | { |
nothing calls this directly
no outgoing calls
no test coverage detected