mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Update docs
This commit is contained in:
16
crypto.html
16
crypto.html
@@ -90,6 +90,7 @@ Supported Algorithms</h1>
|
||||
<li>Extendable output functions (<a class="el" href="classXOF.html" title="Abstract base class for Extendable-Output Functions (XOFs). ">XOF</a>'s): <a class="el" href="classSHAKE128.html" title="SHAKE Extendable-Output Function (XOF) with 128-bit security. ">SHAKE128</a>, <a class="el" href="classSHAKE256.html" title="SHAKE Extendable-Output Function (XOF) with 256-bit security. ">SHAKE256</a> </li>
|
||||
<li>Message authenticators: <a class="el" href="classPoly1305.html" title="Poly1305 message authenticator. ">Poly1305</a>, <a class="el" href="classGHASH.html" title="Implementation of the GHASH message authenticator. ">GHASH</a>, <a class="el" href="classOMAC.html" title="Implementation of the OMAC message authenticator. ">OMAC</a> </li>
|
||||
<li>Public key algorithms: <a class="el" href="classCurve25519.html" title="Diffie-Hellman key agreement based on the elliptic curve modulo 2^255 - 19. ">Curve25519</a>, <a class="el" href="classEd25519.html" title="Digital signatures based on the elliptic curve modulo 2^255 - 19. ">Ed25519</a>, <a class="el" href="classP521.html" title="Elliptic curve operations with the NIST P-521 curve. ">P521</a> </li>
|
||||
<li>Post-quantum algorithms: <a class="el" href="classNewHope.html" title="NewHope post-quantum key exchange algorithm. ">NewHope</a> </li>
|
||||
<li>Random number generation: <a class="el" href="classRNGClass.html">RNG</a>, <a class="el" href="classTransistorNoiseSource.html" title="Processes the signal from a transistor-based noise source. ">TransistorNoiseSource</a>, <a class="el" href="classRingOscillatorNoiseSource.html" title="Processes the signal from a ring oscillator based noise source. ">RingOscillatorNoiseSource</a></li>
|
||||
</ul>
|
||||
<p>All cryptographic algorithms have been optimized for 8-bit Arduino platforms like the Uno. Memory usage is also reduced, particularly for <a class="el" href="classSHA256.html" title="SHA-256 hash algorithm. ">SHA256</a> and <a class="el" href="classSHA512.html" title="SHA-512 hash algorithm. ">SHA512</a> which save 192 and 512 bytes respectively over traditional implementations. For all algorithms, static sbox tables and the like are placed into program memory to further reduce data memory usage.</p>
|
||||
@@ -233,6 +234,7 @@ Performance on AVR</h2>
|
||||
<td><a class="el" href="classP521.html#a15ca802e298c7ff3be06924b0edb7daa" title="Derives the public key from a private key for P-521 signing operations. ">P521::derivePublicKey()</a></td><td align="right">46290ms</td><td colspan="3">Derive a public key from a private key </td></tr>
|
||||
</table>
|
||||
<p>Where a cipher supports more than one key size (such as <a class="el" href="classChaCha.html" title="ChaCha stream cipher. ">ChaCha</a>), the values are typically almost identical for 128-bit and 256-bit keys so only the maximum is shown above.</p>
|
||||
<p>Due to the memory requirements, <a class="el" href="classNewHope.html" title="NewHope post-quantum key exchange algorithm. ">NewHope</a> is not yet possible on AVR-based Arduino systems.</p>
|
||||
<h2><a class="anchor" id="crypto_performance_arm"></a>
|
||||
Performance on ARM</h2>
|
||||
<p>All figures are for the Arduino Due running at 84 MHz:</p>
|
||||
@@ -361,11 +363,23 @@ Performance on ARM</h2>
|
||||
<td><a class="el" href="classP521.html#ab075909f5cecbb801c6b7c41f20de223" title="Verifies a signature using a specific P-521 public key. ">P521::verify()</a></td><td align="right">3423ms</td><td colspan="3">Digital signature verification </td></tr>
|
||||
<tr>
|
||||
<td><a class="el" href="classP521.html#a15ca802e298c7ff3be06924b0edb7daa" title="Derives the public key from a private key for P-521 signing operations. ">P521::derivePublicKey()</a></td><td align="right">1503ms</td><td colspan="3">Derive a public key from a private key </td></tr>
|
||||
<tr>
|
||||
<td><a class="el" href="classNewHope.html#ae8f821867bce309220aee7a43c2d4f51" title="Generates the key pair for Alice in a New Hope key exchange. ">NewHope::keygen()</a>, Ref</td><td align="right">29ms</td><td colspan="3">Generate key pair for Alice, Ref version </td></tr>
|
||||
<tr>
|
||||
<td><a class="el" href="classNewHope.html#a2f09529f5f73cf9763c28b58b13bbd14" title="Generates the public key and shared secret for Bob. ">NewHope::sharedb()</a>, Ref</td><td align="right">40ms</td><td colspan="3">Generate shared secret and public key for Bob, Ref version </td></tr>
|
||||
<tr>
|
||||
<td><a class="el" href="classNewHope.html#ae490ebcfcbc18179b03c1a1ae8874458" title="Generates the shared secret for Alice. ">NewHope::shareda()</a>, Ref</td><td align="right">9ms</td><td colspan="3">Generate shared secret for Alice, Ref version </td></tr>
|
||||
<tr>
|
||||
<td><a class="el" href="classNewHope.html#ae8f821867bce309220aee7a43c2d4f51" title="Generates the key pair for Alice in a New Hope key exchange. ">NewHope::keygen()</a>, Torref</td><td align="right">40ms</td><td colspan="3">Generate key pair for Alice, Torref version </td></tr>
|
||||
<tr>
|
||||
<td><a class="el" href="classNewHope.html#a2f09529f5f73cf9763c28b58b13bbd14" title="Generates the public key and shared secret for Bob. ">NewHope::sharedb()</a>, Torref</td><td align="right">52ms</td><td colspan="3">Generate shared secret and public key for Bob, Torref version </td></tr>
|
||||
<tr>
|
||||
<td><a class="el" href="classNewHope.html#ae490ebcfcbc18179b03c1a1ae8874458" title="Generates the shared secret for Alice. ">NewHope::shareda()</a>, Torref</td><td align="right">9ms</td><td colspan="3">Generate shared secret for Alice, Torref version </td></tr>
|
||||
</table>
|
||||
</div></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sat Mar 26 2016 19:04:41 for ArduinoLibs by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Aug 18 2016 18:42:10 for ArduinoLibs by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
||||
Reference in New Issue
Block a user