mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
working progress..
This commit is contained in:
parent
4e6140570e
commit
61b8594cb4
2 changed files with 262 additions and 80 deletions
|
@ -36,6 +36,16 @@
|
|||
#include "protocols.h" // picopass structs,
|
||||
#include "usb_cdc.h" // for usb_poll_validate_length
|
||||
|
||||
|
||||
|
||||
typedef struct iclass_block {
|
||||
uint8_t d[8];
|
||||
} iclass_block_t;
|
||||
|
||||
typedef struct iclass_precalc {
|
||||
uint8_t mac[4];
|
||||
} iclass_precalc_t;
|
||||
|
||||
int CmdHFiClass(const char *Cmd);
|
||||
|
||||
extern int CmdHFiClassCalcNewKey(const char *Cmd);
|
||||
|
@ -61,4 +71,7 @@ extern int CmdHFiClass_WriteBlock(const char *Cmd);
|
|||
extern int CmdHF14AMfChk(const char *Cmd);
|
||||
void printIclassDumpContents(uint8_t *iclass_dump, uint8_t startblock, uint8_t endblock, size_t filesize);
|
||||
void HFiClassCalcDivKey(uint8_t *CSN, uint8_t *KEY, uint8_t *div_key, bool elite);
|
||||
int ReadDictionaryKeyFile( char* filename, uint8_t **keys, int *keycnt);
|
||||
int GenerateMacFromKeyFile( uint8_t* CSN, uint8_t* CCNR, bool use_raw, bool use_elite, uint8_t* keys, int keycnt, iclass_precalc_t* pre_list );
|
||||
void PrintPreCalcMac(uint8_t* keys, int keycnt, iclass_precalc_t* pre_list);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue