summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/amiibo_types.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-09-07 08:03:02 +0200
committergerman77 <juangerman-13@hotmail.com>2022-09-07 16:49:43 +0200
commit063b23cc58b1e7367f9e530e752ab56fe1f56532 (patch)
tree6d227dca418bb26529762f2ce038c0776a569892 /src/core/hle/service/nfp/amiibo_types.h
parentcore: nfp: Workaround for lack of multiple nfp interfaces (diff)
downloadyuzu-063b23cc58b1e7367f9e530e752ab56fe1f56532.tar
yuzu-063b23cc58b1e7367f9e530e752ab56fe1f56532.tar.gz
yuzu-063b23cc58b1e7367f9e530e752ab56fe1f56532.tar.bz2
yuzu-063b23cc58b1e7367f9e530e752ab56fe1f56532.tar.lz
yuzu-063b23cc58b1e7367f9e530e752ab56fe1f56532.tar.xz
yuzu-063b23cc58b1e7367f9e530e752ab56fe1f56532.tar.zst
yuzu-063b23cc58b1e7367f9e530e752ab56fe1f56532.zip
Diffstat (limited to 'src/core/hle/service/nfp/amiibo_types.h')
-rw-r--r--src/core/hle/service/nfp/amiibo_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/nfp/amiibo_types.h b/src/core/hle/service/nfp/amiibo_types.h
index c9c0932d0..bf2de811a 100644
--- a/src/core/hle/service/nfp/amiibo_types.h
+++ b/src/core/hle/service/nfp/amiibo_types.h
@@ -137,10 +137,10 @@ struct EncryptedAmiiboFile {
u16 write_counter; // Number of times the amiibo has been written?
INSERT_PADDING_BYTES(0x1); // Unknown 1
AmiiboSettings settings; // Encrypted amiibo settings
- HashData locked_hash; // Hash
+ HashData hmac_tag; // Hash
AmiiboModelInfo model_info; // Encrypted amiibo model info
HashData keygen_salt; // Salt
- HashData unfixed_hash; // Hash
+ HashData hmac_data; // Hash
Service::Mii::Ver3StoreData owner_mii; // Encrypted Mii data
u64_be title_id; // Encrypted Game id
u16_be applicaton_write_counter; // Encrypted Counter
@@ -155,7 +155,7 @@ struct NTAG215File {
std::array<u8, 0x2> uuid2;
u16 static_lock; // Set defined pages as read only
u32 compability_container; // Defines available memory
- HashData unfixed_hash; // Hash
+ HashData hmac_data; // Hash
u8 constant_value; // Must be A5
u16 write_counter; // Number of times the amiibo has been written?
INSERT_PADDING_BYTES(0x1); // Unknown 1
@@ -167,7 +167,7 @@ struct NTAG215File {
std::array<u8, 0x2> unknown;
HashData hash; // Probably a SHA256-HMAC hash?
ApplicationArea application_area; // Encrypted Game data
- HashData locked_hash; // Hash
+ HashData hmac_tag; // Hash
std::array<u8, 0x8> uuid;
AmiiboModelInfo model_info;
HashData keygen_salt; // Salt