summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/amiibo_crypto.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-10-22 05:20:27 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-10-22 06:08:07 +0200
commit3e0aaeba98e3278b26f1d6be5dd013a953ff784f (patch)
tree35012cf4f8105c8821a76f4ee032bce260a50abb /src/core/hle/service/nfp/amiibo_crypto.h
parentservice: nfp: remove unnecessary include (diff)
downloadyuzu-3e0aaeba98e3278b26f1d6be5dd013a953ff784f.tar
yuzu-3e0aaeba98e3278b26f1d6be5dd013a953ff784f.tar.gz
yuzu-3e0aaeba98e3278b26f1d6be5dd013a953ff784f.tar.bz2
yuzu-3e0aaeba98e3278b26f1d6be5dd013a953ff784f.tar.lz
yuzu-3e0aaeba98e3278b26f1d6be5dd013a953ff784f.tar.xz
yuzu-3e0aaeba98e3278b26f1d6be5dd013a953ff784f.tar.zst
yuzu-3e0aaeba98e3278b26f1d6be5dd013a953ff784f.zip
Diffstat (limited to '')
-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 0175ced91..1fa61174e 100644
--- a/src/core/hle/service/nfp/amiibo_crypto.h
+++ b/src/core/hle/service/nfp/amiibo_crypto.h
@@ -91,6 +91,9 @@ void Cipher(const DerivedKeys& keys, const NTAG215File& in_data, NTAG215File& ou
/// Loads both amiibo keys from key_retail.bin
bool LoadKeys(InternalKey& locked_secret, InternalKey& unfixed_info);
+/// Returns true if key_retail.bin exist
+bool IsKeyAvailable();
+
/// Decodes encripted amiibo data returns true if output is valid
bool DecodeAmiibo(const EncryptedNTAG215File& encrypted_tag_data, NTAG215File& tag_data);