struct Crypto1State *p1, *p2, *p3, *p4;\r
\r
// flush queue\r
- WaitForResponseTimeout(CMD_ACK, NULL, 100);\r
+ (void)WaitForResponseTimeout(CMD_ACK,NULL,100);\r
\r
UsbCommand c = {CMD_MIFARE_NESTED, {blockNo + keyType * 0x100, trgBlockNo + trgKeyType * 0x100, calibrate}};\r
memcpy(c.d.asBytes, key, 6);\r
uint32_t nr1 = crypto1_word(pcs, nr_enc, 1) ^ nr_enc;\r
uint32_t ar1 = crypto1_word(pcs, 0, 0) ^ ar_enc;\r
uint32_t at1 = crypto1_word(pcs, 0, 0) ^ at_enc;\r
+ crypto1_destroy(pcs);\r
printf("key> the same key test. nr1: %08x ar1: %08x at1: %08x \n", nr1, ar1, at1);\r
\r
if (NTParityCheck(nt1))\r