mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
more crc overshadow
This commit is contained in:
parent
c4920d7179
commit
a8ad793f7f
2 changed files with 2 additions and 2 deletions
|
@ -300,7 +300,7 @@ int CmdAnalyseCRC(const char *Cmd) {
|
|||
// ISO14443 crc B
|
||||
compute_crc(CRC_14443_B, data, len, &b1, &b2);
|
||||
uint16_t crcBB_1 = b1 << 8 | b2;
|
||||
uint16_t bbb = crc(CRC_14443_B, data, len);
|
||||
uint16_t bbb = Crc(CRC_14443_B, data, len);
|
||||
PrintAndLogEx(NORMAL, "ISO14443 crc B | %04x == %04x \n", crcBB_1, bbb);
|
||||
|
||||
|
||||
|
|
|
@ -479,7 +479,7 @@ int CmdHF15Demod(const char *Cmd) {
|
|||
for (i = 0; i < k; i++)
|
||||
PrintAndLogEx(NORMAL, "# %2d: %02x ", i, outBuf[i]);
|
||||
|
||||
PrintAndLogEx(NORMAL, "CRC %04x", Crc(outBuf, k - 2));
|
||||
PrintAndLogEx(NORMAL, "CRC %04x", Crc15(outBuf, k - 2));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue