summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/amiibo_crypto.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-03-27 18:16:24 +0200
committerGitHub <noreply@github.com>2023-03-27 18:16:24 +0200
commit3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6 (patch)
treee267b6cd31eebc440c6accdaacd6927824381502 /src/core/hle/service/nfp/amiibo_crypto.h
parentMerge pull request #9994 from liamwhite/integer-constant (diff)
parentservice: nfp: Add plain amiibo support (diff)
downloadyuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar
yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.gz
yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.bz2
yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.lz
yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.xz
yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.zst
yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.zip
Diffstat (limited to 'src/core/hle/service/nfp/amiibo_crypto.h')
-rw-r--r--src/core/hle/service/nfp/amiibo_crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/nfp/amiibo_crypto.h b/src/core/hle/service/nfp/amiibo_crypto.h
index c9fd67a39..f6208ee6b 100644
--- a/src/core/hle/service/nfp/amiibo_crypto.h
+++ b/src/core/hle/service/nfp/amiibo_crypto.h
@@ -60,6 +60,9 @@ static_assert(sizeof(DerivedKeys) == 0x30, "DerivedKeys is an invalid size");
/// Validates that the amiibo file is not corrupted
bool IsAmiiboValid(const EncryptedNTAG215File& ntag_file);
+/// Validates that the amiibo file is not corrupted
+bool IsAmiiboValid(const NTAG215File& ntag_file);
+
/// Converts from encrypted file format to encoded file format
NTAG215File NfcDataToEncodedData(const EncryptedNTAG215File& nfc_data);