diff options
author | bunnei <[email protected]> | 2023-02-04 00:55:02 -0800 |
---|---|---|
committer | bunnei <[email protected]> | 2023-06-03 00:05:29 -0700 |
commit | 93cf8c3090889e1228b94df4d171601d8f7dd7f0 (patch) | |
tree | 50dea0d1b7e2c9ecd668ad3e33c912df5b3e5f0a /src/core/crypto | |
parent | 63a98e3e1cc9dfb306bb3f063a6c89acaf1f55ad (diff) | |
download | yuzu-android-93cf8c3090889e1228b94df4d171601d8f7dd7f0.tar.gz yuzu-android-93cf8c3090889e1228b94df4d171601d8f7dd7f0.zip |
android: frontend: Integrate key installation for SAF.
Diffstat (limited to 'src/core/crypto')
-rw-r--r-- | src/core/crypto/key_manager.cpp | 2 | ||||
-rw-r--r-- | src/core/crypto/key_manager.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp index 0bd5859d0..4ff2c50e5 100644 --- a/src/core/crypto/key_manager.cpp +++ b/src/core/crypto/key_manager.cpp @@ -706,7 +706,7 @@ void KeyManager::LoadFromFile(const std::filesystem::path& file_path, bool is_ti } } -bool KeyManager::IsKeysLoaded() const { +bool KeyManager::AreKeysLoaded() const { return !s128_keys.empty() && !s256_keys.empty(); } diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h index fb991ae54..8c864503b 100644 --- a/src/core/crypto/key_manager.h +++ b/src/core/crypto/key_manager.h @@ -268,7 +268,7 @@ public: bool AddTicketPersonalized(Ticket raw); void ReloadKeys(); - bool IsKeysLoaded() const; + bool AreKeysLoaded() const; private: KeyManager(); |