mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
Add one more sector for Mifare keys on SPI flash.
This is a breaking change and after firmware upgrade, dictionnaries should be loaded into flash again to ensure they're valid.
This commit is contained in:
parent
1adec4dfb2
commit
ba83c26c1e
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
// 0x3E000 - 1 4kb sector = settings
|
||||
// 0x3D000 - 1 4kb sector = default T55XX keys dictionary
|
||||
// 0x3B000 - 1 4kb sector = default ICLASS keys dictionary
|
||||
// 0x39000 - 2 4kb sectors = default MFC keys dictionary
|
||||
// 0x38000 - 3 4kb sectors = default MFC keys dictionary
|
||||
//
|
||||
#ifndef FLASH_MEM_BLOCK_SIZE
|
||||
# define FLASH_MEM_BLOCK_SIZE 256
|
||||
|
@ -79,7 +79,7 @@
|
|||
|
||||
// Reserved space for MIFARE Keys = 8 kb
|
||||
#ifndef DEFAULT_MF_KEYS_OFFSET
|
||||
# define DEFAULT_MF_KEYS_LEN (0x2000)
|
||||
# define DEFAULT_MF_KEYS_LEN (0x3000)
|
||||
# define DEFAULT_MF_KEYS_OFFSET (DEFAULT_ICLASS_KEYS_OFFSET - DEFAULT_MF_KEYS_LEN)
|
||||
# define DEFAULT_MF_KEYS_MAX ((DEFAULT_MF_KEYS_LEN - 2) / 6)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue