Skip to content

Commit c5ae6fd

Browse files
committed
[ot] hw/opentitan: ot_lc_ctrl: make constant configurable at runtime
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
1 parent 532b29a commit c5ae6fd

File tree

3 files changed

+163
-85
lines changed

3 files changed

+163
-85
lines changed

docs/opentitan/otcfg.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Such configuration parameters are - but not limited to -:
77
* Keys
88
* Nonces
99
* Seeds
10+
* Tokens
1011
* ...
1112

1213
It is possible to load a selected list of configuration parameters from a QEMU configuration file
@@ -88,3 +89,11 @@ where `<romid>` is the ROM identifier as documented [here](rom_ctrl.md#romid)
8889
Here, `digest_const` is expected to match the `--constant` argument of the [otptool.py](otptool.md)
8990
tool, whereas `digest_iv` is expected to match its `--iv` argument. Should those values differ,
9091
OpenTitan OTP controller would fail to verify the OTP partition digests.
92+
93+
### Life-Cycle controller [lifecyle]
94+
95+
```ini
96+
[ot_device "ot-lc_ctrl"]
97+
# 128-bit token
98+
raw_unlock_token = "ffeeddccbbaa99887766554433221100"
99+
```

0 commit comments

Comments
 (0)