Here is simulation showing brief cycles where Controller is able to go through the process of loading both Key, AD (in this case AD is empty so it is padded with zero's), and begins to load Nonce. I verified through the Simulation that the Data is being loaded into the registers in a successful manner. And I verified that the values within the register and the corresponding tag and ciphertext output for the encryption operation was correct with the supplied python Romulus N file. However, the simulation shows an error in the Tcl Console where the expected Data output is not matched. My theory on this is that the Romulus N KAT files that were generated with cryptotvgen must have some parameters that I did not assume or for some reason is wrong. If that is not the case than I am very much perplexed as to why this is not working properly.
First run at the issue will probably be a process of going through the cryptotvgen process and generate new test files, but this time make the order in which the test data is loaded one that very clearly matches what I expected in the LWC HW Manual.
Here is simulation showing brief cycles where Controller is able to go through the process of loading both Key, AD (in this case AD is empty so it is padded with zero's), and begins to load Nonce. I verified through the Simulation that the Data is being loaded into the registers in a successful manner. And I verified that the values within the register and the corresponding tag and ciphertext output for the encryption operation was correct with the supplied python Romulus N file. However, the simulation shows an error in the Tcl Console where the expected Data output is not matched. My theory on this is that the Romulus N KAT files that were generated with cryptotvgen must have some parameters that I did not assume or for some reason is wrong. If that is not the case than I am very much perplexed as to why this is not working properly.
First run at the issue will probably be a process of going through the cryptotvgen process and generate new test files, but this time make the order in which the test data is loaded one that very clearly matches what I expected in the LWC HW Manual.