aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-29Finally got integrate_mkmif working.HEADmasterPaul Selkirk
Wired up mkey_key to allow the user to specify which key to use (MKM or user-provided key). Wired up mkm_wr_status so we can actually write the status word to MKM. Removed the reset initialization of mkmif_core, since that has its own auto-initialization. I might want to remove init as an input to keywrap_mkmif. Fixed a FSM state-transition write-enable, so it would actually transition states. Changed a 3-bit counter to 4 bits, so it can actually count to 8. And removed several bits of non-functional junk.
2020-03-31Merge branch 'integrate_mkmif' to masterPaul Selkirk
2020-03-25Move keywrap from user/js to core/util.Paul Selkirk
Also remove the auto_zeroise code, since that's behaving badly, and it's not used anyway in the integrate_mkmif branch.
2019-01-29Updated README to current status. Added section about the auto zeroise ↵Joachim Strömbergson
functionality that has been merged. Moved sections around to be in a (hopefully) more pedagogical order.
2019-01-17Added non-zero default timeout value in core. This fixes the keywrap ↵Joachim Strömbergson
problems by not automatically reset the key in the API. Enabled all testcases and disabled excessive debug outputs.
2019-01-17Debugging keywrap after auto_zeroise. Now the core starts processing as ↵Joachim Strömbergson
expected.
2019-01-17Adding key timeout output port to allow core to inform the top level wrapper ↵Joachim Strömbergson
that timeout has occured. Added functionality to zeroise API key registers when timout has happened. Updated all auto_zeroise test cases to check that API key registers are properly zeroised.
2019-01-11Add testcase that verifies forced zeroisation.Joachim Strömbergson
2019-01-11Adding test case that verifies that SW can keep a key alive by reading ↵Joachim Strömbergson
status register.
2019-01-11Fixed parameterized widths.Joachim Strömbergson
2019-01-08Adding the same API hardening to keywrap as implemented for other cores ↵Joachim Strömbergson
after the Cryptech audit.
2018-12-20valid should not be set from reset. There is no valid data.Joachim Strömbergson
2018-12-20Cleaned up and made auto zeroise test case 1 self-testing:Joachim Strömbergson
2018-12-14Splitted the auto-zeroise test case into three separate tests.Joachim Strömbergson
2018-12-13Fixed some bugs in auto-zeroise functionality. Now it really zeroises key ↵Joachim Strömbergson
automatically. It seems to work, but needs a bit more testing.
2018-12-11Zeroisation of wrapper key registers. Adding reset of key_loaded register.Joachim Strömbergson
2018-12-11Adding test case for auto_zeroise. Can see that a loaded key gets wiped ↵Joachim Strömbergson
after timeout. Status bits looks fishy though.
2018-12-09Adding support for SW to keep loaded key alive by reading status. Adding ↵Joachim Strömbergson
support for SW to trigger zeroisation of a loaded key.
2018-12-07Adding a more sane default timeout value.Joachim Strömbergson
2018-12-07Adding untested code to implement timer controlled automatic zeroisation of ↵Joachim Strömbergson
key loaded into the aes core.
2018-12-07Adding API support for key loaded status and key timeout control. Added ↵Joachim Strömbergson
ports in the core to support key status and timeout. Updated core testbench to match the new interface.
2018-12-07Solved event loop.Joachim Strömbergson
2018-11-27Adding test that tries to write a key into the serial memory.Joachim Strömbergson
2018-11-27Adding check that correct status word was written into the serial memory.Joachim Strömbergson
2018-11-23Added ability observe mkmif state. Realized that the write operation handler ↵Joachim Strömbergson
was under read operation handling. Fixed this and now status write works. We can observe 0xdeadbeef in the memory after status write operation.
2018-11-23Updated display of states. We can now observe correct init of the memory.Joachim Strömbergson
2018-11-23Adding task to dump parts of the contents of the serial memory.Joachim Strömbergson
2018-11-23Added observation of mem internal control states.Joachim Strömbergson
2018-11-23Enabled spi observation and can see that SPI interface is alive when pulling ↵Joachim Strömbergson
init.
2018-11-23Adding test case for mem init. Removing auto-load test case since the dut ↵Joachim Strömbergson
does not support auto load. Updating the write status test case to use wait_ready() for dut status.
2018-11-23Adding vendor mem model.Joachim Strömbergson
2018-11-22Adding outputs to observe dut API. Adding support in Makefile for using the ↵Joachim Strömbergson
vendor supplied memory model.
2018-11-13Adding README that describes the purpose of the dir and how to get the ↵Joachim Strömbergson
vendor specific memory model we need here.
2018-11-06Fixed incorrect address used for the key. Added testcase to verify reading ↵Joachim Strömbergson
of status word.
2018-11-06Trigger read operation when we should read.Joachim Strömbergson
2018-11-06Adding test case to observe auto-load of key and status after reset.Joachim Strömbergson
2018-10-30Integrated the DUT into the testbench and update Makefile to build the sim ↵Joachim Strömbergson
target-
2018-10-23Hardened the keywrap API to not allow reads or writes when the core is busy.Joachim Strömbergson
2018-09-28Adding initial version of testbench for the mkmif wrapper.Joachim Strömbergson
2018-09-28Completed syntax debug after integration of new mkmif_core wrapper.Joachim Strömbergson
2018-09-28Integrated new mkmif_core wrapper.Joachim Strömbergson
2018-09-28Some whitespace cleanup.Joachim Strömbergson
2018-09-28Completed the functionality that should be in the wrapper. Now its just ↵Joachim Strömbergson
debugging...
2018-09-28Got all states needed. Added hold registers for address and data to be written.Joachim Strömbergson
2018-09-28Adding initial version of mkmif wrapper used by keywrap_core to hide ↵Joachim Strömbergson
protocol complexity.
2018-09-25Added logic to perform status word read operation from the mkm. Adding ↵Joachim Strömbergson
interfaces and registers to be able to pass mkm status to host. Updated dut instantiation in core testbench to.
2018-09-25Updated the keywrap API to support access to MKM status. Updated ↵Joachim Strömbergson
keywrap_core to support control of MKM access operations.
2018-09-25Increased control state space to make room for read and write operations.Joachim Strömbergson
2018-09-25Integrate the mkmif_core instead of the mkmif wrapper.Joachim Strömbergson
2018-09-21Adding more infrastructure needed for the integrated mkm.Joachim Strömbergson