-
Notifications
You must be signed in to change notification settings - Fork 830
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
[hmac+prim_sha2,rtl] Add RTL for SHA-2 prim and its instantiation in HMAC (256-bit) #21107
Conversation
This adds the RTL implementation for the merged SHA-2 prim that can be configured at compile-time as either multi-mode or 256-bit. The RTL includes the 32-bit word input wrapper prim_sha2_32 that instantiates the prim_sha2. This also fixes many coding style issues that were in the original HMAC IP RTL, and updates the relevant prim core files. This also updates the lint waivers and RTL fixes, to pass AscentLint linting. Signed-off-by: Ghada Dessouky <gdessouky@google.com>
This updates the HMAC RTL to use the SHA-2 256 prim instantiation as well as the core file. This also adds fixes the HMAC RTL and updates the linting waiver to pass AscentLint. Signed-off-by: Ghada Dessouky <gdessouky@google.com>
This updates the list of coverage exclusions after running UNR analysis for HMAC when it instantiates the SHA-2 primitive. Signed-off-by: Ghada Dessouky <gdessouky@google.com>
This adds the synthesis configuration files and modifies the core to support test synthesis for area estimates in kGE. Signed-off-by: Ghada Dessouky <gdessouky@google.com>
This makes minor styling fixes and RTL changes to fix 2 AscentLint warnings and avoid waivers for them. Signed-off-by: Ghada Dessouky <gdessouky@google.com>
The SHA2 moved to a prim that is already instantiated in the HMAC core Signed-off-by: Robert Schilling <rschilling@rivosinc.com>
Signed-off-by: Robert Schilling <rschilling@rivosinc.com>
Results look good after running the nightly regression locally: Test Results
Coverage ResultsCoverage Dashboard
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - @andreaskurth or @vogelpi please merge if it looks good to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, LGTM. Thanks @gdessouky!
This PR cherry-picks a bunch of merged commits from the
integrated_dev
branch into themaster
branch to:prim_sha2
implementationThis will update HMAC and prim_sha2 in
master
to match the state inintegrated_dev
and allow upcoming commits to extend the digest width to 384/512-bit.