mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
make style
This commit is contained in:
parent
a626725477
commit
b3f84bf7b3
7 changed files with 80 additions and 80 deletions
|
@ -117,9 +117,9 @@ int main(int argc, char *argv[]) {
|
|||
uint32_t target = 0;
|
||||
|
||||
#ifndef __WIN32
|
||||
thread_count = sysconf(_SC_NPROCESSORS_CONF);
|
||||
if ( thread_count < 2)
|
||||
thread_count = 2;
|
||||
thread_count = sysconf(_SC_NPROCESSORS_CONF);
|
||||
if (thread_count < 2)
|
||||
thread_count = 2;
|
||||
#endif /* _WIN32 */
|
||||
|
||||
|
||||
|
|
|
@ -236,7 +236,7 @@ int main(int argc, char *argv[]) {
|
|||
for (size_t i0 = 0; i0 < 1 << 20; i0++) {
|
||||
uint64_t state0 = expand(0x5806b4a2d16c, i0);
|
||||
|
||||
if (f(state0) == target >> 31 ) {
|
||||
if (f(state0) == target >> 31) {
|
||||
// cf kernel, state is now split in 3 shorts >> 2
|
||||
candidates[(layer_0_found * 3) + 0] = (uint16_t)((state0 >> (32 + 2)) & 0xffff);
|
||||
candidates[(layer_0_found * 3) + 1] = (uint16_t)((state0 >> (16 + 2)) & 0xffff);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue