[Cryptech Tech] need SHA-224 support

Joachim Strömbergson joachim at secworks.se
Tue May 31 12:15:38 UTC 2016


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

Aloha!

Rob Austein wrote:
> So, unless I'm misunderstanding something, you add the mode bit 
> support to the Verilog core, somebody (probably me) adds the SHA-224 
> driver definition and the sha224 software core wrapper, done.
> 
> It's possible that this will break one or two old test programs
> which fiddled the core directly, but the fix there should be obvious
> if we still care about those programs, so I wouldn't worry about it.

Great! I've just pushed that change to the sha256 core. The biggie from
SW point of view is to write 0x05 instead of 0x01 to initiate SHA256
processing, and 0x06 instead of 0x02 to process next sha256 block. There
are defines for all these just as before.

If you or Paul can look at it and scream if there is anything crazy I'd
appreciate it.


The HW changes were very small. I would however someday clean up that
core a bit. For the next rainy day post Berlin or so.

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

iQIcBAEBCAAGBQJXTYBqAAoJEF3cfFQkIuyNuXEP/i9mDiHiTYz8TAmPohlFsh+T
R4/TQjsCoJnQwM9j19RxAW/c9AGxUUKNF2R2KzdIhNB7xXgUSdJm5UmTSr1eNTxY
oBYxuP6BIGDwEYj0qslNh7IKXEJlnNwN9TpuT8h3wUBXokYgafVDCvmGglLL4foE
1VwdK1biVu2ZFjJ573HaDe3Nxb3GqSoDFuQc84+ZV16z2PDFZ8lD8wo2515e4eI+
r5EcQw5FTGpAryoMrAHvWPJS/+wYJJu4juTflChmW56dmKEjcO+ymHkYsKtu3SK9
+VwztvK2I9bNJwD4259akFoecluUo3X8bO++kq+HXPyV1u5krYRvRRbWtGDOkgK4
gdZZKuqMx0pm4VOYOLFzeJSwhKtv/FRAnaxoEx85OKLHcpJbzBUFwDlWcPAZtW1R
Vq9cVm3YQBz3ARb2wvc1xrXaWRnk1c/ih8pTzTMV1zZBF4qkJbsgZpX/3YL3cwxf
KJIC3fh5o3uVJlA+Byfik7fhXs2FORlS1ihkfIk3hUOpdrBOmFClxfxLkxuziqkt
4wqT1i1IliXpzB6hBrpG1Tey+f+NMguL4LyeH11WosooXmBSewRohARy7fAnv6bA
6px5fwBlkvdEfcYJK6TlD+QW8Wck+JeDFlbWZfSAKUcuQBF0Z7bZ9u/RMe09kt2G
UPaH2MOw1hHrbYLk9+9O
=3GIv
-----END PGP SIGNATURE-----


More information about the Tech mailing list