ADD: analyse nuid - generates NUID 4byte from a UID 7byte. Mifare Classic Ev1 has this option as a activation sequences. This NUID is also used for authenticate (cuid), not the block0 data.

ref: http://www.gorferay.com/mifare-and-handling-of-uids/
This commit is contained in:
iceman1001 2017-03-10 09:48:36 +01:00
commit 905c55de2b
4 changed files with 71 additions and 7 deletions

View file

@ -18,6 +18,7 @@
#define CRC_14443_B 0xFFFF /* ISO/IEC 13239 (formerly ISO/IEC 3309) */
#define CRC_ICLASS 0xE012 /* ICLASS PREFIX */
unsigned short UpdateCrc14443(unsigned char ch, unsigned short *lpwCrc);
void ComputeCrc14443(int CrcType,
const unsigned char *Data, int Length,
unsigned char *TransmitFirst,