Difference between revisions of "NSS:SetTWLBannerHMAC"

From 3dbrew
Jump to navigation Jump to search
m (Steveice10 moved page NSS:SetFIRMParams4B0 to NSS:SetTWLBannerHMAC)
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1-5
 
| 1-5
| Input param data
+
| TWL Banner SHA1-HMAC
 
|}
 
|}
  
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.

Latest revision as of 04:21, 20 January 2016

Request[edit]

Index Word Description
0 Header code [0x000D0140]
1-5 TWL Banner SHA1-HMAC

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

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.