aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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-10-23Hardened the keywrap API to not allow reads or writes when the core is busy.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
2018-09-18Adding more functionality needed for the mkm integration.Joachim Strömbergson
2018-09-18Increasing control state reg to support more states. Adding first states for ↵Joachim Strömbergson
read and write key handling.
2018-09-18Adding API control bits to read and write key.Joachim Strömbergson
2018-09-18Moved compile time debug access control of key to the API. Added correct ↵Joachim Strömbergson
code to mux key.
2018-09-18Moved the mkmif instance into the core itself. Added API to read the key if ↵Joachim Strömbergson
DEBUG is set.
2018-09-14Adding instatiation of the mkmif in the keywrap top level wrapper. Updated ↵Joachim Strömbergson
testbench anf Makefile to build with instantiated mkmif. The mkmif is not yet used by the keywrap.
2018-09-04Updated rtl and tb to support parameterized memory size.Joachim Strömbergson
2018-08-24We probably want to be able to read data too.Joachim Strömbergson
2018-08-24Killed the bank switching.Joachim Strömbergson
2018-08-24Performed Verilog parameter magic to make the design scaleable in terms of ↵Joachim Strömbergson
capacity. Does not yet work, but at least the linter is fairly happy.
2018-08-23Adding top level defines for setting size and address bits.Joachim Strömbergson
2018-08-16Adding delay cycle to API regs to match the latency for accessing the ↵Joachim Strömbergson
blockRAM. Added test case that checks access to the API regs.
2018-07-24Added explicit width specification for constant to silence truncation warning.Joachim Strömbergson
2018-07-06(1) Updated version to reflect status. (2) Minor fix after running sim in ↵Joachim Strömbergson
ModelSim.
2018-07-06Debugged key unwrap. First testcase for unwerap passed. Added some more ↵Joachim Strömbergson
debug outputs.
2018-07-06(1) Fixed dump of core_addr in testbench to actually show the core_addr. ↵Joachim Strömbergson
Fixed boundaries for the block counter. Now we don't read mem out of bounds.
2018-07-05Adding wait state to allow access from memory to complete. Should be ↵Joachim Strömbergson
possible to optimize.
2018-07-05Fixing block counter init bug. Enabling detailed debugging. Fixing minor nits.Joachim Strömbergson
2018-07-05Updated keywrap logic to support unwrap. Split state to handle next start in ↵Joachim Strömbergson
both wrap and unwrap cases.
2018-07-05Adding state and counter functionality to support unwrap. Changed name of ↵Joachim Strömbergson
define to something more comprehensible.