NSS:SetTWLBannerHMAC: Difference between revisions

Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000D....] |- | 1-5 | Input param data |} =Response= {| class="wikitable" border..."
 
Steveice10 (talk | contribs)
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.