- crypto1_word(pcs, ar , 1);
- cardRr = nr ^ crypto1_word(pcs, 0, 0);
-
- // test if auth OK
- if (cardRr != prng_successor(nonce, 64)){
- if (MF_DBGLEVEL >= 2) Dbprintf("AUTH FAILED for sector %d with key %c. cardRr=%08x, succ=%08x",
- cardAUTHSC, cardAUTHKEY == 0 ? 'A' : 'B',
- cardRr, prng_successor(nonce, 64));
+ //crypto1_word(pcs, ar , 1);
+ //cardRr = nr ^ crypto1_word(pcs, 0, 0);
+
+ //test if auth OK
+ //if (cardRr != prng_successor(nonce, 64)){
+
+ //if (MF_DBGLEVEL >= 4) Dbprintf("AUTH FAILED for sector %d with key %c. cardRr=%08x, succ=%08x",
+ // cardAUTHSC, cardAUTHKEY == 0 ? 'A' : 'B',
+ // cardRr, prng_successor(nonce, 64));