dash-docs/en/doxygen/html/secure_8h_source.html

133 lines
28 KiB
HTML

<!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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Dash Core: src/support/allocators/secure.h Source File</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 id="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Dash Core
&#160;<span id="projectnumber">0.12.2.1</span>
</div>
<div id="projectbrief">P2P Digital Currency</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('secure_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">secure.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="secure_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright (c) 2009-2010 Satoshi Nakamoto</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Copyright (c) 2009-2015 The Bitcoin Core developers</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// Distributed under the MIT software license, see the accompanying</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// file COPYING or http://www.opensource.org/licenses/mit-license.php.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#ifndef BITCOIN_SUPPORT_ALLOCATORS_SECURE_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#define BITCOIN_SUPPORT_ALLOCATORS_SECURE_H</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="pagelocker_8h.html">support/pagelocker.h</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// Allocator that locks its contents from being paged</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">// out of memory and clears its contents before deletion.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structsecure__allocator.html"> 19</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structsecure__allocator.html">secure_allocator</a> : <span class="keyword">public</span> std::allocator&lt;T&gt; {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="comment">// MSVC8 default copy constructor is broken</span></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#aecbe486abe3e32e35e3289e149bd2356"> 21</a></span>&#160; <span class="keyword">typedef</span> std::allocator&lt;T&gt; <a class="code" href="structsecure__allocator.html#aecbe486abe3e32e35e3289e149bd2356">base</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#aa9db67804b069d61983213bded98c08f"> 22</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">typename</span> base::size_type <a class="code" href="structsecure__allocator.html#aa9db67804b069d61983213bded98c08f">size_type</a>;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#a6ced0c166194ce9a266df10018cbb862"> 23</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">typename</span> base::difference_type <a class="code" href="structsecure__allocator.html#a6ced0c166194ce9a266df10018cbb862">difference_type</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#a71b267e8d1667eacf8c3505cce785aea"> 24</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">typename</span> base::pointer <a class="code" href="structsecure__allocator.html#a71b267e8d1667eacf8c3505cce785aea">pointer</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#abf76dd1c45de47c15d7a8c53cb2d8ab9"> 25</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">typename</span> base::const_pointer <a class="code" href="structsecure__allocator.html#abf76dd1c45de47c15d7a8c53cb2d8ab9">const_pointer</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#a6d85bb5fed183fb2304b8403a8843eb4"> 26</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">typename</span> base::reference <a class="code" href="structsecure__allocator.html#a6d85bb5fed183fb2304b8403a8843eb4">reference</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#a5ec58945b7a8010f7e8a77ebfd96ae8e"> 27</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">typename</span> base::const_reference <a class="code" href="structsecure__allocator.html#a5ec58945b7a8010f7e8a77ebfd96ae8e">const_reference</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#a344198c1316ccf0a1b58ce9c0de7c012"> 28</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">typename</span> base::value_type <a class="code" href="structsecure__allocator.html#a344198c1316ccf0a1b58ce9c0de7c012">value_type</a>;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#ac5a927e4133d37b72aece43242903760"> 29</a></span>&#160; <a class="code" href="structsecure__allocator.html#ac5a927e4133d37b72aece43242903760">secure_allocator</a>() throw() {}</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#ae5bfb3589a310e55894bae988d566c44"> 30</a></span>&#160; <a class="code" href="structsecure__allocator.html#ae5bfb3589a310e55894bae988d566c44">secure_allocator</a>(<span class="keyword">const</span> <a class="code" href="structsecure__allocator.html">secure_allocator</a>&amp; a) <span class="keywordflow">throw</span>() : <a class="code" href="structsecure__allocator.html#aecbe486abe3e32e35e3289e149bd2356">base</a>(a) {}</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> U&gt;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#ad7605317012ed2eed2eecb955345d140"> 32</a></span>&#160; <a class="code" href="structsecure__allocator.html#ad7605317012ed2eed2eecb955345d140">secure_allocator</a>(<span class="keyword">const</span> <a class="code" href="structsecure__allocator.html">secure_allocator&lt;U&gt;</a>&amp; a) <span class="keywordflow">throw</span>() : <a class="code" href="structsecure__allocator.html#aecbe486abe3e32e35e3289e149bd2356">base</a>(a)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; }</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#ac942adb3e90eff2b3b17be72a63c86a8"> 35</a></span>&#160; <a class="code" href="structsecure__allocator.html#ac942adb3e90eff2b3b17be72a63c86a8">~secure_allocator</a>() throw() {}</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _Other&gt;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structsecure__allocator_1_1rebind.html"> 37</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structsecure__allocator_1_1rebind.html">rebind</a> {</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structsecure__allocator_1_1rebind.html#aa0688d32e40d8ae116efec5946f1a3b5"> 38</a></span>&#160; <span class="keyword">typedef</span> <a class="code" href="structsecure__allocator.html">secure_allocator&lt;_Other&gt;</a> <a class="code" href="structsecure__allocator_1_1rebind.html#aa0688d32e40d8ae116efec5946f1a3b5">other</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; };</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#aee6c375ead3ab5b477898787308bd2d9"> 41</a></span>&#160; T* <a class="code" href="structsecure__allocator.html#aee6c375ead3ab5b477898787308bd2d9">allocate</a>(std::size_t <a class="code" href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">n</a>, <span class="keyword">const</span> <span class="keywordtype">void</span>* hint = 0)</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; T* <a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a> = std::allocator&lt;T&gt;::allocate(<a class="code" href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">n</a>, hint);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a> != NULL)</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="classLockedPageManager.html#ac9b1d42d240dba4714a35fff970b6dde">LockedPageManager::Instance</a>().<a class="code" href="classLockedPageManagerBase.html#ae24ac08899505b892d451404133fa494">LockRange</a>(<a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a>, <span class="keyword">sizeof</span>(T) * <a class="code" href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">n</a>);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; }</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structsecure__allocator.html#af86cc49185bd507b8b479e070d744eb0"> 50</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structsecure__allocator.html#af86cc49185bd507b8b479e070d744eb0">deallocate</a>(T* <a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a>, std::size_t <a class="code" href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">n</a>)</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a> != NULL) {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="cleanse_8cpp.html#a5a4afb85dd16ecc1f6019c782db78663">memory_cleanse</a>(<a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a>, <span class="keyword">sizeof</span>(T) * <a class="code" href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">n</a>);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="classLockedPageManager.html#ac9b1d42d240dba4714a35fff970b6dde">LockedPageManager::Instance</a>().<a class="code" href="classLockedPageManagerBase.html#a34bcf7b9120295ed178fe9545ed229af">UnlockRange</a>(<a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a>, <span class="keyword">sizeof</span>(T) * <a class="code" href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">n</a>);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; std::allocator&lt;T&gt;::deallocate(<a class="code" href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">p</a>, <a class="code" href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">n</a>);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;};</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="comment">// This is exactly like std::string, but with a custom allocator.</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="secure_8h.html#a396ed773a5ac24aec28c8f7dc413c7ac"> 61</a></span>&#160;<span class="keyword">typedef</span> std::basic_string&lt;char, std::char_traits&lt;char&gt;, <a class="code" href="structsecure__allocator.html">secure_allocator&lt;char&gt;</a> &gt; <a class="code" href="secure_8h.html#a396ed773a5ac24aec28c8f7dc413c7ac">SecureString</a>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="secure_8h.html#a74df98445c5299c9e987447c7b123e55"> 63</a></span>&#160;<span class="keyword">typedef</span> std::vector&lt;unsigned char, secure_allocator&lt;unsigned char&gt; &gt; <a class="code" href="secure_8h.html#a74df98445c5299c9e987447c7b123e55">SecureVector</a>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif // BITCOIN_SUPPORT_ALLOCATORS_SECURE_H</span></div><div class="ttc" id="structsecure__allocator_html_a5ec58945b7a8010f7e8a77ebfd96ae8e"><div class="ttname"><a href="structsecure__allocator.html#a5ec58945b7a8010f7e8a77ebfd96ae8e">secure_allocator::const_reference</a></div><div class="ttdeci">base::const_reference const_reference</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00027">secure.h:27</a></div></div>
<div class="ttc" id="structsecure__allocator_html_ae5bfb3589a310e55894bae988d566c44"><div class="ttname"><a href="structsecure__allocator.html#ae5bfb3589a310e55894bae988d566c44">secure_allocator::secure_allocator</a></div><div class="ttdeci">secure_allocator(const secure_allocator &amp;a)</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00030">secure.h:30</a></div></div>
<div class="ttc" id="structsecure__allocator_html_a71b267e8d1667eacf8c3505cce785aea"><div class="ttname"><a href="structsecure__allocator.html#a71b267e8d1667eacf8c3505cce785aea">secure_allocator::pointer</a></div><div class="ttdeci">base::pointer pointer</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00024">secure.h:24</a></div></div>
<div class="ttc" id="structsecure__allocator_html_ac5a927e4133d37b72aece43242903760"><div class="ttname"><a href="structsecure__allocator.html#ac5a927e4133d37b72aece43242903760">secure_allocator::secure_allocator</a></div><div class="ttdeci">secure_allocator()</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00029">secure.h:29</a></div></div>
<div class="ttc" id="structsecure__allocator_html_aa9db67804b069d61983213bded98c08f"><div class="ttname"><a href="structsecure__allocator.html#aa9db67804b069d61983213bded98c08f">secure_allocator::size_type</a></div><div class="ttdeci">base::size_type size_type</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00022">secure.h:22</a></div></div>
<div class="ttc" id="structsecure__allocator_html"><div class="ttname"><a href="structsecure__allocator.html">secure_allocator</a></div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00019">secure.h:19</a></div></div>
<div class="ttc" id="secure_8h_html_a396ed773a5ac24aec28c8f7dc413c7ac"><div class="ttname"><a href="secure_8h.html#a396ed773a5ac24aec28c8f7dc413c7ac">SecureString</a></div><div class="ttdeci">std::basic_string&lt; char, std::char_traits&lt; char &gt;, secure_allocator&lt; char &gt; &gt; SecureString</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00061">secure.h:61</a></div></div>
<div class="ttc" id="structsecure__allocator_html_a344198c1316ccf0a1b58ce9c0de7c012"><div class="ttname"><a href="structsecure__allocator.html#a344198c1316ccf0a1b58ce9c0de7c012">secure_allocator::value_type</a></div><div class="ttdeci">base::value_type value_type</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00028">secure.h:28</a></div></div>
<div class="ttc" id="structsecure__allocator_1_1rebind_html_aa0688d32e40d8ae116efec5946f1a3b5"><div class="ttname"><a href="structsecure__allocator_1_1rebind.html#aa0688d32e40d8ae116efec5946f1a3b5">secure_allocator::rebind::other</a></div><div class="ttdeci">secure_allocator&lt; _Other &gt; other</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00038">secure.h:38</a></div></div>
<div class="ttc" id="structsecure__allocator_html_ac942adb3e90eff2b3b17be72a63c86a8"><div class="ttname"><a href="structsecure__allocator.html#ac942adb3e90eff2b3b17be72a63c86a8">secure_allocator::~secure_allocator</a></div><div class="ttdeci">~secure_allocator()</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00035">secure.h:35</a></div></div>
<div class="ttc" id="structsecure__allocator_1_1rebind_html"><div class="ttname"><a href="structsecure__allocator_1_1rebind.html">secure_allocator::rebind</a></div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00037">secure.h:37</a></div></div>
<div class="ttc" id="namespacefix-copyright-headers_html_aed10e06fbf20b2e50f73ff2d61f59e45"><div class="ttname"><a href="namespacefix-copyright-headers.html#aed10e06fbf20b2e50f73ff2d61f59e45">fix-copyright-headers.n</a></div><div class="ttdeci">int n</div><div class="ttdef"><b>Definition:</b> <a href="fix-copyright-headers_8py_source.html#l00046">fix-copyright-headers.py:46</a></div></div>
<div class="ttc" id="cleanse_8cpp_html_a5a4afb85dd16ecc1f6019c782db78663"><div class="ttname"><a href="cleanse_8cpp.html#a5a4afb85dd16ecc1f6019c782db78663">memory_cleanse</a></div><div class="ttdeci">void memory_cleanse(void *ptr, size_t len)</div><div class="ttdef"><b>Definition:</b> <a href="cleanse_8cpp_source.html#l00010">cleanse.cpp:10</a></div></div>
<div class="ttc" id="classLockedPageManagerBase_html_ae24ac08899505b892d451404133fa494"><div class="ttname"><a href="classLockedPageManagerBase.html#ae24ac08899505b892d451404133fa494">LockedPageManagerBase::LockRange</a></div><div class="ttdeci">void LockRange(void *p, size_t size)</div><div class="ttdef"><b>Definition:</b> <a href="pagelocker_8h_source.html#l00044">pagelocker.h:44</a></div></div>
<div class="ttc" id="secure_8h_html_a74df98445c5299c9e987447c7b123e55"><div class="ttname"><a href="secure_8h.html#a74df98445c5299c9e987447c7b123e55">SecureVector</a></div><div class="ttdeci">std::vector&lt; unsigned char, secure_allocator&lt; unsigned char &gt; &gt; SecureVector</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00063">secure.h:63</a></div></div>
<div class="ttc" id="structsecure__allocator_html_a6d85bb5fed183fb2304b8403a8843eb4"><div class="ttname"><a href="structsecure__allocator.html#a6d85bb5fed183fb2304b8403a8843eb4">secure_allocator::reference</a></div><div class="ttdeci">base::reference reference</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00026">secure.h:26</a></div></div>
<div class="ttc" id="classLockedPageManagerBase_html_a34bcf7b9120295ed178fe9545ed229af"><div class="ttname"><a href="classLockedPageManagerBase.html#a34bcf7b9120295ed178fe9545ed229af">LockedPageManagerBase::UnlockRange</a></div><div class="ttdeci">void UnlockRange(void *p, size_t size)</div><div class="ttdef"><b>Definition:</b> <a href="pagelocker_8h_source.html#l00066">pagelocker.h:66</a></div></div>
<div class="ttc" id="structsecure__allocator_html_ad7605317012ed2eed2eecb955345d140"><div class="ttname"><a href="structsecure__allocator.html#ad7605317012ed2eed2eecb955345d140">secure_allocator::secure_allocator</a></div><div class="ttdeci">secure_allocator(const secure_allocator&lt; U &gt; &amp;a)</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00032">secure.h:32</a></div></div>
<div class="ttc" id="structsecure__allocator_html_aecbe486abe3e32e35e3289e149bd2356"><div class="ttname"><a href="structsecure__allocator.html#aecbe486abe3e32e35e3289e149bd2356">secure_allocator::base</a></div><div class="ttdeci">std::allocator&lt; T &gt; base</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00021">secure.h:21</a></div></div>
<div class="ttc" id="structsecure__allocator_html_abf76dd1c45de47c15d7a8c53cb2d8ab9"><div class="ttname"><a href="structsecure__allocator.html#abf76dd1c45de47c15d7a8c53cb2d8ab9">secure_allocator::const_pointer</a></div><div class="ttdeci">base::const_pointer const_pointer</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00025">secure.h:25</a></div></div>
<div class="ttc" id="pagelocker_8h_html"><div class="ttname"><a href="pagelocker_8h.html">pagelocker.h</a></div></div>
<div class="ttc" id="structsecure__allocator_html_aee6c375ead3ab5b477898787308bd2d9"><div class="ttname"><a href="structsecure__allocator.html#aee6c375ead3ab5b477898787308bd2d9">secure_allocator::allocate</a></div><div class="ttdeci">T * allocate(std::size_t n, const void *hint=0)</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00041">secure.h:41</a></div></div>
<div class="ttc" id="namespacerpc-tests_html_a5634cc986fc764eff8c617f53bf2e8dc"><div class="ttname"><a href="namespacerpc-tests.html#a5634cc986fc764eff8c617f53bf2e8dc">rpc-tests.p</a></div><div class="ttdeci">p</div><div class="ttdef"><b>Definition:</b> <a href="rpc-tests_8py_source.html#l00049">rpc-tests.py:49</a></div></div>
<div class="ttc" id="structsecure__allocator_html_a6ced0c166194ce9a266df10018cbb862"><div class="ttname"><a href="structsecure__allocator.html#a6ced0c166194ce9a266df10018cbb862">secure_allocator::difference_type</a></div><div class="ttdeci">base::difference_type difference_type</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00023">secure.h:23</a></div></div>
<div class="ttc" id="classLockedPageManager_html_ac9b1d42d240dba4714a35fff970b6dde"><div class="ttname"><a href="classLockedPageManager.html#ac9b1d42d240dba4714a35fff970b6dde">LockedPageManager::Instance</a></div><div class="ttdeci">static LockedPageManager &amp; Instance()</div><div class="ttdef"><b>Definition:</b> <a href="pagelocker_8h_source.html#l00136">pagelocker.h:136</a></div></div>
<div class="ttc" id="structsecure__allocator_html_af86cc49185bd507b8b479e070d744eb0"><div class="ttname"><a href="structsecure__allocator.html#af86cc49185bd507b8b479e070d744eb0">secure_allocator::deallocate</a></div><div class="ttdeci">void deallocate(T *p, std::size_t n)</div><div class="ttdef"><b>Definition:</b> <a href="secure_8h_source.html#l00050">secure.h:50</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_021c64f412f6b3b6708367bb6d6ca209.html">support</a></li><li class="navelem"><a class="el" href="dir_aadb44854f193af5096e10735e41f0bc.html">allocators</a></li><li class="navelem"><a class="el" href="secure_8h.html">secure.h</a></li>
<li class="footer">Generated on Thu Dec 14 2017 13:15:09 for Dash Core by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
</ul>
</div>
</body>
</html>