mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix some style and it now also copy right string length
This commit is contained in:
parent
ba578ee139
commit
f7e4b4e2eb
6 changed files with 58 additions and 44 deletions
|
@ -18,14 +18,14 @@
|
|||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
nfc3d_keygen_masterkeys data;
|
||||
nfc3d_keygen_masterkeys tag;
|
||||
} nfc3d_amiibo_keys;
|
||||
nfc3d_keygen_masterkeys_t data;
|
||||
nfc3d_keygen_masterkeys_t tag;
|
||||
} nfc3d_amiibo_keys_t;
|
||||
#pragma pack()
|
||||
|
||||
bool nfc3d_amiibo_unpack(const nfc3d_amiibo_keys *amiiboKeys, const uint8_t *tag, uint8_t *plain);
|
||||
void nfc3d_amiibo_pack(const nfc3d_amiibo_keys *amiiboKeys, const uint8_t *plain, uint8_t *tag);
|
||||
bool nfc3d_amiibo_load_keys(nfc3d_amiibo_keys *amiiboKeys);
|
||||
bool nfc3d_amiibo_unpack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *tag, uint8_t *plain);
|
||||
void nfc3d_amiibo_pack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *plain, uint8_t *tag);
|
||||
bool nfc3d_amiibo_load_keys(nfc3d_amiibo_keys_t *amiiboKeys);
|
||||
void nfc3d_amiibo_copy_app_data(const uint8_t *src, uint8_t *dst);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue