added rudimentary functions for doing AES authentication against MIFARE UL AES tags. (wip)

This commit is contained in:
iceman1001 2024-02-15 16:20:47 +01:00
commit c4c1601446
11 changed files with 330 additions and 27 deletions

View file

@ -224,6 +224,9 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
#define MIFARE_ULNANO_WRITESIG 0xA9
#define MIFARE_ULNANO_LOCKSIG 0xAC
#define MIFARE_ULAES_AUTH_1 0x1A
#define MIFARE_ULAES_AUTH_2 0xAF
// NTAG i2k 2K uses sector 0, and sector 1 to have access to
// block 0x00-0xFF.
#define NTAG_I2C_SELECT_SECTOR 0xC2