mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Fix termux clang 21.1.3
Signed-off-by: 82ghost82 <crudo.daniele@gmail.com>
This commit is contained in:
@@ -72,8 +72,8 @@ bool nfc3d_amiibo_unpack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *t
|
||||
|
||||
uint8_t internal[NFC3D_AMIIBO_SIZE] = {0};
|
||||
|
||||
nfc3d_keygen_derivedkeys_t dataKeys;
|
||||
nfc3d_keygen_derivedkeys_t tagKeys;
|
||||
nfc3d_keygen_derivedkeys_t dataKeys = {0};
|
||||
nfc3d_keygen_derivedkeys_t tagKeys = {0};
|
||||
|
||||
// Convert format
|
||||
nfc3d_amiibo_tag_to_internal(tag, internal);
|
||||
@@ -109,8 +109,8 @@ bool nfc3d_amiibo_unpack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *t
|
||||
|
||||
void nfc3d_amiibo_pack(const nfc3d_amiibo_keys_t *amiiboKeys, const uint8_t *plain, uint8_t *tag) {
|
||||
uint8_t cipher[NFC3D_AMIIBO_SIZE] = {0};
|
||||
nfc3d_keygen_derivedkeys_t tagKeys;
|
||||
nfc3d_keygen_derivedkeys_t dataKeys;
|
||||
nfc3d_keygen_derivedkeys_t tagKeys = {0};
|
||||
nfc3d_keygen_derivedkeys_t dataKeys = {0};
|
||||
|
||||
// Generate keys
|
||||
nfc3d_amiibo_keygen(&amiiboKeys->tag, plain, &tagKeys);
|
||||
|
||||
Reference in New Issue
Block a user