mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Fix the types of parameters in BitstreamOut_t
BitstreamOut_t in client/src/loclass/cipherutils.h is also used in client/src/cmddata.c for decimatioin, but uint8_t is too small for such application
This commit is contained in:
@@ -39,14 +39,14 @@
|
||||
|
||||
typedef struct {
|
||||
uint8_t *buffer;
|
||||
uint8_t numbits;
|
||||
uint8_t position;
|
||||
uint32_t numbits;
|
||||
uint32_t position;
|
||||
} BitstreamIn_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t *buffer;
|
||||
uint8_t numbits;
|
||||
uint8_t position;
|
||||
uint32_t numbits;
|
||||
uint32_t position;
|
||||
} BitstreamOut_t;
|
||||
|
||||
bool headBit(BitstreamIn_t *stream);
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
|
||||
typedef struct {
|
||||
uint8_t *buffer;
|
||||
uint8_t numbits;
|
||||
uint8_t position;
|
||||
uint32_t numbits;
|
||||
uint32_t position;
|
||||
} BitstreamIn_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t *buffer;
|
||||
uint8_t numbits;
|
||||
uint8_t position;
|
||||
uint32_t numbits;
|
||||
uint32_t position;
|
||||
} BitstreamOut_t;
|
||||
|
||||
bool headBit(BitstreamIn_t *stream);
|
||||
|
||||
Reference in New Issue
Block a user