mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-30 20:07:55 +08:00
style - unused
This commit is contained in:
parent
962e58b475
commit
8ce361202c
2 changed files with 0 additions and 5 deletions
|
@ -46,10 +46,6 @@ void legic_prng_forward(int count) {
|
|||
}
|
||||
}
|
||||
|
||||
uint32_t legic_prng_count() {
|
||||
return lfsr.c;
|
||||
}
|
||||
|
||||
uint8_t legic_prng_get_bit() {
|
||||
uint8_t idx = 7 - ((lfsr.a & 4) | (lfsr.a >> 2 & 2) | (lfsr.a >> 4 & 1));
|
||||
return lfsr.b >> idx & 1;
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include <stdint.h>
|
||||
extern void legic_prng_init(uint8_t iv);
|
||||
extern void legic_prng_forward(int count);
|
||||
extern uint32_t legic_prng_count();
|
||||
extern uint8_t legic_prng_get_bit();
|
||||
extern uint32_t legic_prng_get_bits(uint8_t len);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue