aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/keywrap_core.v
AgeCommit message (Collapse)Author
2018-09-14Adding support for automatic A-value and RLEN calculation. Adding support ↵auto_magicJoachim Strömbergson
for checking that unwrapped data is valid.
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-07-24Added explicit width specification for constant to silence truncation warning.support_HAL_KS_WRAPPED_KEYSIZEJoachim 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-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-05Removed a few states and a few cycles.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-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-06-29Fixed nits found during linting.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-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
2018-06-28Updated top level wrapper to better match the planned API. Updated core ↵Joachim Strömbergson
interface. Connected core into the top level wrapper.
2018-06-26Adding more functionality in the core. Updated Makefile to build and ↵Joachim Strömbergson
simulate with the AES core. Minor update to header and README. Clarified that it is RFC 5649 we are implementing.
2018-06-22(1) Added initial version of keywrap_core which will implement the actual ↵Joachim Strömbergson
wrapping using aes_core and the keywrap_mem. (2) Minor cleanup to the keywrap_mem code.