Line 33:
Line 33:
=Description=
=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.
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.