Improve naming consistency.
Ensure all MIFARE related names and structures start with "mifare_" or "MIFARE_".
This commit is contained in:
parent
faac4ae5d8
commit
1ce3db3ca6
26 changed files with 178 additions and 174 deletions
|
|
@ -178,7 +178,7 @@ test_mifare_ultralightc_authenticate (void)
|
|||
int res;
|
||||
MifareDESFireKey key;
|
||||
|
||||
if (tag->tag_info->type == ULTRALIGHT_C) {
|
||||
if (tag->tag_info->type == MIFARE_ULTRALIGHT_C) {
|
||||
uint8_t key1_3des_data[16] = { 0x49, 0x45, 0x4D, 0x4B, 0x41, 0x45, 0x52, 0x42, 0x21, 0x4E, 0x41, 0x43, 0x55, 0x4F, 0x59, 0x46 };
|
||||
key = mifare_desfire_3des_key_new (key1_3des_data);
|
||||
res = mifare_ultralightc_authenticate (tag, key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue