Updated hf iclass legrec with a fast option and improved AA2 selection

1- Added a --fast option for hf iclass legrec that further increases the speed from 4.6 key updates/second to 7.4 key updates/second. This is achieved by skipping some safety checks and is a very fast but more risky operation.
2- Automated AA2 block selection based on the values in the config block
3- Other minor code cleanups
This commit is contained in:
Antiklesys 2025-06-05 20:44:58 +08:00
commit 083a9ce945
3 changed files with 172 additions and 64 deletions

View file

@ -124,6 +124,7 @@ typedef struct {
uint8_t nfa[8];
bool debug;
bool test;
bool fast;
} PACKED iclass_recover_req_t;
typedef struct iclass_premac {