1
0
mirror of https://github.com/nfc-tools/mfoc.git synced 2026-02-01 22:32:43 +00:00

some code clean up: find . -name '*.[ch]' | xargs perl -pi -e 's/\t+$//; s/ +$//'

This commit is contained in:
Romuald Conty
2012-06-03 21:07:51 +00:00
parent 435de61cc5
commit bc109b9252
7 changed files with 163 additions and 160 deletions

View File

@@ -30,15 +30,15 @@ typedef struct {
bool foundKeyB;
uint8_t trailer; // Value of a trailer block
} sector;
typedef struct {
uint32_t *distances;
uint32_t median;
uint32_t num_distances;
uint32_t tolerance;
uint8_t parity[3]; // used for 3 bits of parity information
} denonce; // Revealed information about nonce
} denonce; // Revealed information about nonce
typedef struct {
nfc_target nt;
sector * sectors; // Allocate later, we do not know the number of sectors yet
@@ -46,9 +46,9 @@ typedef struct {
uint8_t num_sectors;
uint8_t num_blocks;
uint32_t uid;
bool b4K;
bool b4K;
} mftag;
typedef struct {
uint64_t *possibleKeys;
uint32_t size;