mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
clean
This commit is contained in:
parent
927cd71ed9
commit
ae8be54fca
1 changed files with 0 additions and 8 deletions
|
@ -1664,14 +1664,6 @@ static inline bool bitflips_match(uint8_t byte, uint32_t state, odd_even_t odd_e
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
static uint_fast8_t reverse(uint_fast8_t b) {
|
|
||||||
b = (b & 0xF0) >> 4 | (b & 0x0F) << 4;
|
|
||||||
b = (b & 0xCC) >> 2 | (b & 0x33) << 2;
|
|
||||||
b = (b & 0xAA) >> 1 | (b & 0x55) << 1;
|
|
||||||
return b;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
static uint_fast8_t reverse(uint_fast8_t b) {
|
static uint_fast8_t reverse(uint_fast8_t b) {
|
||||||
return (b * 0x0202020202ULL & 0x010884422010ULL) % 1023;
|
return (b * 0x0202020202ULL & 0x010884422010ULL) % 1023;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue