mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Merge pull request #155 from davidbeauchamp/hid36bit
Add 36bit HID format, extend calcWiegand() to include oem bits
This commit is contained in:
commit
7483e56249
4 changed files with 38 additions and 6 deletions
|
@ -245,6 +245,7 @@ int binarraytohex(char *target, const size_t targetlen, char *source, size_t src
|
|||
void binarraytobinstring(char *target, char *source, int length);
|
||||
uint8_t GetParity(uint8_t *bits, uint8_t type, int length);
|
||||
void wiegand_add_parity(uint8_t *target, uint8_t *source, uint8_t length);
|
||||
void wiegand_add_parity_swapped(uint8_t *target, uint8_t *source, uint8_t length);
|
||||
|
||||
void xor(unsigned char *dst, unsigned char *src, size_t len);
|
||||
int32_t le24toh(uint8_t data[3]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue