aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-08-15Fix some misleading messages, and enable all tests.Paul Selkirk
2018-07-24Added explicit width specification for constant to silence truncation warning.support_HAL_KS_WRAPPED_KEYSIZEJoachim Strömbergson
2018-07-06(1) Updated version to reflect status. (2) Minor fix after running sim in ↵Joachim Strömbergson
ModelSim.
2018-07-06Adding test case for 4096 bit unwrap. Testcase passed! We have unwrap.Joachim Strömbergson
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-05Fixed minor details in unwrap test case. Enabled unwrap test case.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.
2018-07-05Adding unwrap test case.Joachim Strömbergson
2018-07-05Adding wrap test case with 4096 bit plaintext from NIST. Test result matches ↵Joachim Strömbergson
model.
2018-07-05Removed a few states and a few cycles.Joachim Strömbergson
2018-07-05Adding tool to generate write commands.Joachim Strömbergson
2018-07-05Adding testcase for wrapping 4096 bit data.Joachim Strömbergson
2018-07-05We haz keywrap! Time to add more testcases and make them self testing. Oh ↵Joachim Strömbergson
and implement unwrap.
2018-07-05Debugged keywrap processing including A update. All AES operations works ↵Joachim Strömbergson
correctly. Now we just need to stop processing whe we should.
2018-07-05Fixed memory word order. Fixed a number of bugs. First block encrypted ↵Joachim Strömbergson
correctly. A state is wrong and memory is read too far.
2018-07-05Removed the streaming interface in favor of a normal address based ↵Joachim Strömbergson
interface. A bit more kludgy, esp since we need to use bank switching to be able to provide enough address space. But this removes a possible problem of the streaming address counter running wild.
2018-07-03Adding more dump outputs. wrap does not yet work, but one can see when ↵Joachim Strömbergson
things go bad and where the isssues are.
2018-07-03Good news: The core peformcs all AES operations and stops after correct ↵Joachim Strömbergson
number of operations. Bad news: All values are wrong.
2018-07-03Debugged a lot of minor errors and added a lot of debug functions. Things ↵Joachim Strömbergson
are starting to work. As in AES is actually initialized and used.
2018-07-03Add support to dump contents of memory to check that data has been written ↵Joachim Strömbergson
correctly.
2018-07-03Added test case with vectors from NIST KWP AE. Test fails. But at least it ↵Joachim Strömbergson
doesn't hang. Now for some bug hunting.
2018-07-03Adding a lot of verbose output to get the internal values we need.Joachim Strömbergson
2018-07-03Focusing on a single NIST KWP test case that is non-trivial.Joachim Strömbergson
2018-07-03Adding additional test code to verify that core read-modify-write and api ↵Joachim Strömbergson
rread works correctly.
2018-07-03Added first tasks to test api write and core read. Everything works as expected.Joachim Strömbergson
2018-07-01Connected the dut in the core testbench.Joachim Strömbergson
2018-06-29Connected the keymem dut into the testbench.Joachim Strömbergson
2018-06-29Adding more tasks for tb infrastructure.Joachim Strömbergson
2018-06-29Adding dut to top level testbench. Adding API definitions. Adding tasks to ↵Joachim Strömbergson
read and write words from and to the dut API.
2018-06-29Fixed nits found during linting.Joachim Strömbergson
2018-06-29Fixed bugs in the API decoding logic.Joachim Strömbergson
2018-06-29Completed first version of core that should have all functionality needed to ↵Joachim Strömbergson
do key wrap.
2018-06-29Changed name in API for A words to clarify their meaning. Corrected case ↵Joachim Strömbergson
order in API logic.
2018-06-29Starting to add verbose debug print statements to get internal values during ↵Joachim Strömbergson
processing. This includes breaking up code statements.
2018-06-29Added test vectors from NISTs set of vectors for SP800-38F KWP. Added header ↵Joachim Strömbergson
with short description and copyright, license used in Cryptech.
2018-06-29Removed old keywrap model. We have a new, working model to destroy.Joachim Strömbergson
2018-06-29Adding working keywrap python model by Rob Austein.Joachim Strömbergson
2018-06-29Fixed magical capitalizations.Joachim Strömbergson
2018-06-28Adding a lot of functionality. Starting to get everthing in place.Joachim Strömbergson
2018-06-28A lot of cleanup of interconnections between cores and hierarchy. Fixed a ↵Joachim Strömbergson
number of nits and bugs. Added address generator for the API.
2018-06-28Interface debugging.Joachim Strömbergson