mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
style
This commit is contained in:
parent
231faee4dd
commit
372ab2af98
9 changed files with 53 additions and 58 deletions
|
@ -651,8 +651,7 @@ int mfStaticNested(uint8_t blockNo, uint8_t keyType, uint8_t* key, uint8_t trgBl
|
|||
dist = 161;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
level = 0;
|
||||
}
|
||||
|
||||
|
@ -698,8 +697,7 @@ int mfStaticNested(uint8_t blockNo, uint8_t keyType, uint8_t* key, uint8_t trgBl
|
|||
p3->even = -1;
|
||||
statelists[0].len = p3 - statelists[0].head.slhead;
|
||||
statelists[0].tail.sltail = --p3;
|
||||
}
|
||||
else { // fast decrypt static nested
|
||||
} else { // fast decrypt static nested
|
||||
|
||||
PrintAndLogEx(SUCCESS, "Fast staticnested decrypt running...");
|
||||
|
||||
|
@ -755,8 +753,7 @@ int mfStaticNested(uint8_t blockNo, uint8_t keyType, uint8_t* key, uint8_t trgBl
|
|||
p4++;
|
||||
p2++;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
while (Compare16Bits(p1, p2) == -1) p1++;
|
||||
while (Compare16Bits(p1, p2) == 1) p2++;
|
||||
}
|
||||
|
@ -843,8 +840,7 @@ int mfStaticNested(uint8_t blockNo, uint8_t keyType, uint8_t* key, uint8_t trgBl
|
|||
return res;
|
||||
}
|
||||
res = mfCheckKeys_file(destfn, &key64);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
res = mfCheckKeys(statelists[0].blockNo, statelists[0].keyType, false, chunk, p_keyblock, &key64);
|
||||
}
|
||||
|
||||
|
@ -862,8 +858,7 @@ int mfStaticNested(uint8_t blockNo, uint8_t keyType, uint8_t* key, uint8_t trgBl
|
|||
sprint_hex(resultKey, 6)
|
||||
);
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
else if (res == PM3_ETIMEOUT || res == PM3_EOPABORTED) {
|
||||
} else if (res == PM3_ETIMEOUT || res == PM3_EOPABORTED) {
|
||||
PrintAndLogEx(NORMAL, "");
|
||||
free(mem);
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue