Skip to content

Conversation

@lowrisc-ci
Copy link

@lowrisc-ci lowrisc-ci bot commented Nov 6, 2025

This is an automatic cherry-pick of #28655 to branch earlgrey_1.0.0.

The wycheproof testvector seem to have a leading 0. This means
that a 512-byte modulo for RSA-4096 is actually 513-byte.
Currently, the test framework fails because it expects a 512-byte
value. Remove this leading 0.

Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit e134cd0)
Some tests in the wycheproof test vector set are error tests. In one
of these error tests, a larger signature (514 instead of 512-bytes) is
sent to the DUT. However, we currently limit the signature payload to 512-
bytes, letting the test fail.

The solution to this is simple, increase the max. number of signature bytes
to 512-bytes. The CL now gets this 514-byte signature and internally fails,
as expected by the test.

Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit 9ab2711)
@lowrisc-ci lowrisc-ci bot requested review from a team as code owners November 6, 2025 07:22
@lowrisc-ci lowrisc-ci bot requested review from engdoreis and jwnrt and removed request for a team November 6, 2025 07:22
@nasahlpa nasahlpa merged commit 5ba837c into earlgrey_1.0.0 Nov 6, 2025
66 of 67 checks passed
@nasahlpa nasahlpa deleted the backport-28655-to-earlgrey_1.0.0 branch November 6, 2025 13:17
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