Skip to content

Commit

Permalink
[rom_ctrl,doc] Add an outbound link to theory_of_operation.md
Browse files Browse the repository at this point in the history
This document is actually linked a couple of sentences earlier but I
just got a little surprised about things when reading the text. This
should make things a bit clearer.

Signed-off-by: Rupert Swarbrick <[email protected]>
  • Loading branch information
rswarbrick committed Feb 12, 2025
1 parent f379988 commit 0541d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/ip/rom_ctrl/doc/theory_of_operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ This 256-bit digest will be incorporated into the [`CreatorRootKey`](../../../..
The key manager should only allow one transaction (of 256 bits / 32 bits = 8 beats) after reset to pass this information across.
On future messages, it should raise an alert, defeating an attacker that tries to trigger extra transactions before or after the real one.

`CreatorRootKey` forms the first key in the chain described in Identities and Root Keys.
`CreatorRootKey` forms the first key in the chain described in [Identities and Root Keys](../../../../doc/security/specs/identities_and_root_keys/README.md).
An attacker who modifies the ROM will perturb `CreatorRootKey` (to avoid doing so would require a preimage attack on the ROM checksum calculation or the `KM_DERIVE` function).
The result is that, while the chip will function, it will have the "wrong" root key and the chain of trust used for attestation will be broken.

Expand Down

0 comments on commit 0541d73

Please sign in to comment.