Skip to content

Commit

Permalink
Doxygen for a0170b8
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot committed May 16, 2024
1 parent 9e0f3a2 commit 0e2c77c
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 99 deletions.
49 changes: 0 additions & 49 deletions main/core__pkcs11_8c.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a823383b0a2c3c3a7f7fad292307a3317"><td class="memItemLeft" align="right" valign="top">static CK_RV&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="core__pkcs11_8c.html#a823383b0a2c3c3a7f7fad292307a3317">prvOpenSession</a> (CK_SESSION_HANDLE *pxSession, CK_SLOT_ID xSlotId)</td></tr>
<tr class="memdesc:a823383b0a2c3c3a7f7fad292307a3317"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open a PKCS #11 Session. <br /></td></tr>
<tr class="separator:a823383b0a2c3c3a7f7fad292307a3317"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46c41cd94b0ad5eed22d17a59aef73da"><td class="memItemLeft" align="right" valign="top">CK_RV&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="core__pkcs11_8c.html#a46c41cd94b0ad5eed22d17a59aef73da">xGetSlotList</a> (CK_SLOT_ID **ppxSlotId, CK_ULONG *pxSlotCount)</td></tr>
<tr class="memdesc:a46c41cd94b0ad5eed22d17a59aef73da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a list of available PKCS #11 slots. <br /></td></tr>
<tr class="separator:a46c41cd94b0ad5eed22d17a59aef73da"><td class="memSeparator" colspan="2">&#160;</td></tr>
Expand All @@ -157,52 +154,6 @@
<div class="textblock"><p>corePKCS11 Interface. </p>
<p>This file contains wrapper functions for common PKCS #11 operations. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a823383b0a2c3c3a7f7fad292307a3317" name="a823383b0a2c3c3a7f7fad292307a3317"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a823383b0a2c3c3a7f7fad292307a3317">&#9670;&#160;</a></span>prvOpenSession()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static CK_RV prvOpenSession </td>
<td>(</td>
<td class="paramtype">CK_SESSION_HANDLE *&#160;</td>
<td class="paramname"><em>pxSession</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">CK_SLOT_ID&#160;</td>
<td class="paramname"><em>xSlotId</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">

<p>Open a PKCS #11 Session. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">pxSession</td><td>Pointer to the session handle to be created. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">xSlotId</td><td>Slot ID to be used for the session.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CKR_OK or PKCS #11 error code. (PKCS #11 error codes are positive). </dd></dl>

</div>
</div>
<a id="a46c41cd94b0ad5eed22d17a59aef73da" name="a46c41cd94b0ad5eed22d17a59aef73da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46c41cd94b0ad5eed22d17a59aef73da">&#9670;&#160;</a></span>xGetSlotList()</h2>

Expand Down
12 changes: 6 additions & 6 deletions main/core__pkcs11_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span><span class="comment">/* *INDENT-ON* */</span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> </div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span><span class="preprocessor">#endif </span><span class="comment">/* ifndef _CORE_PKCS11_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="acore__pkcs11_8h_html_a2e58242913103993041305e349913c88"><div class="ttname"><a href="core__pkcs11_8h.html#a2e58242913103993041305e349913c88">vAppendSHA256AlgorithmIdentifierSequence</a></div><div class="ttdeci">CK_RV vAppendSHA256AlgorithmIdentifierSequence(const uint8_t *puc32ByteHashedMessage, uint8_t *puc51ByteHashOidBuffer)</div><div class="ttdoc">Appends digest algorithm sequence to SHA-256 hash for RSA signatures.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:387</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a46c41cd94b0ad5eed22d17a59aef73da"><div class="ttname"><a href="core__pkcs11_8h.html#a46c41cd94b0ad5eed22d17a59aef73da">xGetSlotList</a></div><div class="ttdeci">CK_RV xGetSlotList(CK_SLOT_ID **ppxSlotId, CK_ULONG *pxSlotCount)</div><div class="ttdoc">Get a list of available PKCS #11 slots.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:73</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a54d499d52094e28bdcfb59839e381675"><div class="ttname"><a href="core__pkcs11_8h.html#a54d499d52094e28bdcfb59839e381675">xInitializePkcs11Session</a></div><div class="ttdeci">CK_RV xInitializePkcs11Session(CK_SESSION_HANDLE *pxSession)</div><div class="ttdoc">Initializes the PKCS #11 module and opens a session.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:266</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a6f97ebff17fdfd0f2dc404b2c61010ae"><div class="ttname"><a href="core__pkcs11_8h.html#a6f97ebff17fdfd0f2dc404b2c61010ae">xFindObjectWithLabelAndClass</a></div><div class="ttdeci">CK_RV xFindObjectWithLabelAndClass(CK_SESSION_HANDLE xSession, char *pcLabelName, CK_ULONG ulLabelNameLen, CK_OBJECT_CLASS xClass, CK_OBJECT_HANDLE_PTR pxHandle)</div><div class="ttdoc">Searches for an object with a matching label and class provided.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:322</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a839e3d1d640a1a13b25a49c93d1a05fa"><div class="ttname"><a href="core__pkcs11_8h.html#a839e3d1d640a1a13b25a49c93d1a05fa">xInitializePkcs11Token</a></div><div class="ttdeci">CK_RV xInitializePkcs11Token(void)</div><div class="ttdoc">Initializes a PKCS #11 module and token.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:186</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_af9674309915268c89934f5b4ba9dba4e"><div class="ttname"><a href="core__pkcs11_8h.html#af9674309915268c89934f5b4ba9dba4e">xInitializePKCS11</a></div><div class="ttdeci">CK_RV xInitializePKCS11(void)</div><div class="ttdoc">Initializes a PKCS #11 session.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:156</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a2e58242913103993041305e349913c88"><div class="ttname"><a href="core__pkcs11_8h.html#a2e58242913103993041305e349913c88">vAppendSHA256AlgorithmIdentifierSequence</a></div><div class="ttdeci">CK_RV vAppendSHA256AlgorithmIdentifierSequence(const uint8_t *puc32ByteHashedMessage, uint8_t *puc51ByteHashOidBuffer)</div><div class="ttdoc">Appends digest algorithm sequence to SHA-256 hash for RSA signatures.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:378</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a46c41cd94b0ad5eed22d17a59aef73da"><div class="ttname"><a href="core__pkcs11_8h.html#a46c41cd94b0ad5eed22d17a59aef73da">xGetSlotList</a></div><div class="ttdeci">CK_RV xGetSlotList(CK_SLOT_ID **ppxSlotId, CK_ULONG *pxSlotCount)</div><div class="ttdoc">Get a list of available PKCS #11 slots.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:44</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a54d499d52094e28bdcfb59839e381675"><div class="ttname"><a href="core__pkcs11_8h.html#a54d499d52094e28bdcfb59839e381675">xInitializePkcs11Session</a></div><div class="ttdeci">CK_RV xInitializePkcs11Session(CK_SESSION_HANDLE *pxSession)</div><div class="ttdoc">Initializes the PKCS #11 module and opens a session.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:238</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a6f97ebff17fdfd0f2dc404b2c61010ae"><div class="ttname"><a href="core__pkcs11_8h.html#a6f97ebff17fdfd0f2dc404b2c61010ae">xFindObjectWithLabelAndClass</a></div><div class="ttdeci">CK_RV xFindObjectWithLabelAndClass(CK_SESSION_HANDLE xSession, char *pcLabelName, CK_ULONG ulLabelNameLen, CK_OBJECT_CLASS xClass, CK_OBJECT_HANDLE_PTR pxHandle)</div><div class="ttdoc">Searches for an object with a matching label and class provided.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:313</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a839e3d1d640a1a13b25a49c93d1a05fa"><div class="ttname"><a href="core__pkcs11_8h.html#a839e3d1d640a1a13b25a49c93d1a05fa">xInitializePkcs11Token</a></div><div class="ttdeci">CK_RV xInitializePkcs11Token(void)</div><div class="ttdoc">Initializes a PKCS #11 module and token.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:157</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_af9674309915268c89934f5b4ba9dba4e"><div class="ttname"><a href="core__pkcs11_8h.html#af9674309915268c89934f5b4ba9dba4e">xInitializePKCS11</a></div><div class="ttdeci">CK_RV xInitializePKCS11(void)</div><div class="ttdoc">Initializes a PKCS #11 session.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:127</div></div>
<div class="ttc" id="astruct_p_k_c_s11___certificate_template__t_html"><div class="ttname"><a href="struct_p_k_c_s11___certificate_template__t.html">PKCS11_CertificateTemplate_t</a></div><div class="ttdoc">Certificate Template The object class must be the first attribute in the array.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.h:218</div></div>
<div class="ttc" id="astruct_p_k_c_s11___certificate_template__t_html_a028ec980b8dca55b842ae0bf1657907f"><div class="ttname"><a href="struct_p_k_c_s11___certificate_template__t.html#a028ec980b8dca55b842ae0bf1657907f">PKCS11_CertificateTemplate_t::xValue</a></div><div class="ttdeci">CK_ATTRIBUTE xValue</div><div class="ttdoc">CKA_VALUE, the DER byte array of the certificate contents.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.h:222</div></div>
<div class="ttc" id="astruct_p_k_c_s11___certificate_template__t_html_a7239b6cff4ffa2b63d88b149d52e3d8a"><div class="ttname"><a href="struct_p_k_c_s11___certificate_template__t.html#a7239b6cff4ffa2b63d88b149d52e3d8a">PKCS11_CertificateTemplate_t::xSubject</a></div><div class="ttdeci">CK_ATTRIBUTE xSubject</div><div class="ttdoc">CKA_SUBJECT, this parameter is required by the PKCS #11 standard.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.h:220</div></div>
Expand Down
1 change: 0 additions & 1 deletion main/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ <h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
<li>prvInitAESCMAC()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a97ef450948940e20094ed7a0ab847e27">core_pkcs11_mbedtls.c</a></li>
<li>prvInitSHA256HMAC()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a0d8b70513c80cf1db3edb88b21fc1abe">core_pkcs11_mbedtls.c</a></li>
<li>prvMbedTLS_Initialize()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#ad7e3c1e337d187b04f516cb1fb15353d">core_pkcs11_mbedtls.c</a></li>
<li>prvOpenSession()&#160;:&#160;<a class="el" href="core__pkcs11_8c.html#a823383b0a2c3c3a7f7fad292307a3317">core_pkcs11.c</a></li>
<li>prvOperationActive()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a2ec465960e108e808263b43e589fbd58">core_pkcs11_mbedtls.c</a></li>
<li>prvRsaContextParse()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a017f9faccb8b2be0504b3777d6bd9797">core_pkcs11_mbedtls.c</a></li>
<li>prvRsaKeyAttParse()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a22f5c778444a3f181c1cefb8ce0cd61c">core_pkcs11_mbedtls.c</a></li>
Expand Down
1 change: 0 additions & 1 deletion main/globals_func.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ <h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
<li>prvInitAESCMAC()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a97ef450948940e20094ed7a0ab847e27">core_pkcs11_mbedtls.c</a></li>
<li>prvInitSHA256HMAC()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a0d8b70513c80cf1db3edb88b21fc1abe">core_pkcs11_mbedtls.c</a></li>
<li>prvMbedTLS_Initialize()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#ad7e3c1e337d187b04f516cb1fb15353d">core_pkcs11_mbedtls.c</a></li>
<li>prvOpenSession()&#160;:&#160;<a class="el" href="core__pkcs11_8c.html#a823383b0a2c3c3a7f7fad292307a3317">core_pkcs11.c</a></li>
<li>prvOperationActive()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a2ec465960e108e808263b43e589fbd58">core_pkcs11_mbedtls.c</a></li>
<li>prvRsaContextParse()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a017f9faccb8b2be0504b3777d6bd9797">core_pkcs11_mbedtls.c</a></li>
<li>prvRsaKeyAttParse()&#160;:&#160;<a class="el" href="core__pkcs11__mbedtls_8c.html#a22f5c778444a3f181c1cefb8ce0cd61c">core_pkcs11_mbedtls.c</a></li>
Expand Down
4 changes: 2 additions & 2 deletions main/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ <h1><a class="anchor" id="pkcs11_memory_requirements"></a>
<tr>
<td><b>File</b> </td><td><b><center>With -O1 Optimization</center></b> </td><td><b><center>With -Os Optimization</center></b> </td></tr>
<tr>
<td><a class="el" href="core__pkcs11_8c.html" title="corePKCS11 Interface.">core_pkcs11.c</a> </td><td><center>0.8K</center> </td><td><center>0.8K</center> </td></tr>
<td><a class="el" href="core__pkcs11_8c.html" title="corePKCS11 Interface.">core_pkcs11.c</a> </td><td><center>0.8K</center> </td><td><center>0.7K</center> </td></tr>
<tr>
<td><a class="el" href="core__pki__utils_8c.html" title="Helper functions for PKCS #11.">core_pki_utils.c</a> </td><td><center>0.5K</center> </td><td><center>0.3K</center> </td></tr>
<tr>
<td><a class="el" href="core__pkcs11__mbedtls_8c.html" title="mbedTLS-based PKCS#11 implementation for software keys. This file deviates from the FreeRTOS style st...">core_pkcs11_mbedtls.c</a> </td><td><center>9.0K</center> </td><td><center>7.5K</center> </td></tr>
<tr>
<td><b>Total estimates</b> </td><td><b><center>10.3K</center></b> </td><td><b><center>8.6K</center></b> </td></tr>
<td><b>Total estimates</b> </td><td><b><center>10.3K</center></b> </td><td><b><center>8.5K</center></b> </td></tr>
</table>
</p>
</div></div><!-- PageDoc -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<div class="contents">
<div class="textblock"><div class="fragment"><div class="line">CK_RV <a class="code hl_function" href="core__pkcs11_8h.html#a2e58242913103993041305e349913c88">vAppendSHA256AlgorithmIdentifierSequence</a>( <span class="keyword">const</span> uint8_t * puc32ByteHashedMessage,</div>
<div class="line"> uint8_t * puc51ByteHashOidBuffer );</div>
<div class="ttc" id="acore__pkcs11_8h_html_a2e58242913103993041305e349913c88"><div class="ttname"><a href="core__pkcs11_8h.html#a2e58242913103993041305e349913c88">vAppendSHA256AlgorithmIdentifierSequence</a></div><div class="ttdeci">CK_RV vAppendSHA256AlgorithmIdentifierSequence(const uint8_t *puc32ByteHashedMessage, uint8_t *puc51ByteHashOidBuffer)</div><div class="ttdoc">Appends digest algorithm sequence to SHA-256 hash for RSA signatures.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:387</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a2e58242913103993041305e349913c88"><div class="ttname"><a href="core__pkcs11_8h.html#a2e58242913103993041305e349913c88">vAppendSHA256AlgorithmIdentifierSequence</a></div><div class="ttdeci">CK_RV vAppendSHA256AlgorithmIdentifierSequence(const uint8_t *puc32ByteHashedMessage, uint8_t *puc51ByteHashOidBuffer)</div><div class="ttdoc">Appends digest algorithm sequence to SHA-256 hash for RSA signatures.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:378</div></div>
</div><!-- fragment --><p>Appends digest algorithm sequence to SHA-256 hash for RSA signatures. </p>
<p>This function pre-appends the digest algorithm identifier to the SHA-256 hash of a message.</p>
<p>DigestInfo :: = SEQUENCE{ digestAlgorithm DigestAlgorithmIdentifier, digest Digest }</p>
Expand Down
2 changes: 1 addition & 1 deletion main/pkcs11_core_xfindobjectwithlabelandclass.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<div class="line"> CK_ULONG ulLabelNameLen,</div>
<div class="line"> CK_OBJECT_CLASS xClass,</div>
<div class="line"> CK_OBJECT_HANDLE_PTR pxHandle );</div>
<div class="ttc" id="acore__pkcs11_8h_html_a6f97ebff17fdfd0f2dc404b2c61010ae"><div class="ttname"><a href="core__pkcs11_8h.html#a6f97ebff17fdfd0f2dc404b2c61010ae">xFindObjectWithLabelAndClass</a></div><div class="ttdeci">CK_RV xFindObjectWithLabelAndClass(CK_SESSION_HANDLE xSession, char *pcLabelName, CK_ULONG ulLabelNameLen, CK_OBJECT_CLASS xClass, CK_OBJECT_HANDLE_PTR pxHandle)</div><div class="ttdoc">Searches for an object with a matching label and class provided.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:322</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a6f97ebff17fdfd0f2dc404b2c61010ae"><div class="ttname"><a href="core__pkcs11_8h.html#a6f97ebff17fdfd0f2dc404b2c61010ae">xFindObjectWithLabelAndClass</a></div><div class="ttdeci">CK_RV xFindObjectWithLabelAndClass(CK_SESSION_HANDLE xSession, char *pcLabelName, CK_ULONG ulLabelNameLen, CK_OBJECT_CLASS xClass, CK_OBJECT_HANDLE_PTR pxHandle)</div><div class="ttdoc">Searches for an object with a matching label and class provided.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:313</div></div>
</div><!-- fragment --><p>Searches for an object with a matching label and class provided. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
Expand Down
2 changes: 1 addition & 1 deletion main/pkcs11_core_xgetslotlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<div class="contents">
<div class="textblock"><div class="fragment"><div class="line">CK_RV <a class="code hl_function" href="core__pkcs11_8h.html#a46c41cd94b0ad5eed22d17a59aef73da">xGetSlotList</a>( CK_SLOT_ID ** ppxSlotId,</div>
<div class="line"> CK_ULONG * pxSlotCount );</div>
<div class="ttc" id="acore__pkcs11_8h_html_a46c41cd94b0ad5eed22d17a59aef73da"><div class="ttname"><a href="core__pkcs11_8h.html#a46c41cd94b0ad5eed22d17a59aef73da">xGetSlotList</a></div><div class="ttdeci">CK_RV xGetSlotList(CK_SLOT_ID **ppxSlotId, CK_ULONG *pxSlotCount)</div><div class="ttdoc">Get a list of available PKCS #11 slots.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:73</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_a46c41cd94b0ad5eed22d17a59aef73da"><div class="ttname"><a href="core__pkcs11_8h.html#a46c41cd94b0ad5eed22d17a59aef73da">xGetSlotList</a></div><div class="ttdeci">CK_RV xGetSlotList(CK_SLOT_ID **ppxSlotId, CK_ULONG *pxSlotCount)</div><div class="ttdoc">Get a list of available PKCS #11 slots.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:44</div></div>
</div><!-- fragment --><p>Get a list of available PKCS #11 slots. </p>
<dl class="section note"><dt>Note</dt><dd>This function allocates memory for slots. Freeing this memory is the responsibility of the caller.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
Expand Down
2 changes: 1 addition & 1 deletion main/pkcs11_core_xinitializepkcs11.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="fragment"><div class="line">CK_RV <a class="code hl_function" href="core__pkcs11_8h.html#af9674309915268c89934f5b4ba9dba4e">xInitializePKCS11</a>( <span class="keywordtype">void</span> );</div>
<div class="ttc" id="acore__pkcs11_8h_html_af9674309915268c89934f5b4ba9dba4e"><div class="ttname"><a href="core__pkcs11_8h.html#af9674309915268c89934f5b4ba9dba4e">xInitializePKCS11</a></div><div class="ttdeci">CK_RV xInitializePKCS11(void)</div><div class="ttdoc">Initializes a PKCS #11 session.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:156</div></div>
<div class="ttc" id="acore__pkcs11_8h_html_af9674309915268c89934f5b4ba9dba4e"><div class="ttname"><a href="core__pkcs11_8h.html#af9674309915268c89934f5b4ba9dba4e">xInitializePKCS11</a></div><div class="ttdeci">CK_RV xInitializePKCS11(void)</div><div class="ttdoc">Initializes a PKCS #11 session.</div><div class="ttdef"><b>Definition:</b> core_pkcs11.c:127</div></div>
</div><!-- fragment --><p>Initializes a PKCS #11 session. </p>
<dl class="section return"><dt>Returns</dt><dd>CKR_OK if successful. </dd></dl>
</div></div><!-- contents -->
Expand Down
Loading

0 comments on commit 0e2c77c

Please sign in to comment.