Skip to content

Conversation

@pamaury
Copy link
Contributor

@pamaury pamaury commented Jan 1, 2026

Backport #26594. Depends on #28992. Only review the last 2 commits.

1. Consolidate public key data into `owner_keydata_t`.
2. Eliminate RSA as a supported algorithm.

Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit f785f1b)
Refactor the ROM_EXT signature verification functions into a verify
function that can be used both for validating application payloads and
ownership operations.

Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit 28a96b5)
This target is a left-over from pre-ownership RSA verification and is no
longer needed.

Signed-off-by: Chris Frantz <cfrantz@google.com>
(cherry picked from commit 81f7aac)
@pamaury pamaury requested a review from a team as a code owner January 1, 2026 21:00
@pamaury pamaury requested review from cfrantz, jwnrt and moidx and removed request for a team January 1, 2026 21:00
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)
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