1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Update docs

This commit is contained in:
Rhys Weatherley
2018-02-18 09:12:45 +10:00
parent e923155962
commit 25eb9d2eb6
419 changed files with 1069 additions and 1020 deletions

View File

@@ -106,9 +106,9 @@ Public Member Functions</h2></td></tr>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRNGClass.html#aef3ee2fb14a39caf650dc90a0226dd31">~RNGClass</a> ()</td></tr>
<tr class="memdesc:aef3ee2fb14a39caf650dc90a0226dd31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys this random number generator instance. <br/></td></tr>
<tr class="separator:aef3ee2fb14a39caf650dc90a0226dd31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f1aab3c324f8e8a424d683425e0fcf8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8">begin</a> (const char *tag, int eepromAddress)</td></tr>
<tr class="memdesc:a7f1aab3c324f8e8a424d683425e0fcf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the random number generator. <a href="#a7f1aab3c324f8e8a424d683425e0fcf8">More...</a><br/></td></tr>
<tr class="separator:a7f1aab3c324f8e8a424d683425e0fcf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77eb101a225ce541800ac1361a92b1a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6">begin</a> (const char *tag)</td></tr>
<tr class="memdesc:a77eb101a225ce541800ac1361a92b1a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the random number generator. <a href="#a77eb101a225ce541800ac1361a92b1a6">More...</a><br/></td></tr>
<tr class="separator:a77eb101a225ce541800ac1361a92b1a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacf23b192b0e4cc8726d9abe05f5a9db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRNGClass.html#aacf23b192b0e4cc8726d9abe05f5a9db">addNoiseSource</a> (<a class="el" href="classNoiseSource.html">NoiseSource</a> &amp;source)</td></tr>
<tr class="memdesc:aacf23b192b0e4cc8726d9abe05f5a9db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a noise source to the random number generator. <a href="#aacf23b192b0e4cc8726d9abe05f5a9db">More...</a><br/></td></tr>
<tr class="separator:aacf23b192b0e4cc8726d9abe05f5a9db"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -136,9 +136,8 @@ Public Member Functions</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ae3a013bfc73795fd26ee36e70d89f4c2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae3a013bfc73795fd26ee36e70d89f4c2"></a>
static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRNGClass.html#ae3a013bfc73795fd26ee36e70d89f4c2">SEED_SIZE</a> = 49</td></tr>
<tr class="memdesc:ae3a013bfc73795fd26ee36e70d89f4c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of a saved random number seed in EEPROM space. <br/></td></tr>
<tr class="memitem:ae3a013bfc73795fd26ee36e70d89f4c2"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRNGClass.html#ae3a013bfc73795fd26ee36e70d89f4c2">SEED_SIZE</a> = 48</td></tr>
<tr class="memdesc:ae3a013bfc73795fd26ee36e70d89f4c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of a saved random number seed in EEPROM space. <a href="#ae3a013bfc73795fd26ee36e70d89f4c2">More...</a><br/></td></tr>
<tr class="separator:ae3a013bfc73795fd26ee36e70d89f4c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
@@ -146,7 +145,7 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<p>Random number generators must be seeded properly before they can be used or an adversary may be able to predict the random output. Seed data may be:</p>
<ul>
<li>Device-specific, for example serial numbers or MAC addresses. </li>
<li>Application-specific, unique to the application. The tag that is passed to <a class="el" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8" title="Initializes the random number generator. ">begin()</a> is an example of an application-specific value. </li>
<li>Application-specific, unique to the application. The tag that is passed to <a class="el" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6" title="Initializes the random number generator. ">begin()</a> is an example of an application-specific value. </li>
<li>Noise-based, generated by a hardware random number generator that provides unpredictable values from a noise source.</li>
</ul>
<p>The following example demonstrates how to initialise the random number generator:</p>
@@ -167,8 +166,8 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<div class="line"> Ethernet.begin(mac_address);</div>
<div class="line"></div>
<div class="line"> <span class="comment">// Initialize the random number generator with the application tag</span></div>
<div class="line"> <span class="comment">// &quot;MyApp 1.0&quot; and load the previous seed from EEPROM address 950.</span></div>
<div class="line"> RNG.<a class="code" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8">begin</a>(<span class="stringliteral">&quot;MyApp 1.0&quot;</span>, 950);</div>
<div class="line"> <span class="comment">// &quot;MyApp 1.0&quot; and load the previous seed from EEPROM.</span></div>
<div class="line"> RNG.<a class="code" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6">begin</a>(<span class="stringliteral">&quot;MyApp 1.0&quot;</span>);</div>
<div class="line"></div>
<div class="line"> <span class="comment">// Stir in the Ethernet MAC address.</span></div>
<div class="line"> RNG.<a class="code" href="classRNGClass.html#ad99535ea23ae2fec55bdebb8c24def02">stir</a>(mac_address, <span class="keyword">sizeof</span>(mac_address));</div>
@@ -187,7 +186,7 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<div class="line"></div>
<div class="line"> <span class="comment">// ...</span></div>
<div class="line">}</div>
</div><!-- fragment --><p>The <a class="el" href="classRNGClass.html#a8cb91e39f0c4591de5bf98b1e2880b13" title="Run periodic housekeeping tasks on the random number generator. ">loop()</a> function will automatically save the random number seed on a regular basis. By default the seed is saved every hour but this can be changed using <a class="el" href="classRNGClass.html#a5848e87a5f2f0302c88b0377f0e3366d" title="Sets the amount of time between automatic seed saves. ">setAutoSaveTime()</a>.</p>
</div><!-- fragment --><p>The <a class="el" href="classRNGClass.html#a8cb91e39f0c4591de5bf98b1e2880b13" title="Run periodic housekeeping tasks on the random number generator. ">loop()</a> function will automatically save the random number seed on a regular basis to the last SEED_SIZE bytes of EEPROM memory. By default the seed is saved every hour but this can be changed using <a class="el" href="classRNGClass.html#a5848e87a5f2f0302c88b0377f0e3366d" title="Sets the amount of time between automatic seed saves. ">setAutoSaveTime()</a>.</p>
<p>Keep in mind that saving too often may cause the EEPROM to wear out quicker. It is wise to limit saving to once an hour or once a day depending upon how long you intend to field the device before replacing it. For example, an EEPROM rated for 100k erase/write cycles will last about 69 days saving once a minute or 11 years saving once an hour.</p>
<p>The application can still elect to call <a class="el" href="classRNGClass.html#a139584fb249148e2058d1d645d090db7" title="Saves the random seed to EEPROM. ">save()</a> at any time if wants. For example, if the application can detect power loss or shutdown conditions programmatically, then it may make sense to force a <a class="el" href="classRNGClass.html#a139584fb249148e2058d1d645d090db7" title="Saves the random seed to EEPROM. ">save()</a> of the seed upon shutdown.</p>
<p>The Arduino Due does not have EEPROM so RNG saves the seed into the last page of system flash memory instead. The RNG class will also mix in data from the CPU's built-in True Random Number Generator (TRNG). Assuming that the CPU's TRNG is trustworthy, this should be sufficient to properly seed the random number generator. It is recommended to also mix in data from other noise sources just in case the CPU's TRNG is not trustworthy.</p>
@@ -209,10 +208,10 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
</div><div class="memdoc">
<p>Constructs a new random number generator instance. </p>
<p>This constructor must be followed by a call to <a class="el" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8" title="Initializes the random number generator. ">begin()</a> to properly initialize the random number generator.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8" title="Initializes the random number generator. ">begin()</a> </dd></dl>
<p>This constructor must be followed by a call to <a class="el" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6" title="Initializes the random number generator. ">begin()</a> to properly initialize the random number generator.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6" title="Initializes the random number generator. ">begin()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00230">230</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00238">238</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -239,9 +238,9 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
</dd>
</dl>
<p>RNG supports a maximum of four noise sources. If the application needs more than that then the application must poll the noise sources itself by calling <a class="el" href="classNoiseSource.html#a7ce647815524fe84f562aca5256e12f3" title="Stirs entropy from this noise source into the global random number pool. ">NoiseSource::stir()</a> directly.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a8cb91e39f0c4591de5bf98b1e2880b13" title="Run periodic housekeeping tasks on the random number generator. ">loop()</a>, <a class="el" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8" title="Initializes the random number generator. ">begin()</a> </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a8cb91e39f0c4591de5bf98b1e2880b13" title="Run periodic housekeeping tasks on the random number generator. ">loop()</a>, <a class="el" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6" title="Initializes the random number generator. ">begin()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00459">459</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00467">467</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -284,11 +283,11 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
</div><!-- fragment --><p>If <em>len</em> is larger than the maximum number of entropy credits supported by the random number pool (384 bits, 48 bytes), then the maximum will be used instead. For example, asking if 512 bits (64 bytes) are available will return true if in reality only 384 bits are available. If this is a problem for the application's security requirements, then large requests for random data should be broken up into smaller chunks with the application waiting for the entropy pool to refill between chunks.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a418a833cf18198fd7e5d6dbd78c99c29" title="Generates random bytes into a caller-supplied buffer. ">rand()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00585">585</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00593">593</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a7f1aab3c324f8e8a424d683425e0fcf8"></a>
<a class="anchor" id="a77eb101a225ce541800ac1361a92b1a6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
@@ -296,18 +295,8 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<td class="memname">void RNGClass::begin </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>tag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td class="paramname"><em>tag</em></td><td>)</td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>eepromAddress</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
@@ -315,16 +304,14 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<p>Initializes the random number generator. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tag</td><td>A string that is stirred into the random pool at startup; usually this should be a value that is unique to the application and version such as "MyApp 1.0" so that different applications do not generate the same sequence of values upon first boot. </td></tr>
<tr><td class="paramname">eepromAddress</td><td>The EEPROM address to load the previously saved seed from and to save new seeds when <a class="el" href="classRNGClass.html#a139584fb249148e2058d1d645d090db7" title="Saves the random seed to EEPROM. ">save()</a> is called. There must be at least SEED_SIZE (49) bytes of EEPROM space available at the address.</td></tr>
<tr><td class="paramname">tag</td><td>A string that is stirred into the random pool at startup; usually this should be a value that is unique to the application and version such as "MyApp 1.0" so that different applications do not generate the same sequence of values upon first boot.</td></tr>
</table>
</dd>
</dl>
<p>This function should be followed by calls to <a class="el" href="classRNGClass.html#aacf23b192b0e4cc8726d9abe05f5a9db" title="Adds a noise source to the random number generator. ">addNoiseSource()</a> to register the application's noise sources.</p>
<p>The <em>eepromAddress</em> is ignored on the Arduino Due. The seed is instead stored in the last page of system flash memory.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#aacf23b192b0e4cc8726d9abe05f5a9db" title="Adds a noise source to the random number generator. ">addNoiseSource()</a>, <a class="el" href="classRNGClass.html#ad99535ea23ae2fec55bdebb8c24def02" title="Stirs additional entropy data into the random pool. ">stir()</a>, <a class="el" href="classRNGClass.html#a139584fb249148e2058d1d645d090db7" title="Saves the random seed to EEPROM. ">save()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00359">359</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00360">360</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -343,11 +330,11 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<p>Destroys the data in the random number pool and the saved seed in EEPROM. </p>
<p>This function attempts to throw away any data that could theoretically be used to predict previous and future outputs of the random number generator if the device is captured, sold, or otherwise compromised.</p>
<p>After this function is called, <a class="el" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8" title="Initializes the random number generator. ">begin()</a> must be called again to re-initialize the random number generator.</p>
<p>After this function is called, <a class="el" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6" title="Initializes the random number generator. ">begin()</a> must be called again to re-initialize the random number generator.</p>
<dl class="section note"><dt>Note</dt><dd>The <a class="el" href="classRNGClass.html#a418a833cf18198fd7e5d6dbd78c99c29" title="Generates random bytes into a caller-supplied buffer. ">rand()</a> and <a class="el" href="classRNGClass.html#a139584fb249148e2058d1d645d090db7" title="Saves the random seed to EEPROM. ">save()</a> functions take some care to manage the random number pool in a way that makes prediction of past outputs from a captured state very difficult. Future outputs may be predictable if noise or other high-entropy data is not mixed in with <a class="el" href="classRNGClass.html#ad99535ea23ae2fec55bdebb8c24def02" title="Stirs additional entropy data into the random pool. ">stir()</a> on a regular basis.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a7f1aab3c324f8e8a424d683425e0fcf8" title="Initializes the random number generator. ">begin()</a> </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a77eb101a225ce541800ac1361a92b1a6" title="Initializes the random number generator. ">begin()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00806">806</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00819">819</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -367,7 +354,7 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<p>Run periodic housekeeping tasks on the random number generator. </p>
<p>This function must be called on a regular basis from the application's main "loop()" function. </p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00715">715</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00728">728</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -407,7 +394,7 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<p>If the application requires a specific amount of entropy before generating important values, the <a class="el" href="classRNGClass.html#a49e3231ba65a5e4b045bc90976e0a659" title="Determine if there is sufficient entropy available for a specific request size. ">available()</a> function can be polled to determine when sufficient entropy is available.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a49e3231ba65a5e4b045bc90976e0a659" title="Determine if there is sufficient entropy available for a specific request size. ">available()</a>, <a class="el" href="classRNGClass.html#ad99535ea23ae2fec55bdebb8c24def02" title="Stirs additional entropy data into the random pool. ">stir()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00508">508</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00516">516</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -431,7 +418,7 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<p>The seed that is saved is generated in such a way that it cannot be used to predict random values that were generated previously or subsequently in the current session. So a compromise of the EEPROM contents of a captured device should not result in compromise of random values that have already been generated. However, if power is lost and the system restarted, then there will be a short period of time where the random state will be predictable from the seed. For this reason it is very important to <a class="el" href="classRNGClass.html#ad99535ea23ae2fec55bdebb8c24def02" title="Stirs additional entropy data into the random pool. ">stir()</a> in new noise data at startup.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a8cb91e39f0c4591de5bf98b1e2880b13" title="Run periodic housekeeping tasks on the random number generator. ">loop()</a>, <a class="el" href="classRNGClass.html#ad99535ea23ae2fec55bdebb8c24def02" title="Stirs additional entropy data into the random pool. ">stir()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00687">687</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00695">695</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -460,7 +447,7 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
<p>This function is intended to help with EEPROM wear by slowing down how often seed data is saved as noise is stirred into the random pool. The exact period to use depends upon how long you intend to field the device before replacing it. For example, an EEPROM rated for 100k erase/write cycles will last about 69 days saving once a minute or 11 years saving once an hour.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a139584fb249148e2058d1d645d090db7" title="Saves the random seed to EEPROM. ">save()</a>, <a class="el" href="classRNGClass.html#ad99535ea23ae2fec55bdebb8c24def02" title="Stirs additional entropy data into the random pool. ">stir()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00484">484</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00492">492</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
@@ -508,7 +495,33 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
</div><!-- fragment --><p>If <em>credit</em> is zero, then the <em>data</em> will be stirred in but no entropy credit is given. This is useful for static values like serial numbers and MAC addresses that are different between devices but highly predictable.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRNGClass.html#a8cb91e39f0c4591de5bf98b1e2880b13" title="Run periodic housekeeping tasks on the random number generator. ">loop()</a> </dd></dl>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00618">618</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
<p>Definition at line <a class="el" href="RNG_8cpp_source.html#l00626">626</a> of file <a class="el" href="RNG_8cpp_source.html">RNG.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ae3a013bfc73795fd26ee36e70d89f4c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">RNGClass::SEED_SIZE = 48</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>Size of a saved random number seed in EEPROM space. </p>
<p>The seed is saved into the last SEED_SIZE bytes of EEPROM memory. The address is dependent upon the size of EEPROM fitted in the device. </p>
<p>Definition at line <a class="el" href="RNG_8h_source.html#l00053">53</a> of file <a class="el" href="RNG_8h_source.html">RNG.h</a>.</p>
</div>
</div>
@@ -519,7 +532,7 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Nov 3 2017 10:48:53 for ArduinoLibs by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Sun Feb 18 2018 09:12:23 for ArduinoLibs by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>