1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>ReceiveDeliverArg</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/applet/Overview.html">applet</a>::<a href="../../../nn/applet/CTR/Overview.html">CTR</a>::ReceiveDeliverArg</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14bool ReceiveDeliverArg( 15 u8 pParam[ ], 16 size_t paramSize, 17 u8 pHmacBuf[], 18 size_t hmacBufSize, 19 bit32 * pUniqueId 20); 21</pre> 22 </div> 23<h2>Arguments</h2> 24 <div class="section"> 25 <table class="arguments"> 26 <thead> 27 <tr> 28 <td width="15" /> 29<th>Name</th> 30<td>Description</td> 31 </tr> 32 </thead> 33 <tr> 34<td>out</td> 35<th>pParam[ ]</th> 36<td>The <CODE>DeliverArg</CODE> buffer for receiving data.</td> 37 </tr> 38 <tr> 39 <td /> 40<th>paramSize</th> 41 <td> 42 </td> 43 </tr> 44 <tr> 45<td>out</td> 46<th>pHmacBuf[ ]</th> 47<td>The HMAC buffer for receiving data.</td> 48 </tr> 49 <tr> 50 <td /> 51<th>hmacBufSize</th> 52 <td> 53 </td> 54 </tr> 55 <tr> 56<td>out</td> 57<th>pUniqueId</th> 58<td>A buffer for receiving the <CODE>UniqueId</CODE> for transmissions.</td> 59 </tr> </table> 60 </div> 61<h2>Return Values</h2> 62 <div class="section"> </div> 63<h2>Description</h2> 64 <div class="section"> 65<p>Gets <CODE>DeliverArg</CODE> and HMAC information as well as the <CODE>UniqueId</CODE> for transmissions.</p><!-- write here --><p> 66There are <CODE>NN_APPLET_PARAM_BUF_SIZE</CODE> (768) bytes of <CODE>DeliverArg</CODE> information. 67 </p><p> 68There are <CODE>NN_APPLET_HMAC_BUF_SIZE</CODE> (32) bytes of HMAC information. 69 </p><p> 70The buffers passed as arguments should be allocated for at least the above sizes. 71 </p></div> 72<h2>Revision History</h2> 73 <div class="section"> 74 <dl class="history"> 75 <dt>2011/04/12</dt> 76<dd>Added a note about the buffer.<br /> 77 </dd> 78 <dt>2010/12/09</dt> 79<dd>Described the buffer sizes. 80 </dd> 81 <dt>2010/11/10</dt> 82<dd>Initial version.<br /> 83 </dd> 84 </dl> 85 </div> 86 <hr><p>CONFIDENTIAL</p></body> 87</html> 88