Conversation
Contributor
Author
|
siemen11
force-pushed
the
otbn_masked_sha256
branch
from
September 5, 2026 10:36
2ed82ed to
78f1377
Compare
siemen11
force-pushed
the
otbn_masked_sha256
branch
2 times, most recently
from
September 17, 2026 14:43
5e6da8a to
277b849
Compare
siemen11
force-pushed
the
otbn_masked_sha256
branch
from
September 17, 2026 18:06
277b849 to
424f83b
Compare
siemen11
force-pushed
the
otbn_masked_sha256
branch
from
September 17, 2026 19:43
424f83b to
4bf34fa
Compare
Contributor
Author
|
Algorithm │ Cycles (N=1 ) │ IMEM │ DMEM HKDF-SHA256 │ 151,250 │ 2,392 B │ 1,824 B |
andrea-caforio
left a comment
Contributor
There was a problem hiding this comment.
This is great @siemen11. I've not yet looked at HDKF but will do ASAP.
| * and register wiping with MAI execution. | ||
| * Computes (w0, w1) = (w0, w1) + (w2, w3) mod 2^64 across 4 64-bit lanes. | ||
| */ | ||
| sec_add64: |
Contributor
There was a problem hiding this comment.
Holy moly...the monster gadget...haha!
siemen11
force-pushed
the
otbn_masked_sha256
branch
2 times, most recently
from
September 18, 2026 07:58
fc51e3e to
15c0413
Compare
siemen11
requested review from
timothytrippel
and removed request for
a team and
timothytrippel
September 18, 2026 10:48
siemen11
force-pushed
the
otbn_masked_sha256
branch
3 times, most recently
from
September 20, 2026 09:46
f9f0b5a to
36c59bb
Compare
siemen11
commented
Sep 20, 2026
| @@ -141,6 +143,53 @@ sec_add_8x32: | |||
|
|
|||
| ret | |||
|
|
|||
| /** | |||
Contributor
Author
There was a problem hiding this comment.
Note that if we pull in this isw and, we also pull in all the other gadgets from this file thus increasing IMEM
Use the MAI to create SHA2 maskings on OTBN. Add tvla sim tests for them. Also connect them to the c interface and add a functest. Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
Also add tvla sim tests for them. Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
siemen11
force-pushed
the
otbn_masked_sha256
branch
from
September 20, 2026 10:51
36c59bb to
cd6bb1d
Compare
Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add masked SHA2 OTBN binaries and create TVLA scripts for their simulated security