qt: Add NCCH secure 1/2 to keys needed for system titles download. (#6586)
This commit is contained in:
@@ -573,6 +573,10 @@ void SetNormalKey(std::size_t slot_id, const AESKey& key) {
|
||||
key_slots.at(slot_id).SetNormalKey(key);
|
||||
}
|
||||
|
||||
bool IsKeyXAvailable(std::size_t slot_id) {
|
||||
return key_slots.at(slot_id).x.has_value();
|
||||
}
|
||||
|
||||
bool IsNormalKeyAvailable(std::size_t slot_id) {
|
||||
return key_slots.at(slot_id).normal.has_value();
|
||||
}
|
||||
|
@@ -76,6 +76,7 @@ void SetKeyX(std::size_t slot_id, const AESKey& key);
|
||||
void SetKeyY(std::size_t slot_id, const AESKey& key);
|
||||
void SetNormalKey(std::size_t slot_id, const AESKey& key);
|
||||
|
||||
bool IsKeyXAvailable(std::size_t slot_id);
|
||||
bool IsNormalKeyAvailable(std::size_t slot_id);
|
||||
AESKey GetNormalKey(std::size_t slot_id);
|
||||
|
||||
|
Reference in New Issue
Block a user