From: iceman1001 Date: Wed, 31 Aug 2016 17:18:48 +0000 (+0200) Subject: CHG: this timeout doesn't influence the bad performance with my older pm3 device... X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/8d61d9b114521733c7fb8ebe029fd3c969d9a086?ds=sidebyside;hp=be818b141745aa0831dba63d2e5f9cd088614c98 CHG: this timeout doesn't influence the bad performance with my older pm3 device (green pcb). I think its too slow. --- diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index 6bef0cbd..238bdf8f 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -613,7 +613,7 @@ int valid_nonce(uint32_t Nt, uint32_t NtEnc, uint32_t Ks1, uint8_t *parity) { // Mifare Classic Cards" in Proceedings of the 22nd ACM SIGSAC Conference on // Computer and Communications Security, 2015 //----------------------------------------------------------------------------- -#define AUTHENTICATION_TIMEOUT 1000 //848 // card times out 1ms after wrong authentication (according to NXP documentation) +#define AUTHENTICATION_TIMEOUT 848 //848 // card times out 1ms after wrong authentication (according to NXP documentation) #define PRE_AUTHENTICATION_LEADTIME 400 // some (non standard) cards need a pause after select before they are ready for first authentication void MifareAcquireEncryptedNonces(uint32_t arg0, uint32_t arg1, uint32_t flags, uint8_t *datain)