mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
[makerom] Updated NCSD spec, as per 3dbrew.org contributor research.
This commit is contained in:
+7
-13
@@ -17,10 +17,11 @@ typedef struct
|
||||
u8 writableAddress[4];
|
||||
u8 cardInfoBitmask[4];
|
||||
cardinfo_notes notes;
|
||||
u8 ncch0TitleId[8];
|
||||
u8 reserved0[8];
|
||||
u8 initialData[0x30];
|
||||
u8 reserved1[0xc0];
|
||||
u8 cardSeedKeyY[0x10];
|
||||
u8 encCardSeed[0x10];
|
||||
u8 cardSeedMac[0x10];
|
||||
u8 cardSeedNonce[0xc];
|
||||
u8 reserved1[0xc4];
|
||||
u8 ncch0Hdr[0x100];
|
||||
} cardinfo_hdr;
|
||||
|
||||
@@ -31,16 +32,9 @@ typedef struct
|
||||
u8 cardDeviceReserved2[0xf0];
|
||||
} devcardinfo_hdr;
|
||||
|
||||
static const u8 stock_initial_data[0x30] =
|
||||
static const u8 stock_card_seed_mac[0x30] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0xAD, 0x88,
|
||||
0xAC, 0x41, 0xA2, 0xB1, 0x5E, 0x8F,
|
||||
0x66, 0x9C, 0x97, 0xE5, 0xE1, 0x5E,
|
||||
0xA3, 0xEB, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
0xAD, 0x88, 0xAC, 0x41, 0xA2, 0xB1, 0x5E, 0x8F, 0x66, 0x9C, 0x97, 0xE5, 0xE1, 0x5E, 0xA3, 0xEB
|
||||
};
|
||||
|
||||
static const u8 stock_title_key[0x10] =
|
||||
|
||||
Reference in New Issue
Block a user