tdes_2key_dec(resp_random_a, enc_resp, 8, key, enc_random_b);\r
if ( memcmp(resp_random_a, random_a, 8) != 0 ) {\r
if (MF_DBGLEVEL >= MF_DBG_ERROR) Dbprintf("failed authentication");\r
tdes_2key_dec(resp_random_a, enc_resp, 8, key, enc_random_b);\r
if ( memcmp(resp_random_a, random_a, 8) != 0 ) {\r
if (MF_DBGLEVEL >= MF_DBG_ERROR) Dbprintf("failed authentication");\r