Difference between revisions of "CECDU:ReadMessageWithHMAC"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00040106] |- | 1 | NCCH Program ID |- | 2 | bool is_out_box? |- | 3 | message...")
(No difference)

Revision as of 04:37, 9 September 2016

Request

Index Word Description
0 Header code [0x00040106]
1 NCCH Program ID
2 bool is_out_box?
3 message ID size (unused, always 8)
4 buffer size (unused)
5 Buffer Mapping Descriptor(R) = (message_ID_size << 4) | 0xA
6 message ID address
7 Buffer Mapping Descriptor(R) = (HMAC_key_size << 4) | 0xA
8 HMAC key address
9 Buffer Mapping Descriptor(W) = (buffer_size << 4) | 0xC
10 buffer address

Response

Index Word Description
0 Header code [0x00040086]
1 Result code
2 Read size
3 Buffer Unmapping Descriptor(R) = (message_ID_size << 4) | 0xA
4 message ID address
5 Buffer Unmapping Descriptor(R) = (HMAC_key_size << 4) | 0xA
6 HMAC key address
7 Buffer Unmapping Descriptor(W) = (buffer_size << 4) | 0xC
8 buffer address