[Cryptech Tech] Cleanup of chacha

Joachim Strömbergson joachim at secworks.se
Wed Dec 28 10:17:36 UTC 2016


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

Aloha!

I've just merged a cleaned up version of the chacha core to Cryptech.
The API has not changed (besides bumping version minor from 80 to 81),
but the code is substantially more compact.

The major behavioral change is that while the core includes four QR
modules, the way they were used they really didn't work in parallel
which meant that performance was much lower that what it should be. For
Cryptech this means that random number generation (and thus key
generation etc) should see improved performance.

Implementation wise, the API address logic has been simplified.
Registers for key and data has also been changed syntax wise to use
Verilog two dimensional arrays. All tools (simulators, synthesis/build
tools) I have access to including ISE, ModelSim, Quartus parses this
correctly.

The _core previously sampled inputs into registers. These registers has
been removed which means that if _core is used without the top, the
caller must ensure that the inputs are stable.


- -- 
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-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJYY5E/AAoJEF3cfFQkIuyNnhQP/R7jhBDTk7k6D6MEhRQofT7I
VfkxOkFlHflYkS8UwCaFnZsJ891RaMPD3Wp/L56C2Q9lAudDxF0czDjS1e5fF+hG
BRSELu1P/BjNErnFyEwvlkjXVwmmScS7VOjlUhWj1B/NQQ+IzqeS+uFM4YJjR1sX
JJnp1FgxTxQtZxVnHmpIWTjZzlAyeLGlYfOL41l9syJRW17Vaoo1bFC1NZ74CUz7
W8xu4qIcT9yZNQthecaMJ1dlpy4q+4c9oXss+i93KVTTR7MDZNSB9yQ51HxSuppY
T14nAZRTj5ICEoOjM76Cy9MCzeiOa7oQaRbbAI4SoodK5Ec5sgwc56vjYRD30w6s
YL191KvzH/3+D7SM5ig7rnzG9B2f5O5SoZ2T0xHlOR+fIcPxK10CsGn+SAzIpVlp
92j72YUoQ4AptlixO70AIt1OFSyr75Bd36AkSoB/6ASCKwEC3oIWQ4FlTuu0jSjC
AH9uksYxKXHYdiPgDNCMd2GbQOXjHdj7ksqP5oJpcs74W0RwyTusL+oBvDAUq7kS
+FJJiNi6GBAdhbdC4giOQEjyVbm+LJObMYTAULtshrPgHNWK31zAId7udeCqqlxd
HxNO2hwO6hIz2aYKmDVBr9dvFrvZYHbkAuerPdYSXw5tLotY7TbX03IKHxObdBEO
vIE+u90PJoBYoaXdIXH1
=VXb3
-----END PGP SIGNATURE-----


More information about the Tech mailing list