IOSC: Load the backup/PRNG key
This commit is contained in:
parent
05016e8dca
commit
e608d79f42
|
@ -430,8 +430,9 @@ void IOSC::LoadDefaultEntries(ConsoleType console_type)
|
|||
break;
|
||||
}
|
||||
|
||||
// Unimplemented.
|
||||
m_key_entries[HANDLE_PRNG_KEY] = {TYPE_SECRET_KEY, SUBTYPE_AES128, std::vector<u8>(16), 3};
|
||||
m_key_entries[HANDLE_PRNG_KEY] = {
|
||||
TYPE_SECRET_KEY, SUBTYPE_AES128,
|
||||
std::vector<u8>(ec.GetBackupKey(), ec.GetBackupKey() + AES128_KEY_SIZE), 3};
|
||||
|
||||
m_key_entries[HANDLE_SD_KEY] = {TYPE_SECRET_KEY,
|
||||
SUBTYPE_AES128,
|
||||
|
|
Loading…
Reference in New Issue