<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>BeeCrypt: include/beecrypt/memchunk.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">BeeCrypt  <span id="projectnumber">4.2.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_7519372152c32ce484a8cde0fb6b8cd0.html">beecrypt</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">memchunk.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="api_8h_source.html">beecrypt/api.h</a>"</code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for memchunk.h:</div> <div class="dyncontent"> <div class="center"><img src="memchunk_8h__incl.png" border="0" usemap="#include_2beecrypt_2memchunk_8h" alt=""/></div> <map name="include_2beecrypt_2memchunk_8h" id="include_2beecrypt_2memchunk_8h"> <area shape="rect" id="node2" href="api_8h.html" title="BeeCrypt API, portability headers. " alt="" coords="444,80,548,107"/><area shape="rect" id="node3" href="gnu_8h.html" title="beecrypt/gnu.h" alt="" coords="442,155,549,181"/></map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="memchunk_8h__dep__incl.png" border="0" usemap="#include_2beecrypt_2memchunk_8hdep" alt=""/></div> <map name="include_2beecrypt_2memchunk_8hdep" id="include_2beecrypt_2memchunk_8hdep"> <area shape="rect" id="node2" href="beecrypt_8h.html" title="BeeCrypt API, headers. " alt="" coords="2273,80,2455,107"/><area shape="rect" id="node3" href="aes_8h.html" title="AES block cipher, as specified by NIST FIPS 197. " alt="" coords="14,155,167,181"/><area shape="rect" id="node4" href="aesopt_8h.html" title="AES block cipher, assembler-optimized routines, headers. " alt="" coords="5,229,176,256"/><area shape="rect" id="node5" href="base64_8h.html" title="Base64 encoding and decoding, headers. " alt="" coords="243,155,417,181"/><area shape="rect" id="node6" href="blockmode_8h.html" title="Blockcipher operation modes. " alt="" coords="443,155,637,181"/><area shape="rect" id="node7" href="blockpad_8h.html" title="Blockcipher padding algorithms. " alt="" coords="661,155,845,181"/><area shape="rect" id="node8" href="blowfish_8h.html" title="Blowfish block cipher. " alt="" coords="870,155,1049,181"/><area shape="rect" id="node9" href="blowfishopt_8h.html" title="Blowfish block cipher, assembler-optimized routines, headers. " alt="" coords="643,229,841,256"/><area shape="rect" id="node10" href="dhies_8h.html" title="DHIES (formerly known as DHAES or DHES) encryption scheme. " alt="" coords="968,304,1131,331"/><area shape="rect" id="node11" href="endianness_8h.html" title="include/beecrypt/endianness.h" alt="" coords="1387,155,1585,181"/><area shape="rect" id="node12" href="entropy_8h.html" title="Entropy sources, headers. " alt="" coords="1610,155,1784,181"/><area shape="rect" id="node13" href="fips186_8h.html" title="FIPS-186 pseudo-random number generator, headers. " alt="" coords="1693,229,1867,256"/><area shape="rect" id="node14" href="sha1_8h.html" title="SHA-1 hash function, headers. " alt="" coords="1860,155,2019,181"/><area shape="rect" id="node16" href="sha1opt_8h.html" title="include/beecrypt/sha1opt.h" alt="" coords="1892,229,2071,256"/><area shape="rect" id="node17" href="hmac_8h.html" title="HMAC algorithm, headers. " alt="" coords="2475,155,2639,181"/><area shape="rect" id="node23" href="md4_8h.html" title="MD4 hash function. " alt="" coords="3260,155,3417,181"/><area shape="rect" id="node24" href="md5_8h.html" title="MD5 hash function. " alt="" coords="2095,155,2252,181"/><area shape="rect" id="node25" href="mpbarrett_8h.html" title="Multi-precision integer routines using Barrett modular reduction, headers. " alt="" coords="1176,155,1363,181"/><area shape="rect" id="node36" href="mtprng_8h.html" title="Mersenne Twister pseudo-random number generator, headers. " alt="" coords="3442,155,3613,181"/><area shape="rect" id="node37" href="pkcs1_8h.html" title="PKCS#1 utility routines. " alt="" coords="3638,155,3804,181"/><area shape="rect" id="node38" href="pkcs12_8h.html" title="PKCS#12 utility routines. " alt="" coords="3829,155,4003,181"/><area shape="rect" id="node39" href="ripemd128_8h.html" title="RIPEMD-1128 hash function, headers. " alt="" coords="4028,155,4220,181"/><area shape="rect" id="node40" href="ripemd160_8h.html" title="RIPEMD-160 hash function, headers. " alt="" coords="4244,155,4436,181"/><area shape="rect" id="node41" href="ripemd256_8h.html" title="RIPEMD-256 hash function, headers. " alt="" coords="4460,155,4652,181"/><area shape="rect" id="node42" href="ripemd320_8h.html" title="RIPEMD-320 hash function, headers. " alt="" coords="4676,155,4868,181"/><area shape="rect" id="node43" href="sha224_8h.html" title="SHA-224 hash function, headers. " alt="" coords="2277,155,2451,181"/><area shape="rect" id="node44" href="sha256_8h.html" title="SHA-256 hash function, headers. " alt="" coords="2663,155,2837,181"/><area shape="rect" id="node45" href="sha2k32_8h.html" title="SHA-256 and SHA-224 shared constants, headers. " alt="" coords="4892,155,5073,181"/><area shape="rect" id="node46" href="sha2k64_8h.html" title="SHA-512 and SHA-384 shared constants, headers. " alt="" coords="5097,155,5279,181"/><area shape="rect" id="node47" href="sha384_8h.html" title="SHA-384 hash function, headers. " alt="" coords="2862,155,3036,181"/><area shape="rect" id="node48" href="sha512_8h.html" title="SHA-512 hash function, headers. " alt="" coords="3061,155,3235,181"/><area shape="rect" id="node49" href="timestamp_8h.html" title="include/beecrypt/timestamp.h" alt="" coords="5303,155,5496,181"/><area shape="rect" id="node15" href="hmacsha1_8h.html" title="HMAC-SHA-1 message authentication code, headers. " alt="" coords="2095,229,2287,256"/><area shape="rect" id="node18" href="hmacmd5_8h.html" title="HMAC-MD5 message authentication code, headers. " alt="" coords="2311,229,2500,256"/><area shape="rect" id="node19" href="hmacsha224_8h.html" title="HMAC-SHA-224 message authentication code, headers. " alt="" coords="2525,229,2731,256"/><area shape="rect" id="node20" href="hmacsha256_8h.html" title="HMAC-SHA-256 message authentication code, headers. " alt="" coords="2755,229,2961,256"/><area shape="rect" id="node21" href="hmacsha384_8h.html" title="HMAC-SHA-384 message authentication code, headers. " alt="" coords="2986,229,3192,256"/><area shape="rect" id="node22" href="hmacsha512_8h.html" title="HMAC-SHA-512 message authentication code, headers. " alt="" coords="3217,229,3423,256"/><area shape="rect" id="node26" href="dldp_8h.html" title="Discrete Logarithm domain parameters, headers. " alt="" coords="1325,229,1480,256"/><area shape="rect" id="node31" href="elgamal_8h.html" title="ElGamal algorithm. " alt="" coords="917,229,1093,256"/><area shape="rect" id="node32" href="mpprime_8h.html" title="Multi-precision primes, headers. " alt="" coords="1118,229,1300,256"/><area shape="rect" id="node33" href="rsapk_8h.html" title="RSA public key, headers. " alt="" coords="1505,229,1668,256"/><area shape="rect" id="node27" href="dlpk_8h.html" title="Discrete Logarithm public key, headers. " alt="" coords="1325,304,1480,331"/><area shape="rect" id="node28" href="dlkp_8h.html" title="Discrete Logarithm keypair, headers. " alt="" coords="1325,379,1480,405"/><area shape="rect" id="node29" href="dlsvdp-dh_8h.html" title="Diffie-Hellman algorithm, headers. " alt="" coords="1211,453,1399,480"/><area shape="rect" id="node30" href="dsa_8h.html" title="Digital Signature Algorithm, as specified by NIST FIPS 186. " alt="" coords="1423,453,1576,480"/><area shape="rect" id="node34" href="rsakp_8h.html" title="RSA keypair, headers. " alt="" coords="1505,304,1668,331"/><area shape="rect" id="node35" href="rsa_8h.html" title="RSA algorithm. " alt="" coords="1511,379,1661,405"/></map> </div> </div> <p><a href="memchunk_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Data Structures</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmemchunk.html">memchunk</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:aaf2727a88417cfd87ca9446b281f728f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmemchunk.html">memchunk</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="memchunk_8h.html#aaf2727a88417cfd87ca9446b281f728f">memchunkAlloc</a> (size_t)</td></tr> <tr class="separator:aaf2727a88417cfd87ca9446b281f728f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a79157edf32a686dae96ede928ec90d88"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="memchunk_8h.html#a79157edf32a686dae96ede928ec90d88">memchunkWipe</a> (<a class="el" href="structmemchunk.html">memchunk</a> *)</td></tr> <tr class="separator:a79157edf32a686dae96ede928ec90d88"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad1b67ee0a6b8a79f6901034c4d32aaf3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="memchunk_8h.html#ad1b67ee0a6b8a79f6901034c4d32aaf3">memchunkFree</a> (<a class="el" href="structmemchunk.html">memchunk</a> *)</td></tr> <tr class="separator:ad1b67ee0a6b8a79f6901034c4d32aaf3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abac28d12e0f53c22d12d1cb0db7c7d4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmemchunk.html">memchunk</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="memchunk_8h.html#abac28d12e0f53c22d12d1cb0db7c7d4e">memchunkResize</a> (<a class="el" href="structmemchunk.html">memchunk</a> *, size_t)</td></tr> <tr class="separator:abac28d12e0f53c22d12d1cb0db7c7d4e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:accd2723db802f568fbb5fc58edcd61dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmemchunk.html">memchunk</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="memchunk_8h.html#accd2723db802f568fbb5fc58edcd61dd">memchunkClone</a> (const <a class="el" href="structmemchunk.html">memchunk</a> *)</td></tr> <tr class="separator:accd2723db802f568fbb5fc58edcd61dd"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><dl class="section author"><dt>Author</dt><dd>Bob Deblier <a href="#" onclick="location.href='mai'+'lto:'+'bob'+'.d'+'ebl'+'ie'+'r@t'+'el'+'ene'+'t.'+'be'; return false;">bob.d<span style="display: none;">.nosp@m.</span>ebli<span style="display: none;">.nosp@m.</span>er@te<span style="display: none;">.nosp@m.</span>lene<span style="display: none;">.nosp@m.</span>t.be</a> </dd></dl> </div><h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="aaf2727a88417cfd87ca9446b281f728f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmemchunk.html">memchunk</a>* memchunkAlloc </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="accd2723db802f568fbb5fc58edcd61dd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmemchunk.html">memchunk</a>* memchunkClone </td> <td>(</td> <td class="paramtype">const <a class="el" href="structmemchunk.html">memchunk</a> * </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="ad1b67ee0a6b8a79f6901034c4d32aaf3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void memchunkFree </td> <td>(</td> <td class="paramtype"><a class="el" href="structmemchunk.html">memchunk</a> * </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="abac28d12e0f53c22d12d1cb0db7c7d4e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmemchunk.html">memchunk</a>* memchunkResize </td> <td>(</td> <td class="paramtype"><a class="el" href="structmemchunk.html">memchunk</a> * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a79157edf32a686dae96ede928ec90d88"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void memchunkWipe </td> <td>(</td> <td class="paramtype"><a class="el" href="structmemchunk.html">memchunk</a> * </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Sep 27 2013 02:36:25 for BeeCrypt by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>