nn::applet::CTR::ReceiveDeliverArg Function

Syntax

bool ReceiveDeliverArg(
     u8 pParam[ ],
     size_t paramSize,
     u8 pHmacBuf[],
     size_t hmacBufSize,
     bit32 * pUniqueId
);

Arguments

Name Description
out pParam[ ] The DeliverArg buffer for receiving data.
paramSize
out pHmacBuf[ ] The HMAC buffer for receiving data.
hmacBufSize
out pUniqueId A buffer for receiving the UniqueId for transmissions.

Return Values

Description

Gets DeliverArg and HMAC information as well as the UniqueId for transmissions.

There are NN_APPLET_PARAM_BUF_SIZE (768) bytes of DeliverArg information.

There are NN_APPLET_HMAC_BUF_SIZE (32) bytes of HMAC information.

The buffers passed as arguments should be allocated for at least the above sizes.

Revision History

2011/04/12
Added a note about the buffer.
2010/12/09
Described the buffer sizes.
2010/11/10
Initial version.

CONFIDENTIAL