mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-27 10:29:18 +08:00
ADD; added some more descriptions of what the legic prng imp does.
This commit is contained in:
parent
f885043422
commit
93b7aa8f88
1 changed files with 5 additions and 3 deletions
|
@ -7,9 +7,11 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include "legic_prng.h"
|
||||
// a is 7bit
|
||||
// b is
|
||||
// c is a counter
|
||||
// the prng is a muxed value from two lsfr a, b
|
||||
// a is 7bit lsfr
|
||||
// b is 8bit lsfr
|
||||
// c keeps track on which step the prng is.
|
||||
// legic_prng_get_bit() = gets a bit muxed from a and b.
|
||||
struct lfsr {
|
||||
uint8_t a;
|
||||
uint8_t b;
|
||||
|
|
Loading…
Reference in a new issue