diff options
author | Rob Austein <sra@hactrn.net> | 2020-09-13 23:10:21 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2020-09-13 23:10:21 +0000 |
commit | 3aa8b1dd6e0f504ef83da99f8c9cdb2532f948f5 (patch) | |
tree | ca300cbdbc9b1ca3224441e50375d94c092223e8 /raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha.md | |
parent | 4ba5e00d5cdd42087a76e379cc39604b2da89ea4 (diff) |
Initial conversion pass
Diffstat (limited to 'raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha.md')
-rw-r--r-- | raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha.md | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha.md b/raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha.md new file mode 100644 index 0000000..08e5149 --- /dev/null +++ b/raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha.md @@ -0,0 +1,71 @@ +``` +#!htmlcomment + +This page is maintained automatically by a script. Don't modify this page by hand, +your changes will just be overwritten the next time the script runs. Talk to your +Friendly Neighborhood Repository Maintainer if you need to change something here. + +``` + +``` +#!html +<h1>chacha</h1> + +<p>Verilog 2001 implementation of the ChaCha stream cipher.</p> + +<h2>Functionality</h2> + +<p>This core implements ChaCha with support for 128 and 256 bit keys. The +number of rounds can be set from two to 32 rounds in steps of two. The +default number of rounds is eight.</p> + +<p>The core contains an internal 64-bit block counter that is automatically +updated for each data block.</p> + +<h2>Performance</h2> + +<p>Each quarterround takes one cycle which means that the mininum latency +will be 4*rounds. When the core is functionally correct we will add two +more version with 2 and 4 parallel quarterrounds respectively. The four +quarterounds version will achieve 1 cycle/round.</p> + +<h2>Implementation</h2> + +<p>Implementation results using the Altera Quartus 13 design tool.</p> + +<h3>Cyclone IV GX</h3> + +<ul> +<li>6233 LEs</li> +<li>3677 registers</li> +<li>56.1 MHz</li> +<li>11 cycles latency</li> +<li>2.6 Gbps performance.</li> +</ul> + +<h3>Cyclone V GX</h3> + +<ul> +<li>2631 ALMs for logic</li> +<li>3677 registers</li> +<li>54.3 MHz</li> +<li>11 cycles latency</li> +<li>2.5 Gbps performance.</li> +</ul> + +<h2>Status</h2> + +<p>(2014-09-03) +- Added a new port in the core to allow setting of the initial value of +the counter. The top level wrapper currently sets this value to a +constant zero.</p> + +<ul> +<li>Added the ChaCha core to Cryptech.</li> +</ul> +``` + +[[RepositoryIndex(format=table,glob=core/cipher/chacha)]] + +| Clone `https://git.cryptech.is/core/cipher/chacha.git` | +|---| |