D7net Mini Sh3LL v1

 
OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /media/../../usr/share/doc/init/../logsave/../libapr1-dev/html/

 Home   ☍ Command   ☍ Upload File   ☍Info Server   ☍ Buat File   ☍ Mass deface   ☍ Jumping   ☍ Config   ☍ Symlink   ☍ About 

Current File : //media/../../usr/share/doc/init/../logsave/../libapr1-dev/html/group__apr__random.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Portable Runtime: Random Functions</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="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="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Apache Portable Runtime
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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 -->
<!-- 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="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Random Functions<div class="ingroups"><a class="el" href="group___a_p_r.html">Apache Portability Runtime library</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Random Functions:</div>
<div class="dyncontent">
<div class="center"><img src="group__apr__random.png" border="0" usemap="#group____apr____random" alt=""/></div>
<!-- MAP 0 -->
</div>
<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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga30fbaf80424a9f1a0e9cc51072f65127"><td class="memItemLeft" align="right" valign="top"><a id="ga30fbaf80424a9f1a0e9cc51072f65127"></a>
typedef struct <a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>apr_crypto_hash_t</b></td></tr>
<tr class="separator:ga30fbaf80424a9f1a0e9cc51072f65127"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2775bc1cdb376d9dec0e97283b4bdd9"><td class="memItemLeft" align="right" valign="top"><a id="gad2775bc1cdb376d9dec0e97283b4bdd9"></a>
typedef void&#160;</td><td class="memItemRight" valign="bottom"><b>apr_crypto_hash_init_t</b>(<a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *hash)</td></tr>
<tr class="separator:gad2775bc1cdb376d9dec0e97283b4bdd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f8a4fb18078a76357327ea55936c1ea"><td class="memItemLeft" align="right" valign="top"><a id="ga2f8a4fb18078a76357327ea55936c1ea"></a>
typedef void&#160;</td><td class="memItemRight" valign="bottom"><b>apr_crypto_hash_add_t</b>(<a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *hash, const void *data, apr_size_t bytes)</td></tr>
<tr class="separator:ga2f8a4fb18078a76357327ea55936c1ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab70ea9133870efdb5532d20d4bcf7442"><td class="memItemLeft" align="right" valign="top"><a id="gab70ea9133870efdb5532d20d4bcf7442"></a>
typedef void&#160;</td><td class="memItemRight" valign="bottom"><b>apr_crypto_hash_finish_t</b>(<a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *hash, unsigned char *result)</td></tr>
<tr class="separator:gab70ea9133870efdb5532d20d4bcf7442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33073741e56b1bafe52ba58cefcbbf96"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a></td></tr>
<tr class="separator:ga33073741e56b1bafe52ba58cefcbbf96"><td class="memSeparator" colspan="2">&#160;</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:ga564e4c380e820a9b0d9e877d4852a65e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga564e4c380e820a9b0d9e877d4852a65e">apr_generate_random_bytes</a> (unsigned char *buf, apr_size_t length)</td></tr>
<tr class="separator:ga564e4c380e820a9b0d9e877d4852a65e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae992c6f642e9661d2417cd8f2df8d345"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#gae992c6f642e9661d2417cd8f2df8d345">apr_crypto_sha256_new</a> (<a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p)</td></tr>
<tr class="separator:gae992c6f642e9661d2417cd8f2df8d345"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0184a90774212132f883c463811aacdc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga0184a90774212132f883c463811aacdc">apr_random_init</a> (<a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *g, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, <a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *pool_hash, <a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *key_hash, <a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *prng_hash)</td></tr>
<tr class="separator:ga0184a90774212132f883c463811aacdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7a73c9bcf026b63847aeae483c53191f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga7a73c9bcf026b63847aeae483c53191f">apr_random_standard_new</a> (<a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p)</td></tr>
<tr class="separator:ga7a73c9bcf026b63847aeae483c53191f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8cf2875644c1dffc0c336289bd370efb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga8cf2875644c1dffc0c336289bd370efb">apr_random_add_entropy</a> (<a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *g, const void *entropy_, apr_size_t bytes)</td></tr>
<tr class="separator:ga8cf2875644c1dffc0c336289bd370efb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9a63359bb9543d746e6fd46933b7256"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#gab9a63359bb9543d746e6fd46933b7256">apr_random_insecure_bytes</a> (<a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *g, void *random, apr_size_t bytes)</td></tr>
<tr class="separator:gab9a63359bb9543d746e6fd46933b7256"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f0607e06656a1c76cc5ee878fd94f09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga9f0607e06656a1c76cc5ee878fd94f09">apr_random_secure_bytes</a> (<a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *g, void *random, apr_size_t bytes)</td></tr>
<tr class="separator:ga9f0607e06656a1c76cc5ee878fd94f09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37d8d7529cf972c605ebce97c57f8825"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga37d8d7529cf972c605ebce97c57f8825">apr_random_barrier</a> (<a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *g)</td></tr>
<tr class="separator:ga37d8d7529cf972c605ebce97c57f8825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga99d0c0722eeef2951e8ccede2e1451fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga99d0c0722eeef2951e8ccede2e1451fa">apr_random_secure_ready</a> (<a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *r)</td></tr>
<tr class="separator:ga99d0c0722eeef2951e8ccede2e1451fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6465698bdc752d07abc8c515aac6e2c0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#ga6465698bdc752d07abc8c515aac6e2c0">apr_random_insecure_ready</a> (<a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *r)</td></tr>
<tr class="separator:ga6465698bdc752d07abc8c515aac6e2c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1ab9b8adeeb6e37bb29def249ff9e6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__random.html#gaa1ab9b8adeeb6e37bb29def249ff9e6a">apr_random_after_fork</a> (<a class="el" href="structapr__proc__t.html">apr_proc_t</a> *proc)</td></tr>
<tr class="separator:gaa1ab9b8adeeb6e37bb29def249ff9e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga33073741e56b1bafe52ba58cefcbbf96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga33073741e56b1bafe52ba58cefcbbf96">&#9670;&nbsp;</a></span>apr_random_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> <a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque PRNG structure. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gae992c6f642e9661d2417cd8f2df8d345"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae992c6f642e9661d2417cd8f2df8d345">&#9670;&nbsp;</a></span>apr_crypto_sha256_new()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a>* apr_crypto_sha256_new </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Allocate and initialize the SHA-256 context </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>The pool to allocate from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga564e4c380e820a9b0d9e877d4852a65e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga564e4c380e820a9b0d9e877d4852a65e">&#9670;&nbsp;</a></span>apr_generate_random_bytes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_generate_random_bytes </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate random bytes. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>Buffer to fill with random bytes </td></tr>
    <tr><td class="paramname">length</td><td>Length of buffer in bytes </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8cf2875644c1dffc0c336289bd370efb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8cf2875644c1dffc0c336289bd370efb">&#9670;&nbsp;</a></span>apr_random_add_entropy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_random_add_entropy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>entropy_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>bytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Mix the randomness pools. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">g</td><td>The PRNG state </td></tr>
    <tr><td class="paramname">entropy_</td><td>Entropy buffer </td></tr>
    <tr><td class="paramname">bytes</td><td>Length of entropy_ in bytes </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa1ab9b8adeeb6e37bb29def249ff9e6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa1ab9b8adeeb6e37bb29def249ff9e6a">&#9670;&nbsp;</a></span>apr_random_after_fork()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_random_after_fork </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> *&#160;</td>
          <td class="paramname"><em>proc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Mix the randomness pools after forking. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proc</td><td>The resulting process handle from apr_proc_fork() </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Call this in the child after forking to mix the randomness pools. Note that its generally a bad idea to fork a process with a real PRNG in it - better to have the PRNG externally and get the randomness from there. However, if you really must do it, then you should supply all your entropy to all the PRNGs - don't worry, they won't produce the same output. </dd>
<dd>
Note that apr_proc_fork() calls this for you, so only weird applications need ever call it themselves. </dd></dl>

</div>
</div>
<a id="ga37d8d7529cf972c605ebce97c57f8825"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37d8d7529cf972c605ebce97c57f8825">&#9670;&nbsp;</a></span>apr_random_barrier()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_random_barrier </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td>
          <td class="paramname"><em>g</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Ensures that E bits of conditional entropy are mixed into the PRNG before any further randomness is extracted. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">g</td><td>The RNG state </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0184a90774212132f883c463811aacdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0184a90774212132f883c463811aacdc">&#9670;&nbsp;</a></span>apr_random_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_random_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *&#160;</td>
          <td class="paramname"><em>pool_hash</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *&#160;</td>
          <td class="paramname"><em>key_hash</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapr__crypto__hash__t.html">apr_crypto_hash_t</a> *&#160;</td>
          <td class="paramname"><em>prng_hash</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize a PRNG state </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">g</td><td>The PRNG state </td></tr>
    <tr><td class="paramname">p</td><td>The pool to allocate from </td></tr>
    <tr><td class="paramname">pool_hash</td><td>Pool hash functions </td></tr>
    <tr><td class="paramname">key_hash</td><td>Key hash functions </td></tr>
    <tr><td class="paramname">prng_hash</td><td>PRNG hash functions </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab9a63359bb9543d746e6fd46933b7256"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab9a63359bb9543d746e6fd46933b7256">&#9670;&nbsp;</a></span>apr_random_insecure_bytes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_random_insecure_bytes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>random</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>bytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate cryptographically insecure random bytes. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">g</td><td>The RNG state </td></tr>
    <tr><td class="paramname">random</td><td>Buffer to fill with random bytes </td></tr>
    <tr><td class="paramname">bytes</td><td>Length of buffer in bytes </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6465698bdc752d07abc8c515aac6e2c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6465698bdc752d07abc8c515aac6e2c0">&#9670;&nbsp;</a></span>apr_random_insecure_ready()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_random_insecure_ready </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return APR_SUCCESS if the PRNG has been seeded with enough data, APR_ENOTENOUGHENTROPY otherwise. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>The PRNG state </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9f0607e06656a1c76cc5ee878fd94f09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9f0607e06656a1c76cc5ee878fd94f09">&#9670;&nbsp;</a></span>apr_random_secure_bytes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_random_secure_bytes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>random</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>bytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate cryptographically secure random bytes. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">g</td><td>The RNG state </td></tr>
    <tr><td class="paramname">random</td><td>Buffer to fill with random bytes </td></tr>
    <tr><td class="paramname">bytes</td><td>Length of buffer in bytes </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga99d0c0722eeef2951e8ccede2e1451fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga99d0c0722eeef2951e8ccede2e1451fa">&#9670;&nbsp;</a></span>apr_random_secure_ready()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_random_secure_ready </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a> *&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return APR_SUCCESS if the cryptographic PRNG has been seeded with enough data, APR_ENOTENOUGHENTROPY otherwise. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>The RNG state </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga7a73c9bcf026b63847aeae483c53191f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7a73c9bcf026b63847aeae483c53191f">&#9670;&nbsp;</a></span>apr_random_standard_new()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__apr__random.html#ga33073741e56b1bafe52ba58cefcbbf96">apr_random_t</a>* apr_random_standard_new </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Allocate and initialize (apr_crypto_sha256_new) a new PRNG state. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>The pool to allocate from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>

AnonSec - 2021 | Recode By D7net