Skip to content

[otbn/tvla] Add ml-dsa tvla and fi tests - #31102

Merged
siemen11 merged 3 commits into
lowRISC:masterfrom
siemen11:otbn_tvla_mldsa
Aug 27, 2026
Merged

[otbn/tvla] Add ml-dsa tvla and fi tests#31102
siemen11 merged 3 commits into
lowRISC:masterfrom
siemen11:otbn_tvla_mldsa

Conversation

@siemen11

@siemen11 siemen11 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Add simulation tvla and fi tests for mldsa sign and keygen.

After the new Bivium RNG, update the manner at which URND is used in the
tvla and fi simulation testing (include it to work for single trace
reference runs and handle reseed_done).
Also add the mai as dependency in otbnsim and include wfi handling.

Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
Add simulation tvla tests for mldsa sign and keygen.

Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
@siemen11 siemen11 changed the title [otbn/tvla] Add ml-dsa tvla tests [otbn/tvla] Add ml-dsa tvla and fi tests Aug 26, 2026
Add collision tests for instruction skip simulations for ml-dsa sign and
verify.

Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
@siemen11
siemen11 marked this pull request as ready for review August 27, 2026 07:30
@siemen11
siemen11 requested a review from a team as a code owner August 27, 2026 07:30
@siemen11
siemen11 requested review from rswarbrick and removed request for a team August 27, 2026 07:30

@andrea-caforio andrea-caforio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go! Thank you @siemen11.

@siemen11

Copy link
Copy Markdown
Contributor Author

Ok the fi campaign of the sign is still too slow, need to optimize that still

@andrea-caforio

Copy link
Copy Markdown
Contributor

Ok the fi campaign of the sign is still too slow, need to optimize that still

How many rejection loops are executed for your sign input? Would an input that only executes one loop work?

@siemen11

Copy link
Copy Markdown
Contributor Author

Ok the fi campaign of the sign is still too slow, need to optimize that still

How many rejection loops are executed for your sign input? Would an input that only executes one loop work?

Many it seems because we are making a toy version of the ml-dsa, I will use it in abridged mode :D thanks!

@rswarbrick
rswarbrick removed their request for review August 27, 2026 09:18
@siemen11
siemen11 added this pull request to the merge queue Aug 27, 2026
Merged via the queue into lowRISC:master with commit e9053b2 Aug 27, 2026
62 of 66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants