Updates to iclass legrec and legbrute

Streamlined legbrute to remove then need for CSN and validate variables accuracy as per Iceman's suggestions.
Updated legrec (client side only) for the future arm side PR
Fixed variable overflow on the arm side for hex conversions
This commit is contained in:
Antiklesys 2024-09-18 18:10:53 +08:00
commit 90b05106f8
4 changed files with 147 additions and 107 deletions

View file

@ -88,7 +88,7 @@ int hex2binarray(char *target, const char *source);
int hex2binarray_n(char *target, const char *source, int sourcelen);
int binarray2hex(const uint8_t *bs, int bs_len, uint8_t *hex);
void convertToHexArray(uint8_t num, uint8_t *partialkey);
void convertToHexArray(uint32_t num, uint8_t *partialKey);
void LED(int led, int ms);
void LEDsoff(void);