Difference between revisions of "NSS:SetTWLBannerHMAC"

From 3dbrew
Jump to navigation Jump to search
Line 27: Line 27:
 
=Description=
 
=Description=
 
The input 20-byte data is copied to the NS [[FIRM]] parameter buffer at offset 0x4B0.
 
The input 20-byte data is copied to the NS [[FIRM]] parameter buffer at offset 0x4B0.
 +
 +
This is used by [[Home_Menu|Home Menu]] during TWL title-launch to pass a HMAC-SHA1 of the banner (size varies based on the banner version, etc.) to TWL_FIRM using the TWL and NTR SRL HMAC keys. This is presumably used for comparing against the HMAC stored in the [[Title_list#TWL_System_Titles|whitelist]] for titles without RSA.

Revision as of 21:01, 8 August 2015

Request

Index Word Description
0 Header code [0x000D0140]
1-5 Input param data

Response

Index Word Description
0 Header code
1 Result code

Description

The input 20-byte data is copied to the NS FIRM parameter buffer at offset 0x4B0.

This is used by Home Menu during TWL title-launch to pass a HMAC-SHA1 of the banner (size varies based on the banner version, etc.) to TWL_FIRM using the TWL and NTR SRL HMAC keys. This is presumably used for comparing against the HMAC stored in the whitelist for titles without RSA.