Files
proxmark3/client
iceman1001andClaude Opus 5 69ebbc8dca hf mf sen: faster default-key dictionary check
fm11_key_matches_nonce() runs once per dictionary key per unknown key slot,
up to 85442 * 34 times. For every one of them it malloc'd a cipher state,
clocked two full 32 bit keystream words and only then compared the first,
although nearly every key fails on the first byte.

Keep the state on the stack, compare a byte at a time and stop at the first
mismatch, and clock the second word only for a key that survives. Same keys
accepted, about 6x less time in that phase (2.9 s -> 0.5 s for a full 34 slot
scan of the 85k dictionary).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-13 12:23:43 +07:00
..
2026-11-11 10:15:07 -06:00
2026-11-09 12:32:20 +07:00