[Cryptech Tech] coretest_hashes now with much higher performance

Joachim Strömbergson joachim at secworks.se
Fri May 9 11:26:11 UTC 2014


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

Aloha!

I have now updated the uart with the ability to set the bitrate as well
as number of data- and stop bits via the control interface. The new uart
is used in coretest_hashes and the hash_tester.py program uses the new
functionality to change the bitrate from default 9600 to 256000. The
tests ate now going much faster.

One caveat is that right now one needs to reset the design after
configuring the FPGA. On the C5G-board this is done by pressing the
rightmost button on the board (KEY0). Yes, I will fix this.

There are some issues with the longer test cases (hashing messages with
huge number of blocks) and the receive parser in hash_tester really
needs an overhaul to better handle data. But those fixes are for next week.

I've also checked in a new version of the prebuilt FPGA config file that
includes the updated uart.

Happy hashing!

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

iQIcBAEBCAAGBQJTbLtSAAoJEF3cfFQkIuyNfGMQAJ/3HM5NnPkjdOsRtfhLyjrI
ElYZG574dEaEvD3+kMKi3lJisfsORHitrX7bTxGOEZPmY14cWrrZBlcGq2NFF8oC
C54F1A+oXSaIC1JI+w72jO8p5rIsM9iZmy1lN5wWlj6YgVL+MnQ7yx4ODp/wnbC8
HysqF0+8Uh25qvANQdTDOMDe7BLWt9dP3DxDuJTi1xENTjc3AgKBn67EuY9yf3NF
LJMt0EfdjunOgbr4JcuAip9HDyuSACG9BDiFsoNB8M4ZpqWhOqXSe6FzhQarmTDa
T50HAYog+MnvwzMwQOseTtGfmFWBc1RW3rkXaRYT8/NymcieFNUo6xqJpfGNRIL6
Y6UxoemdPaT/BSGlwyNy2tht7JfNDA8ryLjl2k1at+v2kJz6gntyUtOZaevDVlaW
IcTV5jaAuhDyo8s5dKT9IDGWS1MkwnG/f5spgLrnZIFIUM3Z659StFBOydv1nht0
I1Firv9vhyC9uD9uxncdnEg0q9eCO7pZP1DXdgcGk4xBbZ5blCAFpSU/Xal7CBS8
oFyzi+n7zBEpsqZUy01xWXVYWyjLEYaFhqFf4V0Y+/nrh2m9A6Mw1J3KlNVaLYe4
dQhvkMfG/3108oBrSzG6QPpa6NWBa0Uv8QbVz8amYWYInJ1E9TeWjl5kUov6USk3
JW4Amhf38Z3M2yReeFQM
=L4Ny
-----END PGP SIGNATURE-----


More information about the Tech mailing list