CECDU:WriteMessageWithHMAC

Revision as of 09:24, 10 September 2016 by Neobrain (talk | contribs) (Fix request header (still need to figure out the response header))

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 Descriptor for mapping a read-only buffer in the target process
6 buffer address
7 Descriptor for mapping a read-only buffer in the target process
8 HMAC key address
9 Descriptor for mapping a read/write buffer in the target process
10 message ID address

Response

Index Word Description
0 Header code [0x0007????]
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 buffer address
4 Descriptor for mapping a read-only buffer in the target process
5 HMAC key address
6 Descriptor for mapping a read/write buffer in the target process
7 message ID address