Skip to content

Conversation

@pamaury
Copy link
Contributor

@pamaury pamaury commented Jan 5, 2026

Backport #26620. Depends on #29018, only review the last 3 commits.

@pamaury pamaury requested review from a team as code owners January 5, 2026 10:18
@pamaury pamaury requested review from cfrantz and timothytrippel and removed request for a team January 5, 2026 10:18
@pamaury pamaury requested a review from jwnrt January 6, 2026 14:54
Allow using detached signatures in flash for owner operations.
1. A detached signature is detected when the 64-byte built-in ECDSA
   signature field is all zeros.
2. The entire flash DATA region is scanned for a detached signature.
   The signature must be aligned on a flash page boundary and must
   contain the command/entity that it is signing and the current ROM_EXT
   nonce.

Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit 284716b)
The auxilliary ECDSA wrapper library was added at the start of ownership
development because we had not yet created our own implmentation using the
OTBN accelerator.  Now that owner signature verification is consolidated
into `owner_verify`, we no longer need the ECDSA wrapper library.

Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit 4d44b10)
A loop variable of type `size_t` was being passed to `launder32` which
accepts `uint32_t`.

Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit 0ebf7b9)
There was a potential out-of-bounds access when receiving an xmodem
frame.  Check that the buffer has enough space to receive the next
frame.

Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit 96c9af6)
Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit 849f9b7)
Copy link
Contributor

@jwnrt jwnrt left a comment

Choose a reason for hiding this comment

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

Last three commits LGTM

@pamaury pamaury added this pull request to the merge queue Jan 7, 2026
Merged via the queue into lowRISC:master with commit 1116072 Jan 7, 2026
78 of 80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants