CfgI:SetLocalFriendCodeSeedSignature

CfgI:SetLocalFriendCodeSeedSignature

Request #

Index WordDescription
0Header code [0x080C0042]
1Buffer size
210 | (Size<<4)
3Signature buffer

Response #

Index WordDescription
0Header code
1Result 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.

Setting +0x20 to zero results in most SecureInfo commands being unusable. For those to be usable again, CfgI:VerifySigSecureInfo must be used. The +0x20 u8 will only be restored to value 1 if CfgI:VerifySigSecureInfo is successful.