added rudimentary functions for doing AES authentication against MIFARE UL AES tags. (wip)
This commit is contained in:
1 parent
cb570cb103
commit
c4c1601446
11 files changed
+330
-27
No files matched your search
+4
-2
@@ -692,9 +692,11 @@ typedef struct {
|
||||
#define CMD_HF_MIFARE_MFKEY 0x0631
|
||||
#define CMD_HF_MIFARE_PERSONALIZE_UID 0x0632
|
||||
|
||||
//ultralightC
|
||||
// ultralight-C
|
||||
#define CMD_HF_MIFAREUC_AUTH 0x0724
|
||||
//0x0725 and 0x0726 no longer used
|
||||
// Ultralight AES
|
||||
#define CMD_HF_MIFAREULAES_AUTH 0x0725
|
||||
// 0x0726 no longer used
|
||||
#define CMD_HF_MIFAREUC_SETPWD 0x0727
|
||||
|
||||
// mifare desfire
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user