mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-11-22 19:58:07 +00:00
fm11_prioritize_defaults() walked the whole candidate list once per dictionary key, and it is called for each sector with tens of thousands of candidates and ~85k dictionary keys, so it did on the order of 10^10 comparisons per run. Index the candidate keys first and skip a dictionary key that is not in the list, which is nearly all of them. A key that is present still takes the original scan, so the resulting order is unchanged. Falls back to the plain scan when the index cannot be allocated. Same key table recovered on a FM11RF08S, hf mf sen 6.1 s -> 5.2 s offline and 7.4 s -> 6.6 s for a full run. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>