Difference between revisions of "NSS:SetTWLBannerHMAC"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000D....] |- | 1-5 | Input param data |} =Response= {| class="wikitable" border...")
 
m (Steveice10 moved page NSS:SetFIRMParams4B0 to NSS:SetTWLBannerHMAC)
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x000D....]
+
| Header code [0x000D0140]
 
|-
 
|-
 
| 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.