style - unused

This commit is contained in:
iceman1001 2019-03-25 15:03:22 +01:00
parent 962e58b475
commit 8ce361202c
2 changed files with 0 additions and 5 deletions

View file

@ -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;

View file

@ -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