From 809b6c881ad1cf574543798f5273d7c4575b4531 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 15 Oct 2024 23:41:29 +0200 Subject: [PATCH] mfkey32_moebius: no need to wait for 20 keys to see there are more than 1 key... --- client/src/mifare/mfkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/mifare/mfkey.c b/client/src/mifare/mfkey.c index 0d905a65e..181818978 100644 --- a/client/src/mifare/mfkey.c +++ b/client/src/mifare/mfkey.c @@ -151,7 +151,7 @@ bool mfkey32_moebius(nonces_t *data, uint64_t *outputkey) { if (data->ar2 == (crypto1_word(t, 0, 0) ^ p641)) { outkey = key; ++counter; - if (counter == 20) break; + if (counter == 2) break; } } isSuccess = (counter == 1);