mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
unshadow
This commit is contained in:
parent
1833ad5616
commit
4b12b2cdf3
1 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ void *mifare_cryto_postprocess_data(desfiretag_t tag, void *data, size_t *nbytes
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
uint16_t crc16 = 0x00;
|
uint16_t crc_16 = 0x00;
|
||||||
uint32_t crc;
|
uint32_t crc;
|
||||||
switch (DESFIRE(tag)->authentication_scheme) {
|
switch (DESFIRE(tag)->authentication_scheme) {
|
||||||
case AS_LEGACY:
|
case AS_LEGACY:
|
||||||
|
@ -450,7 +450,7 @@ void *mifare_cryto_postprocess_data(desfiretag_t tag, void *data, size_t *nbytes
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
crc = crc16;
|
crc = crc_16;
|
||||||
break;
|
break;
|
||||||
case AS_NEW:
|
case AS_NEW:
|
||||||
end_crc_pos = crc_pos + 4;
|
end_crc_pos = crc_pos + 4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue