[Cryptech Tech] More tests and a bug

Joachim Strömbergson joachim at secworks.se
Tue Apr 1 08:00:12 UTC 2014


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

Aloha!

I've updated the python models for sha1 and sha256 with more test cases.
These are then used to support the development of tests for coretest_hashes.

I've also updated the hash_tester.py. First of all refactoring to allow
development of new tests and then added more tests. One test have
revealed a bug in coretest and I need to fix that one before the test
case with huge messages can be performed on the FPGA board.

(Sending message blocks that contain SOC and EOC bytes as bad for the
parser in coretest. ;-)

I've yet to implement a way to programmatically check the results from
the tests. If anyone wants to take a stab at doing that it would be great.

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

iQIcBAEBCAAGBQJTOnIMAAoJEF3cfFQkIuyNaG0QAJ6D0JXg9onxDX+bTrdaDtTM
02t1p3Cr8v9TUUUeNWKlEQn5+QynRN40vfpJnXtrkCmfGxdnREarNFeyyQlsTSg9
HoE8U5QrekT3jgTprIIx9gmuIDrDYbUTAKc8qY6RVfFd3jIu2QTLMoOdt89mnfRN
k2q/puJPgCjUFAlO3xdFZvsBG6SVlREEKCESj3Mst8Y9sGRT/UpGpXDv1yx8SqzV
X/5ILMcm6xKtIXedPvB6ukk55iJLiORwS5GxRI4QfG96kS9fDB+Ik/SP5TqoLz/N
bZYFIly1IS1vwSphDr8iUww1vXA14plXK1yt5QU6dh59H/CUnJqJlvyq+4sBY14S
z843xckbBJnKVmbpV4RPwfc1rYfV0lc8YU7c5J6tl1jWtvV4H41UZnBacoG3z62l
rlScoSOSIL+eXOdfSSkb0FBkEkv1hdiHunxajFPDCSV8h+0eXeW6padgPoApqhLu
apn6p82v1Vf5sEaGylzHJSIyPNIF1REhO6aDRRivDzbykgcSSsx9G71UJekzkoaM
TZ12WPGA+aY1+j7mjxBHqP6enlq+wfFUtADhwrEJNEvSIst26+5Hybrtay4GwZxs
ui6RL1fbbWKDas9kX7SFZ+PKBiFCKQVBuKqZZ4fJtdFY+RAXB9fAtTjY15LsOlix
2aP2d8BnJiFK9be/Bg+o
=A+oo
-----END PGP SIGNATURE-----



More information about the Tech mailing list