mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
hf mf isen --collect_fm11rf08s_with_data optimizations:
* do not read data blocks twice * store data in the emulator memory, to be prepared for standalone modes and to not allocate large buffer on stack * 9->8 bytes to store each key data in emulator memory (half_nt + nt_par_err + flag + nt_enc)
This commit is contained in:
parent
d3a434b966
commit
85e463b222
3 changed files with 49 additions and 25 deletions
|
@ -26,6 +26,10 @@
|
|||
#define MAX_MIFARE_FRAME_SIZE 18 // biggest Mifare frame is answer to a read (one block = 16 Bytes) + 2 Bytes CRC
|
||||
#define MAX_MIFARE_PARITY_SIZE 3 // need 18 parity bits for the 18 Byte above. 3 Bytes are enough to store these
|
||||
#define CARD_MEMORY_SIZE 4096
|
||||
// For now we're storing FM11RF08S nonces in the upper 1k of CARD_MEMORY_SIZE
|
||||
// but we might have to allocate extra space if one day we've to support sth like a FM11RF32S
|
||||
#define CARD_MEMORY_RF08S_OFFSET 1024
|
||||
|
||||
//#define DMA_BUFFER_SIZE (512 + 256)
|
||||
#define DMA_BUFFER_SIZE 512
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue