refactor: hitag S code sytle & cleanup
This commit is contained in:
1 parent
17bfed94da
commit
662b194e56
4 files changed
+26
-42
No files matched your search
+3
-1
@@ -27,6 +27,7 @@
|
||||
#define HITAG_PASSWORD_SIZE 4
|
||||
#define HITAG_UID_SIZE 4
|
||||
#define HITAG_BLOCK_SIZE 4
|
||||
|
||||
#define HITAG2_MAX_BLOCKS 8
|
||||
#define HITAG2_MAX_BYTE_SIZE (HITAG2_MAX_BLOCKS * HITAG_BLOCK_SIZE)
|
||||
|
||||
@@ -34,9 +35,10 @@
|
||||
#define HITAGS_CRYPTOKEY_SIZE 6
|
||||
#define HITAGS_UID_SIZE 4
|
||||
#define HITAGS_PAGE_SIZE 4
|
||||
#define HITAGS_BLOCK_SIZE 4
|
||||
#define HITAGS_BLOCK_SIZE 16
|
||||
#define HITAGS_MAX_PAGES 64
|
||||
#define HITAGS_MAX_BYTE_SIZE (HITAGS_MAX_PAGES * HITAGS_PAGE_SIZE)
|
||||
#define HITAGS_CONFIG_PADR 1
|
||||
|
||||
// need to see which limits these cards has
|
||||
#define HITAG1_MAX_BYTE_SIZE 64
|
||||
|
||||
Reference in new issue
Block a user