aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/frontend_common
diff options
context:
space:
mode:
authort895 <[email protected]>2024-01-24 12:33:34 -0500
committert895 <[email protected]>2024-01-25 12:53:48 -0500
commit1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6 (patch)
treebea2cc265f8c2ca59a2f642128e6ee6d1c1196a6 /src/frontend_common
parent889c5d2705f8b39e27d0adf75c6831902d74943d (diff)
downloadyuzu-mainline-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.gz
yuzu-mainline-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.zip
frontend_common: Remove key rederivation and keep key check
Diffstat (limited to 'src/frontend_common')
-rw-r--r--src/frontend_common/content_manager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frontend_common/content_manager.h b/src/frontend_common/content_manager.h
index 0b0fee73e..fb92a1695 100644
--- a/src/frontend_common/content_manager.h
+++ b/src/frontend_common/content_manager.h
@@ -368,4 +368,11 @@ inline GameVerificationResult VerifyGameContents(
return GameVerificationResult::Success;
}
+/**
+ * Checks if the keys required for decrypting firmware and games are available
+ */
+inline bool AreKeysPresent() {
+ return !Core::Crypto::KeyManager::Instance().BaseDeriveNecessary();
+}
+
} // namespace ContentManager