mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
CHG: revert legiccrc8 to old algo.
CHG: "hf legic decode" now loads EML memory CHG: legic timings is better.
This commit is contained in:
parent
0b0b182fe2
commit
77a689dbeb
3 changed files with 68 additions and 68 deletions
|
@ -115,7 +115,7 @@ uint32_t CRC8Legic(uint8_t *buff, size_t size) {
|
|||
crc_t crc;
|
||||
crc_init_ref(&crc, 8, 0x63, 0x55, 0, TRUE, TRUE);
|
||||
for ( int i = 0; i < size; ++i)
|
||||
crc_update(&crc, buff[i], 8);
|
||||
crc_update2(&crc, buff[i], 8);
|
||||
return reflect(crc_finish(&crc), 8);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue