Cleans code: cosmetic variables alignment
This commit is contained in:
parent
0406f0002e
commit
6b65fb4ca2
1 changed files with 12 additions and 12 deletions
24
src/mfoc.h
24
src/mfoc.h
|
@ -36,36 +36,36 @@ typedef struct {
|
||||||
uint32_t median;
|
uint32_t median;
|
||||||
uint32_t num_distances;
|
uint32_t num_distances;
|
||||||
uint32_t tolerance;
|
uint32_t tolerance;
|
||||||
uint8_t parity[3]; // used for 3 bits of parity information
|
uint8_t parity[3]; // used for 3 bits of parity information
|
||||||
} denonce; // Revealed information about nonce
|
} denonce; // Revealed information about nonce
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
nfc_target nt;
|
nfc_target nt;
|
||||||
sector *sectors; // Allocate later, we do not know the number of sectors yet
|
sector *sectors; // Allocate later, we do not know the number of sectors yet
|
||||||
sector e_sector; // Exploit sector
|
sector e_sector; // Exploit sector
|
||||||
uint8_t num_sectors;
|
uint8_t num_sectors;
|
||||||
uint8_t num_blocks;
|
uint8_t num_blocks;
|
||||||
uint32_t authuid;
|
uint32_t authuid;
|
||||||
bool b4K;
|
bool b4K;
|
||||||
} mftag;
|
} mftag;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64_t *possibleKeys;
|
uint64_t *possibleKeys;
|
||||||
uint32_t size;
|
uint32_t size;
|
||||||
} pKeys;
|
} pKeys;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64_t *brokenKeys;
|
uint64_t *brokenKeys;
|
||||||
uint32_t size;
|
uint32_t size;
|
||||||
} bKeys;
|
} bKeys;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
nfc_device *pdi;
|
nfc_device *pdi;
|
||||||
} mfreader;
|
} mfreader;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64_t key;
|
uint64_t key;
|
||||||
int count;
|
int count;
|
||||||
} countKeys;
|
} countKeys;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue