summaryrefslogtreecommitdiff
path: root/src/frontend_common
diff options
context:
space:
mode:
authorGravatar t8952024-01-24 12:33:34 -0500
committerGravatar t8952024-01-25 12:53:48 -0500
commit1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6 (patch)
treebea2cc265f8c2ca59a2f642128e6ee6d1c1196a6 /src/frontend_common
parentMerge pull request #12739 from t895/debug-keystore (diff)
downloadyuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.gz
yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.xz
yuzu-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(
368 return GameVerificationResult::Success; 368 return GameVerificationResult::Success;
369} 369}
370 370
371/**
372 * Checks if the keys required for decrypting firmware and games are available
373 */
374inline bool AreKeysPresent() {
375 return !Core::Crypto::KeyManager::Instance().BaseDeriveNecessary();
376}
377
371} // namespace ContentManager 378} // namespace ContentManager