CfgI:SetLocalFriendCodeSeedSignature

From 3dbrew
Revision as of 17:51, 2 August 2014 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x080C0042] |- | 1 | Buffer size |- | 2 | <nowiki>10 | (Size<<4)</nowiki> |- | 3 |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x080C0042]
1 Buffer size
2 10 | (Size<<4)
3 Signature buffer

Response

Index Word Description
0 Header code
1 Result code

Description

When u8 LocalFriendCodeSeed_state+0x21 == 0, this returns error 0xD8A103F8. This overwrites the LocalFriendCodeSeed RSA-signature data stored in memory(not the one stored in NAND) with the input data. This then writes u8 value zero to LocalFriendCodeSeed_state+0x20.