mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-10-30 11:47:51 +00:00
aes: Fix derivation of slot 0x25 key X from NATIVE_FIRM. (#6283)
This commit is contained in:
parent
5aa80873e2
commit
bb8dde8480
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ void LoadNativeFirmKeysOld3DS() {
|
|||
firm->Read(0, firm_buffer.size(), firm_buffer.data());
|
||||
firm->Close();
|
||||
|
||||
constexpr std::size_t SLOT_0x25_KEY_X_SECRET_OFFSET = 933480;
|
||||
constexpr std::size_t SLOT_0x25_KEY_X_SECRET_OFFSET = 934444;
|
||||
constexpr std::size_t SLOT_0x25_KEY_X_SECRET_SIZE = 64;
|
||||
std::vector<u8> secret_data(SLOT_0x25_KEY_X_SECRET_SIZE);
|
||||
std::memcpy(secret_data.data(), firm_buffer.data() + SLOT_0x25_KEY_X_SECRET_OFFSET,
|
||||
|
|
Loading…
Reference in a new issue