NSS:SetTWLBannerHMAC

From 3dbrew
Revision as of 05:21, 20 January 2016 by Steveice10 (talk | contribs)
Jump to navigation Jump to search

Request

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

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.