[Cryptech Tech] new Novena I2C interface
Joachim Strömbergson
joachim at secworks.se
Fri Sep 26 05:12:01 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Aloha!
Great work! I will start working on the Novena more actively now that
the TRNG seems to work so using your new i2c if will be a good start.
I will also look at the EIM code. Have you checked in the EIM baseline
in Cryptech so we can do cleanup and adaptations?
Yours
JoachimS
Paul Selkirk wrote:
> I just committed a new version of the Novena I2C interface. I
> actually finished it last week, but have been letting it ripen (not
> unlike surströmming).
>
> Instead of sending commands to write 4 bytes at a time, you simply
> write() 64 bytes or 128 bytes of block data, and read() the digest.
> All the init/next/ready/valid signalling is handled internally. Each
> hash core is a separate virtual I2C device, including the variations
> on SHA-512.
>
> Repeated writes to the same SHA core will be added to the same
> digest; the act of reading the digest resets the internal state, so
> that the next write will start a new digest.
>
> I also added a generic file-hashing utility to both versions of the
> Novena project, so we can make some speed comparisons. The "simple"
> version is 6.5 times faster than the "classic" version, because it
> skips the overhead of the command/response system, and starts hashing
> as soon as all block data are present. The hash.c app is also about
> half the size in the "simple" version.
>
> In the long term, we still want to be using EIM (which I've been
> banging my head against), but this gives us another tool in the
> toolbox.
>
> paul _______________________________________________ Tech mailing
> list Tech at cryptech.is https://lists.cryptech.is/listinfo/tech
- --
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/
iQIcBAEBCAAGBQJUJPWgAAoJEF3cfFQkIuyN6RYQALnXHbdHsZ+B7X0iz9OIrA90
CXWay9Q3sgzB1dubTTaLoljo+UkRdHYN/uH6pOX/spyDp+PyU0e6Uj5CC/qNfobm
nx35r4MJkUY/g/yEhABeuz5fUmTw8bPNZWhY3xBEDeUr+ZDuWxX9RKhi6t0XOoEw
LxQyHuxJU8fY3ciQE70ER+w44fAd8PiNE60AHaB3zyY0iRdSF9BGARs4lM+PTaSL
FRsHLOO+rgfPJYcOa72a2Q0wzZF7oqQ0QUTTqLv6EzpfepOL5OS7vPOSXH8zm3VS
mzTxPgY7UvXJC9qhhpwwiNgAxFEQigF9KvaEXbfW2c4/zut+0gScxFf2haH2dht4
U7yYu9isXAI4uynCXxaXiQdVzrVjdZQ36rxXUokolHqYkrKP6hPVjp6iLZvYBR1D
C3kNUz3cGY3vLT/UhmWqDyDf1yvtbMz62EySYkBRNOr/ae4onYX7mdUbiJwayRFy
f9nFlwanlmVX5lrAXMzY9Fq/eZ2zlhOTumcuLtyCtSnq03FxpxtI6fothUetwHGj
sedAYLDHMywsixP+FJC0PoE8YAi3Cl/DZWQkshtOwdG4dEZM6XAnPCgRNtHG0wJ4
b58foQCUWGNOmkgQvEPrLVDzE9UCd0lcbLltemhJv1/eesHe911jjDwf5eVr8Ju2
uJ59f9BBqmttBs7lqlsy
=x4jz
-----END PGP SIGNATURE-----
More information about the Tech
mailing list