123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <!-- HTML header for doxygen 1.8.10-->
- <!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.11"/>
- <title>Intel® Enhanced Privacy ID SDK: epid/common/memory.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="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- $(document).ready(initResizable);
- $(window).load(resizeHeight);
- </script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- <link href="epidstyle.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 id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname"><a
- onclick="storeLink('index.html')"
- id="projectlink"
- class="index.html"
- href="index.html">Intel® Enhanced Privacy ID SDK</a>
-  <span id="projectnumber">2.0.0</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.11 -->
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- $(document).ready(function(){initNavTree('memory_8h.html','');});
- </script>
- <div id="doc-content">
- <div class="header">
- <div class="summary">
- <a href="#define-members">Macros</a> |
- <a href="#func-members">Functions</a> </div>
- <div class="headertitle">
- <div class="title">memory.h File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p>Memory access interface.
- <a href="#details">More...</a></p>
- <div class="textblock"><code>#include <stdlib.h></code><br />
- <code>#include <string.h></code><br />
- </div><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
- Macros</h2></td></tr>
- <tr class="memitem:gab1587898f15de1b51cd5e799a43465ff"><td class="memItemLeft" align="right" valign="top">
- #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#gab1587898f15de1b51cd5e799a43465ff">EPID_ENABLE_EPID_ZERO_MEMORY_ON_FREE</a></td></tr>
- <tr class="memdesc:gab1587898f15de1b51cd5e799a43465ff"><td class="mdescLeft"> </td><td class="mdescRight">When enabled secrets are wiped out from the memory by EpidFree. <br /></td></tr>
- <tr class="separator:gab1587898f15de1b51cd5e799a43465ff"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ga38fad13430eba25f9f9b05e35ecd22f8"><td class="memItemLeft" align="right" valign="top">
- #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga38fad13430eba25f9f9b05e35ecd22f8">SAFE_ALLOC</a>(size)   <a class="el" href="group___epid_common.html#gada170fd890504b013139f4a33033ae4b">EpidAlloc</a>(size);</td></tr>
- <tr class="memdesc:ga38fad13430eba25f9f9b05e35ecd22f8"><td class="mdescLeft"> </td><td class="mdescRight">Allocates zero initalized block of memory. <br /></td></tr>
- <tr class="separator:ga38fad13430eba25f9f9b05e35ecd22f8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ga2ca3c202ee727774d55890e568621842"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga2ca3c202ee727774d55890e568621842">SAFE_FREE</a>(ptr) </td></tr>
- <tr class="memdesc:ga2ca3c202ee727774d55890e568621842"><td class="mdescLeft"> </td><td class="mdescRight">Deallocates space allocated by <a class="el" href="group___epid_common.html#ga38fad13430eba25f9f9b05e35ecd22f8" title="Allocates zero initalized block of memory. ">SAFE_ALLOC()</a> and nulls pointer. <a href="group___epid_common.html#ga2ca3c202ee727774d55890e568621842">More...</a><br /></td></tr>
- <tr class="separator:ga2ca3c202ee727774d55890e568621842"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ga41c113e15b695291199c27fac4bd53fa"><td class="memItemLeft" align="right" valign="top">
- #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga41c113e15b695291199c27fac4bd53fa">SAFE_REALLOC</a>(ptr, size)   <a class="el" href="group___epid_common.html#ga6911838728d546e4a51d7bcb8404525c">EpidRealloc</a>((ptr), (size))</td></tr>
- <tr class="memdesc:ga41c113e15b695291199c27fac4bd53fa"><td class="mdescLeft"> </td><td class="mdescRight">Changes the size of the memory block pointed to by ptr. <br /></td></tr>
- <tr class="separator:ga41c113e15b695291199c27fac4bd53fa"><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:gad471f600f6032f432b99432fda97a070"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#gad471f600f6032f432b99432fda97a070">EpidZeroMemory</a> (void *ptr, size_t size)</td></tr>
- <tr class="memdesc:gad471f600f6032f432b99432fda97a070"><td class="mdescLeft"> </td><td class="mdescRight">Clear information stored in block of memory pointer to by ptr. <a href="group___epid_common.html#gad471f600f6032f432b99432fda97a070">More...</a><br /></td></tr>
- <tr class="separator:gad471f600f6032f432b99432fda97a070"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:gada170fd890504b013139f4a33033ae4b"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#gada170fd890504b013139f4a33033ae4b">EpidAlloc</a> (size_t size)</td></tr>
- <tr class="memdesc:gada170fd890504b013139f4a33033ae4b"><td class="mdescLeft"> </td><td class="mdescRight">Allocates memory of size bytes. <a href="group___epid_common.html#gada170fd890504b013139f4a33033ae4b">More...</a><br /></td></tr>
- <tr class="separator:gada170fd890504b013139f4a33033ae4b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ga6911838728d546e4a51d7bcb8404525c"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga6911838728d546e4a51d7bcb8404525c">EpidRealloc</a> (void *ptr, size_t new_size)</td></tr>
- <tr class="memdesc:ga6911838728d546e4a51d7bcb8404525c"><td class="mdescLeft"> </td><td class="mdescRight">Reallocates memory allocated by EpidAlloc. <a href="group___epid_common.html#ga6911838728d546e4a51d7bcb8404525c">More...</a><br /></td></tr>
- <tr class="separator:ga6911838728d546e4a51d7bcb8404525c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:gaeae76709e6bfc80c9d79ec4943ccc1ac"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#gaeae76709e6bfc80c9d79ec4943ccc1ac">EpidFree</a> (void *ptr)</td></tr>
- <tr class="memdesc:gaeae76709e6bfc80c9d79ec4943ccc1ac"><td class="mdescLeft"> </td><td class="mdescRight">Frees memory allocated by EpidAlloc. <a href="group___epid_common.html#gaeae76709e6bfc80c9d79ec4943ccc1ac">More...</a><br /></td></tr>
- <tr class="separator:gaeae76709e6bfc80c9d79ec4943ccc1ac"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ga4856121ac4bce4161a015a8a2b4f5b1c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga4856121ac4bce4161a015a8a2b4f5b1c">memcpy_S</a> (void *dest, size_t destsz, void const *src, size_t count)</td></tr>
- <tr class="memdesc:ga4856121ac4bce4161a015a8a2b4f5b1c"><td class="mdescLeft"> </td><td class="mdescRight">Copies bytes between buffers with security ehancements. <a href="group___epid_common.html#ga4856121ac4bce4161a015a8a2b4f5b1c">More...</a><br /></td></tr>
- <tr class="separator:ga4856121ac4bce4161a015a8a2b4f5b1c"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>Memory access interface. </p>
- </div></div><!-- contents -->
- </div><!-- doc-content -->
- <!-- HTML footer for doxygen 1.8.10-->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="dir_12b90d9c027aaf878a834df729679a56.html">epid</a></li><li class="navelem"><a class="el" href="dir_f6bef457d5f671b6e774bfccc16651f6.html">common</a></li><li class="navelem"><a class="el" href="memory_8h.html">memory.h</a></li>
- <li class="footer">
- © 2016 Intel Corporation
- </li>
- </ul>
- </div>
- </body>
- </html>
|