Fix termux clang 21.1.3
Signed-off-by: 82ghost82 <crudo.daniele@gmail.com>
This commit is contained in:
1 parent
6e69f8ab9d
commit
bb22d87a01
1 file changed
+4
-4
@@ -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