CECDU:WriteMessageWithHMAC

From 3dbrew
Revision as of 04:41, 9 September 2016 by Wwylele (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00070106] |- | 1 | NCCH Program ID |- | 2 | bool is_out_box? |- | 3 | message...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00070106]
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) = (buffer_size << 4) | 0xA
6 buffer address
7 Buffer Mapping Descriptor(R) = (HMAC_key_size << 4) | 0xA
8 HMAC key address
9 Buffer Mapping Descriptor(RW) = (message_ID_size << 4) | 0xE
10 message ID address

Response

Index Word Description
0 Header code [0x00070046]
1 Result code
2 Buffer Unmapping Descriptor(R) = (buffer_size << 4) | 0xA
3 buffer address
4 Buffer Unmapping Descriptor(R) = (HMAC_key_size << 4) | 0xA
5 HMAC key address
6 Buffer Unmapping Descriptor(RW) = (message_ID_size << 4) | 0xE
7 message ID address