6.5.12 · D3Advanced & Emerging Architectures

Worked examples — Open hardware ecosystem (OpenRISC, OpenTitan)

2,418 words11 min readBack to topic

The scenario matrix

Before any calculation, let's list every distinct case-class this topic contains. Each worked example below is tagged with the cell it fills.

# Case class What makes it different Example
A Fixed-width code size (normal) plain byte count Ex 1
B Code size — zero / degenerate , or one instruction Ex 2
C Address ↔ count inversion given last address, find Ex 3
D Hash security — birthday bound collision effort Ex 4
E Hash — preimage vs collision (which attack?) vs , the trap Ex 5
F Signature vs hash — authenticity gap word problem, attacker swaps both Ex 6
G Chain of trust — broken link (limiting/failure case) one stage fails verify Ex 7
H Fuse / OTP — irreversibility edge case can't un-burn a bit Ex 8
I "Open" layers — exam twist which layer is actually open? Ex 9

A vector angle problem has four quadrants; this topic has these nine cells. We hit all nine.


Cell A — code size, the normal case


Cell B — the zero and degenerate cases


Cell C — inverting the relation


Cell D — birthday bound, the collision case

Figure — Open hardware ecosystem (OpenRISC, OpenTitan)

Cell E — preimage vs collision (the trap)


Cell F — the authenticity gap (word problem)


Figure — Open hardware ecosystem (OpenRISC, OpenTitan)

Cell H — fuse irreversibility (edge case)


Cell I — which layer is open? (exam twist)


Recall Quick self-test

Bytes for 32-bit instructions ::: bytes (next free ). Instructions if last is at ::: (index , plus one for 0-indexing). Collision effort for a 128-bit hash ::: . Second-preimage effort for SHA-256 ::: , not . Why does a hash alone fail secure boot ::: integrity but no authenticity — attacker rewrites image and its stored hash. Can an eFuse go ::: No — burns are one-way; only is possible, giving anti-rollback. Does an open ISA make a chip open hardware ::: No — the RTL/layout must be open; ISA is only a spec.


Parent: Open hardware ecosystem (OpenRISC, OpenTitan) (index 6.5.12)