// variables\r
byte_t isOK = 0;\r
byte_t dataoutbuf[16];\r
- uint8_t uid[8];\r
+ uint8_t uid[10];\r
uint32_t cuid;\r
struct Crypto1State mpcs = {0, 0};\r
struct Crypto1State *pcs;\r
// variables\r
byte_t isOK = 0;\r
byte_t dataoutbuf[16 * 4];\r
- uint8_t uid[8];\r
+ uint8_t uid[10];\r
uint32_t cuid;\r
struct Crypto1State mpcs = {0, 0};\r
struct Crypto1State *pcs;\r
\r
// variables\r
byte_t isOK = 0;\r
- uint8_t uid[8];\r
+ uint8_t uid[10];\r
uint32_t cuid;\r
struct Crypto1State mpcs = {0, 0};\r
struct Crypto1State *pcs;\r
// variables\r
int rtr, i, j, m, len;\r
int davg, dmin, dmax;\r
- uint8_t uid[8];\r
+ uint8_t uid[10];\r
uint32_t cuid, nt1, nt2, nttmp, nttest, par, ks1;\r
uint8_t par_array[4];\r
nestedVector nvector[NES_MAX_INFO + 1][11];\r
}\r
\r
LED_B_ON();\r
-// SpinDelay(100);\r
cmd_send(CMD_ACK,0,ncount,targetBlockNo + (targetKeyType * 0x100),buf,48);\r
// UsbSendPacket((uint8_t *)&ack, sizeof(UsbCommand));\r
LED_B_OFF();\r
// memset(ack.d.asBytes, 0x00, sizeof(ack.d.asBytes));\r
\r
LED_B_ON();\r
-// SpinDelay(300);\r
// UsbSendPacket((uint8_t *)&ack, sizeof(UsbCommand));\r
cmd_send(CMD_ACK,1,0,0,0,0);\r
LED_B_OFF();\r
// variables\r
int i;\r
byte_t isOK = 0;\r
- uint8_t uid[8];\r
+ uint8_t uid[10];\r
uint32_t cuid;\r
struct Crypto1State mpcs = {0, 0};\r
struct Crypto1State *pcs;\r
// variables\r
byte_t dataoutbuf[16];\r
byte_t dataoutbuf2[16];\r
- uint8_t uid[8];\r
+ uint8_t uid[10];\r
\r
// clear trace\r
iso14a_clear_trace();\r
\r
// variables\r
byte_t isOK = 0;\r
- uint8_t uid[8];\r
+ uint8_t uid[10];\r
uint8_t d_block[18];\r
uint32_t cuid;\r
\r
- memset(uid, 0x00, 8);\r
+ memset(uid, 0x00, 10);\r
uint8_t* receivedAnswer = mifare_get_bigbufptr();\r
\r
if (workFlags & 0x08) {\r