[Cryptech Tech] core/novena_i2c_simple

Paul Selkirk paul at psgd.org
Thu Oct 2 23:33:19 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/02/2014 09:20 AM, Joachim Strömbergson wrote:
> Paul, I'm looking at the novena_i2c_simple core to start
> integrating the trng on the Novena. Is that core a test core for
> hashing or generic i2c on the Novena?

It's a core for hashing, but you should easily be able to tease out
the project-dependent bits.

The only difference between the i2c code in the two projects is that
the _simple version accepts a range of i2c device addresses, and
reports which one was requested. (And I normalized the addresses to 7
bits; for some reason Bunnie used an 8-bit register and ignored low
bit, so the device configured as "0x1e" was actually at address 0x0f.)

> And what is the relation to core/novena?

core/novena is paired with core/i2c, similar to the way
core/coretest_hashes is paired with core/uart.

I should consolidate core/novena and core/i2c into something like
core/novena_i2c, since I've now got novena_i2c_simple and novena_eim.

				paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJULeC/AAoJELAqzRn9CEWTp2EH+gOnheKewlA711KjNk1MF5pg
w9/M0146kGTm2E16mqd2grfuEBiq3ajYoUq89yfzQ6n5uuCs6D0lQ3Nf/XBqXC5p
sx41jvtDRmghZgV0C7t66fC1ZkbLuUIcbnq5Kb869l7tMHk0/z2yQ+iIqp415oey
UDWunr4XI1WPXv6TxonHQSfy/c2YLsLxKSwyjTS1BhRjyxOKV+Z+IhqQ2OAUXZmS
EiOW2ILUf0wAlbZa4FhG6vsLIuoOtKeclNj0j+TDVx96PgIG5TGzfrraJ6yxrio7
LEouei3RrmGj2KwdYWqcX4JfHpV2GHCZoS+gjTrUP6WDAz6JPaWpnWFs/vFGeOk=
=4cR2
-----END PGP SIGNATURE-----


More information about the Tech mailing list