AES: Properly handle missing seeds

This commit is contained in:
wheremyfoodat
2024-07-30 14:36:39 +03:00
committed by GitHub
parent e6c97edb1c
commit bec63c43a1

View File

@@ -91,6 +91,7 @@ bool NCCH::loadFromHeader(Crypto::AESEngine &aesEngine, IOFile& file, const FSIn
std::memcpy(secondaryKeyY.data(), hash.data(), secondaryKeyY.size()); std::memcpy(secondaryKeyY.data(), hash.data(), secondaryKeyY.size());
} else { } else {
Helpers::warn("Couldn't find a seed value for this title. Make sure you have a seeddb.bin file alongside your aes_keys.txt"); Helpers::warn("Couldn't find a seed value for this title. Make sure you have a seeddb.bin file alongside your aes_keys.txt");
gotCryptoKeys = false;
} }
} }