mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
CHG: removed some debug data
CHG: reverted back to old crc imp.
This commit is contained in:
parent
ce1cccd697
commit
cb7902cdcd
2 changed files with 17 additions and 40 deletions
|
@ -35,7 +35,7 @@ void crc_clear(crc_t *crc) {
|
|||
crc->state = reflect(crc->state, crc->order);
|
||||
}
|
||||
|
||||
void crc_update(crc_t *crc, uint32_t data, int data_width){
|
||||
void crc_update2(crc_t *crc, uint32_t data, int data_width){
|
||||
|
||||
if (crc->refin)
|
||||
data = reflect(data, data_width);
|
||||
|
@ -52,7 +52,7 @@ void crc_update(crc_t *crc, uint32_t data, int data_width){
|
|||
}
|
||||
}
|
||||
|
||||
void crc_update2(crc_t *crc, uint32_t data, int data_width)
|
||||
void crc_update(crc_t *crc, uint32_t data, int data_width)
|
||||
{
|
||||
if (crc->refin)
|
||||
data = reflect(data, data_width);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue