[Cryptech Core] meeting 28th and 29th

Joachim Strömbergson joachim at secworks.se
Tue Jul 22 19:54:10 UTC 2014


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

Aloha!

Rob Austein wrote:
> To put a bit more of a conceptual framework around this: sha1_core.v 
> is part of the portable core code, while the other stuff is part of 
> what we used to call the "Board Support Package" (BSP).

Yes, a working analogy. Or having (for example) an Ethernet card
connected via PCI vs ISA vs USB. The Ethernet functionality is the same,
but the system interface can be quite different.


> The point of all this is just that it may be a useful concept to
> keep in mind when structuring our repositories and thinking about
> APIs.

Exactly. Right now the cores have a register based 32-bit data
interface. Performing a SHA-256 operation requires writing the current
block to several different registers followed by writing to a control
register. Getting the digest out requires reading from several other
registers.

Furthermore coretest multiplexes these register accesses over a UART.
And Paul will multiplex them over I2C between the CPU and the cores.

For a simple MCU (A Raspberry Pi or an Arduino for example) connected to
a FPGA device, having register based access might be the right thing.
With Novena we might instead use memory mapping and more complex data
structures to allow more efficient SW and HW and thus better performance.

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

iQIcBAEBCAAGBQJTzsFiAAoJEF3cfFQkIuyNvwMP/2L+VZfH/7fnYxoeEzkk+zoq
pp37hgYaD4IPWLJXHAmnrxuenrj4IfWJk5BuCb99+UiIMQbBr0cHjlbRi2cuR5Fq
l1XMlna4+GYTHQxv/M93DvRkif6kyIXyd8Ty6o1nfkiNdoLNOx1JSNpAm2tf2p8z
0+RnTEvtP00/vrsnjycvCkko/1SNkVQiB0tSUnfY7L7wLCJEWzTs/UfylzM6niU0
QXDiqe8KN4tq7LpYLeQGd3UuDtIn7/F/sq4g2l61Cj8b1cDH3MgKV2Jpxg8gfSLI
59FdpG00vjUlZxkUg7IXdGJSIjtdyLUy9UPPS56PY+oobItRdYoWfaki0XT72LQT
q9z8AMh8PSFWhRxPDI6dbGL0IeMHSRO9z4/9FvB4CJrqxENas3xHvLXgkwGujz0U
UcHgVMSM535OBE6Pah4HcVQVq+KOOLI8WyJzdZIPE05IwRI3X88vX2MiQnmi36b7
cD1a9oTatoyJYC4OVqFD0+JbKLNO/GY/DkEo9Zu4/lEPsebNJuQnZnyT1CqoEW0/
iLgMVgyhYFA+rHW9zmnqMm8bCr/ovgNqIRQuu+gfEFcXjT3GIPJjFrkeKB+Lrm/+
Y50ZLRM27j1dVoS7gTW+YglGnHxCTaAGFcDNz1rz8T2k8ZzzOECe1F1TmxJjZ7kp
U3GbAH1oN0SAUe9SuaRb
=gqUS
-----END PGP SIGNATURE-----



More information about the Core mailing list