[Cryptech Tech] SHA-256 has been added to the cryptech repo.

Joachim Strömbergson joachim at secworks.se
Wed Feb 19 14:17:48 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aloha!

The first HW core has now been added to the Cryptech repo.

core/sha256 is an implementation of SHA-256 that is fairly compact
iterative with one cycle/round. The W scheduling is done in parallel
which makes the init phase short.

There are testbenches for the sub modules, the core as well as the two
wrappers. sha256.v is a wrapper with a simple memory like interface and
wb_sha256.v is a Wishbone interface.

Implementation wise the core is less that 10 kLEs and 3500 registers in
Altera Cyclone IV GX. It can be clocked in excess of 70 MHz which means
that it can process more than 64 MByte/s.

The status of the core is that it is (read: should be) done. The core
simulates correctly and has been implemented in HW in Altera devices.
However I have not implemented it in Xilinx devices and with the Xilinx
tool chain yet.

If someone wants to contribute there are several things that can be done
that I would appreciate:

* Add more test cases for simulation.
* Compile and simulate using Modelsim or any other simulator
* Build using Xilinx toolchain or any other FPGA/ASIC toolchain
* Browse/read the code and give feedback.

My next activity for the core is to test it extensively in real FPGA
hardware as soon as the coretest core framework has been completed.
Currently I'm debugging the host interface for coretest.

Unless someone else wants to I will also write a design spec/brief that
will be included in the core repo.

- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
 Joachim Strömbergson          Secworks AB          joachim at secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJTBL0MAAoJEF3cfFQkIuyNZ74QAJ2ChCdyKfGKLxw3Ph1AB94i
k77p+p9XQjtwpt7RDbYbKx3y+IHOBuTYdcCHGZ60tJdq6eh4cYVDu0UVPcuWm68K
ybXDqaeuGoWKOx2lHYpckfwAc+ItWXx8unjhSP8JuXJtJpOvARJu1DSZl3gtuc3O
2Hd8pCBzwo6dRqqwlagUxb+9G2nTW7Hj3+7aKrpKGrlqYHQ0SEeFnRQz1aP1oLXp
2TjPnlF7e4V22lE37+YpVcdLD1AW3P0Hu435ty8/cEHWnUiCEMZzUfwayQXXy97J
w5PPFc/FYhKGVEr2RU+RoyemW+xYdCXeqVcQD9rmgjaw3keyUveoPo5daUMJ69H2
XL2u03QpxBl6zScbjEpRwIMvukRgVglXA19zTB3jp5py55Pe4I1wkHUFWAi4j/Cw
wuxyNWxzkyneSIVhvMBMg6ZsZx34uvCOFT9iN34fkXxutFqYvbI9cELKGPO3QJLj
RWoByBLpncuvo8qhQRvKU/T+dx6PN5PBOH9gEud+cnhSxf3rRT+zXGLeXzCnAmcn
/K2xTcqlDsdXqBmfVBCwLG0rrSsHjYj7IEleVfFKk90jCdjA/SfsBYBjgFetIWIB
iphajoJpBQWeKvfwF+nvxlg1M0CA2rGbOGVZsu2XFa56Z6yxeW0A94q920jeBMYv
oQ7VHrniy36Iv25EKwOz
=TQvB
-----END PGP SIGNATURE-----



More information about the Tech mailing list