mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-10-21 18:47:38 +08:00
Used make style
Fixed some code comments and ran make style Signed-off-by: Kara Zajac <Arkwin.Advanced@gmail.com>
This commit is contained in:
parent
176b543069
commit
e35a4e292d
1 changed files with 32 additions and 26 deletions
|
@ -116,7 +116,13 @@ static void DecryptSaflokCardData(
|
||||||
const uint8_t strCard[SAFLOK_BASIC_ACCESS_BYTE_NUM],
|
const uint8_t strCard[SAFLOK_BASIC_ACCESS_BYTE_NUM],
|
||||||
// int length, // length is always SAFLOK_BASIC_ACCESS_BYTE_NUM
|
// int length, // length is always SAFLOK_BASIC_ACCESS_BYTE_NUM
|
||||||
uint8_t decryptedCard[SAFLOK_BASIC_ACCESS_BYTE_NUM]) {
|
uint8_t decryptedCard[SAFLOK_BASIC_ACCESS_BYTE_NUM]) {
|
||||||
int i, num, num2, num3, num4, b = 0, b2 = 0;
|
int i;
|
||||||
|
int num;
|
||||||
|
int num2;
|
||||||
|
int num3;
|
||||||
|
int num4;
|
||||||
|
int b = 0;
|
||||||
|
int b2 = 0;
|
||||||
|
|
||||||
for (i = 0; i < SAFLOK_BASIC_ACCESS_BYTE_NUM; i++) {
|
for (i = 0; i < SAFLOK_BASIC_ACCESS_BYTE_NUM; i++) {
|
||||||
num = saflok_c_aDecode[strCard[i]] - (i + 1);
|
num = saflok_c_aDecode[strCard[i]] - (i + 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue