<div class="content"><p> </p><p>The VDS_ISCSI_SHARED_SECRET structure defines the <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_70bcde18-0e73-4f86-830e-39aa78fba425" data-linktype="relative-path">Challenge-Handshake
Authentication Protocol (CHAP)</a></span>, as specified in <span><a href="../ms-chap/8fea1dd1-66d6-4874-88a5-34bcdbb58907" data-linktype="relative-path">[MS-CHAP]</a></span>,
<span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_ae8614db-83d9-406d-aa79-90b2f07c3ed1" data-linktype="relative-path">shared
secret</a></span> for an <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_daaa5b4b-e3f0-4df2-94b2-332d6d84cf80" data-linktype="relative-path">iSCSI initiator</a></span>. </p><dl>
<dd>
<div><pre> typedef struct _VDS_ISCSI_SHARED_SECRET {
   [size_is(ulSharedSecretSize)] unsigned char* pSharedSecret;
   unsigned long ulSharedSecretSize;
 } VDS_ISCSI_SHARED_SECRET;
</pre></div>
</dd></dl><p><b>pSharedSecret:</b>  A pointer to an
array of bytes that contains the secret.</p><p><b>ulSharedSecretSize:</b>  The number of
bytes contained in the array that <b>pSharedSecret</b> references. Bytes MUST
be at least 12 and less than or equal to 16.<a id="Appendix_A_Target_33"></a><a aria-label="Product behavior note 33" href="6b2552ee-ba27-409f-99a8-18841573327a#Appendix_A_33" data-linktype="relative-path">&lt;33&gt;</a> If a
shared secret of size less than 12 bytes is used, the server does not return an
error. However, the operation will not complete.</p></div>