[Cryptech Tech] The sha512 core is now in the repo.

Joachim Strömbergson joachim at secworks.se
Sat Apr 5 12:22:52 UTC 2014


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

Aloha!

I've just added all source files, Python model, testbenches etc for the
sha512 core. This core implements the four SHA-512 versions defined in
NIST FIPS 180-4. There are test cases as specified by NIST for all
modes. The core has been implemented for Altera Cyclone 5GX without any
warnings on the RTL.

Th size of the core is about the same as for sha256 and sha1 combined. A
lot of that size is for all registers in the top level wrapper needed to
implement the ABI. Used in the TRNG (for example) those registers would
not be there. The core should offer almost double performance compared
to sha256. (Double block size, but 25% more rounds.)

I would appreciate any feedback on code, implementation, test builds in
other tools (ModelSim, Xilinx etc).

I will add the sha512 core to the coretest_hashes design to allow
testing of all threee hash functions. But first I need to kill that
parser bug in coretest.

I will also add the chacha stream cipher core so that we have the main
cryptographic building blocks for the TRNG.

Next cores to be completed is AES and the TRNG sub system.

- -- 
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/

iQIcBAEBCAAGBQJTP/WcAAoJEF3cfFQkIuyNFVwP/jgkZN1AmqQQ7vTRsMkA+gwA
H+vIlRGXkG4h+L1iatNd3hIPezAIN8Qc1NroyoqVD97SHcQ9lO15RglpGqDsRdle
YBRHGpL4bH/fk8pxzWKvDadiA2K0Ript5OraaT1MqwHme5w1jDSmaSYnwS2OlA/7
YnP7hIWYV5S2qHWXhhb+B+OxgHhLfV04KO/WkpVQWC+f7UlNiC6XQCGOH07WSIzR
w0ITr9c/1/4RCMZ0S9J4hbV0bsY45D3fomnFIrod0zTmE0WxPvehxixttDf/C541
c5tKJ0n2sRf4bioCKEwW3S6CiEWniSwm3JBz1/Iuo1SIrghGfukYX8Y7eJe5Fi0l
DhDGulgEcv2hzLgaWQlojz2YllFeJPMT+Z0viksYMv/6Y8JNjgc+lQHVGePIfRwe
qMLbQFFyYYJN+l9FD6ePxSmPAnUjZmNysiVjahL6uTElI1bvJ+oWX7FPBBTaUgxB
IdDHo7Jm7c6qqhByS+bFNYyf2Y19DE6uxEf6ryNooHf1EBAsmwoCNklEJ8ZTHCE4
YO5osZPdSfPd93jAAAig3dfEyoxOm/3oo/JqC99jxx7LMo2i0PxKhXPau9JDNAtw
4vGTG5OwVIW0IFzjrr+yiAEHsGxX/xQikUclJ7yI5YxABzcvrHWWJ6wyGjhqwp2P
+WMVP3GfYglYp/5GGnhb
=vN3l
-----END PGP SIGNATURE-----



More information about the Tech mailing list