[Cryptech-Commits] [core/util/keywrap] branch master updated (4333178 -> edb6018)

git at cryptech.is git at cryptech.is
Wed Apr 29 16:51:36 UTC 2020


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a change to branch master
in repository core/util/keywrap.

    from 4333178  Move keywrap from user/js to core/util.
     new f20979f  Adding instatiation of the mkmif in the keywrap top level wrapper. Updated testbench anf Makefile to build with instantiated mkmif. The mkmif is not yet used by the keywrap.
     new 00fd27b  Moved the mkmif instance into the core itself. Added API to read the key if DEBUG is set.
     new 50bc6e7  Moved compile time debug access control of key to the API. Added correct code to mux key.
     new 12db615  Adding API control bits to read and write key.
     new aefd88d  Increasing control state reg to support more states. Adding first states for read and write key handling.
     new 0c7becd  Adding more functionality needed for the mkm integration.
     new 241f915  Adding more infrastructure needed for the integrated mkm.
     new 384b029  Integrate the mkmif_core instead of the mkmif wrapper.
     new 139b3e4  Increased control state space to make room for read and write operations.
     new d3e94a0  Updated the keywrap API to support access to MKM status. Updated keywrap_core to support control of MKM access operations.
     new aa31953  Added logic to perform status word read operation from the mkm. Adding interfaces and registers to be able to pass mkm status to host. Updated dut instantiation in core testbench to.
     new 491a5db  Adding initial version of mkmif wrapper used by keywrap_core to hide protocol complexity.
     new 86d8757  Got all states needed. Added hold registers for address and data to be written.
     new d832fcd  Completed the functionality that should be in the wrapper. Now its just debugging...
     new 9619025  Some whitespace cleanup.
     new 4da2caa  Integrated new mkmif_core wrapper.
     new d4bd0c2  Completed syntax debug after integration of new mkmif_core wrapper.
     new 4e1cb1d  Adding initial version of testbench for the mkmif wrapper.
     new aced6ee  Hardened the keywrap API to not allow reads or writes when the core is busy.
     new 9c66245  Integrated the DUT into the testbench and update Makefile to build the sim target-
     new 74efb3c  Adding test case to observe auto-load of key and status after reset.
     new 8b4f7c0  Trigger read operation when we should read.
     new 42d6350  Fixed incorrect address used for the key. Added testcase to verify reading of status word.
     new 038eb4f  Adding README that describes the purpose of the dir and how to get the vendor specific memory model we need here.
     new 33a7ad0  Adding outputs to observe dut API. Adding support in Makefile for using the vendor supplied memory model.
     new 8a8caf4  Adding vendor mem model.
     new 42e3fca  Adding test case for mem init. Removing auto-load test case since the dut does not support auto load. Updating the write status test case to use wait_ready() for dut status.
     new 4e4a87a  Enabled spi observation and can see that SPI interface is alive when pulling init.
     new e3ce9cd  Added observation of mem internal control states.
     new 88d1cb6  Adding task to dump parts of the contents of the serial memory.
     new f67001b  Updated display of states. We can now observe correct init of the memory.
     new e8fb3bb  Added ability observe mkmif state. Realized that the write operation handler was under read operation handling. Fixed this and now status write works. We can observe 0xdeadbeef in the memory after status write operation.
     new 0fb1cd7  Adding check that correct status word was written into the serial memory.
     new 88c15a5  Adding test that tries to write a key into the serial memory.
     new 0d2aa16  Solved event loop.
     new 2aee357  Merge branch 'integrate_mkmif' to master
     new edb6018  Finally got integrate_mkmif working.

The 37 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                |   1 +
 src/rtl/keywrap.v         | 183 +++++++++++++------
 src/rtl/keywrap_core.v    | 146 ++++++++++++---
 src/rtl/keywrap_mkmif.v   | 445 ++++++++++++++++++++++++++++++++++++++++++++++
 src/tb/tb_keywrap.v       |  24 ++-
 src/tb/tb_keywrap_core.v  |  52 ++++--
 src/tb/tb_keywrap_mkmif.v | 434 ++++++++++++++++++++++++++++++++++++++++++++
 src/tech/README.md        |  14 ++
 toolruns/Makefile         |  21 ++-
 9 files changed, 1218 insertions(+), 102 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 src/rtl/keywrap_mkmif.v
 create mode 100644 src/tb/tb_keywrap_mkmif.v
 create mode 100644 src/tech/README.md



More information about the Commits mailing list