-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kmac] D2S Signoff #20978
Comments
Commits since Earlgrey-ES tapeout
15f75fa [kmac, sha3] Add REQ/ACK interface to delay Keccak operations Issues closed since the Earlgrey-ES tapeoutDD & DV
Doc
SW
SiVal / Chip-level tests
Misc
Currently open issuesDD / DV
DV
Doc
SiVal / Chip-level tests
Misc
SummarySince Earlgrey-M2.5.2-RC0, there have been two notable RTL changes to KMAC (besides some minor bug fixes):
For M3, there three minor security improvements outstanding (see open issues). But none of this is going to be a major change. Thus, I am still in favor of declaring D2S (the block was D2S before) but I'd also be okay to go to D2 first. PLMK @msfschaffner , @andreaskurth . |
I agree that D2S is still fulfilled. I reviewed the following commits, which change
The main RTL changes are in the following PRs:
The first three PRs have been thoroughly reviewed, resulting in approval by multiple committers. I scanned the changes again and did not notice problems that would prevent D2S sign-off in my view. The bottom two PRs have not been scrutinized to the same degree, so I reviewed them again in detail and didn't find problems there either. With the security evaluation done as part of #21624, we should be able to maintain the maturity level of the countermeasures. Thus I think we should proceed with signing KMAC off at D2S. |
I justed noticed that KMAC is still at D2S and didn't have its version number increased: opentitan/hw/ip/kmac/data/kmac.hjson Lines 27 to 32 in 95d1385
Given the PRNG reworking, the type change of the |
As just discussed in the WG meeting, @msfschaffner recommends a major version bump due to the SW-visible interface change (interrupt type), and I agree. I created PR #21982 to do this. |
Speaking of SW-visible interface, I've now realized that already the PRNG change (#21624) was software visible because KMAC features a way for SW to reseed the PRNG initially. Since the state size of the PRNG changed, the number of words to be written needed to be changed and to streamline things, I've switched from 5 registers written once each to 1 register written 9 times. So, the major version bump definitely makes sense to me. |
Description
Ensure D2S signoff criteria are fulfilled after focus area changes have landed.
The text was updated successfully, but these errors were encountered: