mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Update on variables and comments
Added missing definition of picopass block size in util.c Changed some variables to full lowercase Added comment explanation on correlation between macs and decimal values
This commit is contained in:
parent
a127a38cb6
commit
27cbdd3031
2 changed files with 12 additions and 5 deletions
|
@ -410,6 +410,8 @@ uint8_t binaryToHex(char *binaryStr) {
|
|||
return (uint8_t)strtoul(binaryStr, NULL, 2);
|
||||
}
|
||||
|
||||
#define PICOPASS_BLOCK_SIZE 8
|
||||
|
||||
// Function to convert an unsigned int to an array of hex values
|
||||
void convertToHexArray(uint8_t num, uint8_t *partialkey) {
|
||||
char binaryStr[25]; // 24 bits for binary representation + 1 for null terminator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue