[Cryptech Tech] name, type and version in cores

Joachim Strömbergson joachim at secworks.se
Mon Feb 17 13:14:47 UTC 2014


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

Aloha!

FYI. In the cores there will be four 32-bit words read accessible via
the API that extracts compile/build time constansts that identify a
core. These four words are always at the first addresses of a given core.

The purpose of these constants is to allow SW to check which features
are present in the hardware by simply read the first words in a given
address space. (If we divide the cores into fixed size address spaces it
will be easy to do.)

The constants are basically a representation of
core name: 64 bits
core type: 32 bits (for example high speed vs compact."
core version: 32 bits

The bits are used as 8-bit ascii strings. For example the SHA-256 core
currently has:
Addr 0: "SHA2" (name0)
Addr 1: "256"  (name1)
Addr 2: "   "
Addr 3: "0.01"

One thing I consider is how to handle muliple instances. If we have two
uarts do we want them to annouce a unique ID themselves?

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

iQIcBAEBCAAGBQJTAgtGAAoJEF3cfFQkIuyN9YcP/Rmp8UrRvHMoUc6505UHU975
N6alNd6z8e22Vs0bFfhfhhAcEJCmJ55WfoBLKwrVpq2djv559+Uap9T1AKfBoAna
9BNAsPPt5OZHUe/6njzlAlrNgSMKGMmRjc3BPZDptrD1wVgQEMNs0bJEseJnFSms
N389/QVMMnb1Uv4xJuyggrIV6vxHnf8SsWo/+PUDVB6lLU+EaoSdywhvFjzI1/vt
iwo1Cc+Yeqm3nulI0q3iBNTONMJFyVWSkeeY8WW5jADhkfFk2tP7QMV5cFm+/TV1
dL5zXyUJfXa0DUh+qaUUsb0cbCNnU1hjvXgsF0MRTEcNRnrmYM6gXdej9sJ4qa7z
XqyVz7sHdrZcjgvDCKHstWwftdp7FROwNAbSpByADBlOuJytYAyRzZF7Ojv+foI8
4A9pWO09WFx3lPmRvPpfZuWEHQdZX/onaKkcJeEeuKBfTfa+ZJisvApkXuCSAVi4
WTPJ++WgCwbYCAlp+5XjWQnX+B/iQGNfGn4tJLobrp8LlizBCHAzf0VLM8s+l45K
ovEV++KPCxHdy5pp6HAI1ghRuBR6JRnTDsYH/WtaEZ9BN1mvaBMoVVJwkueFZ/1w
MHSmBtczuPhgAl/DG7YHYhP3aS3am2Oyppsx5iT2irNxK25XndxInn2M5W58ij5C
aqm5Q+3SnZzrZExUzQAF
=Gcwe
-----END PGP SIGNATURE-----



More information about the Tech mailing list