From b092ffbcbe2c9398494f7dc9db6f0796971633e0 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 13 Sep 2020 23:04:30 +0000 Subject: Import Cryptech wiki dump --- .../GitRepositories%2Fcore%2Fcipher%2Fchacha | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha (limited to 'raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha') diff --git a/raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha b/raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha new file mode 100644 index 0000000..6937f58 --- /dev/null +++ b/raw-wiki-dump/GitRepositories%2Fcore%2Fcipher%2Fchacha @@ -0,0 +1,70 @@ +{{{ +#!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 +

chacha

+ +

Verilog 2001 implementation of the ChaCha stream cipher.

+ +

Functionality

+ +

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.

+ +

The core contains an internal 64-bit block counter that is automatically +updated for each data block.

+ +

Performance

+ +

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.

+ +

Implementation

+ +

Implementation results using the Altera Quartus 13 design tool.

+ +

Cyclone IV GX

+ + + +

Cyclone V GX

+ + + +

Status

+ +

(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.

+ + +}}} + +[[RepositoryIndex(format=table,glob=core/cipher/chacha)]] + +|| Clone `https://git.cryptech.is/core/cipher/chacha.git` || -- cgit v1.2.3