mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-23 08:27:51 +08:00
CHG: more struct errors.. my bad,
This commit is contained in:
parent
31cf804877
commit
4ab54914e3
1 changed files with 7 additions and 7 deletions
|
@ -471,14 +471,14 @@ static struct Crypto1State* check_pfx_parity_ex(uint32_t prefix, uint32_t odd, u
|
|||
|
||||
uint32_t c = 0;
|
||||
|
||||
sl.odd = odd ^ fastfwd[1][c];
|
||||
sl.even = even ^ fastfwd[0][c];
|
||||
sl->odd = odd ^ fastfwd[1][c];
|
||||
sl->even = even ^ fastfwd[0][c];
|
||||
|
||||
lfsr_rollback_bit(&sl, 0, 0);
|
||||
lfsr_rollback_bit(&sl, 0, 0);
|
||||
lfsr_rollback_bit(&sl, 0, 0);
|
||||
lfsr_rollback_word(&sl, 0, 0);
|
||||
lfsr_rollback_word(&sl, prefix | c << 5, 1);
|
||||
lfsr_rollback_bit(sl, 0, 0);
|
||||
lfsr_rollback_bit(sl, 0, 0);
|
||||
lfsr_rollback_bit(sl, 0, 0);
|
||||
lfsr_rollback_word(sl, 0, 0);
|
||||
lfsr_rollback_word(sl, prefix | c << 5, 1);
|
||||
|
||||
return ++sl;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue